manipuladordedados / pdiary Goto Github PK
View Code? Open in Web Editor NEWA simple terminal diary journal application written in Python with encryption support.
License: GNU General Public License v3.0
A simple terminal diary journal application written in Python with encryption support.
License: GNU General Public License v3.0
Ubuntu 18.0.4 LTS
When creating a new password and pressing enter, an error shows up.
TypeError: 'kdf_iter' is an invalid keyword argument for this function.
Taking advantage of Github features, move TODO comments into Issues as an easier way for others to contribute.
Removed from line 134 of forms.py
Taking advantage of Github features, move TODO comments into Issues as an easier way for others to contribute.
Removed from line 135 of forms.py
cat 2023-11-14-a-new-poo.txt
a new poo
hello everyone how was it going ?
November 14, 2023%
well i was testing this project its it encrypted how can i read that ? and where the password store how can i reset ?
and also i have slimier project https://gitlab.com/krafi/git-backed-diary
it will be great if i could rewrite another terminal version , bcz i used pyside6 texted on Linux and windows , but with that gui i may also use on android termux
Taking advantage of Github features, move TODO comments into Issues as an easier way for others to contribute.
Removed from line 93 of forms.py
Traceback (most recent call last): File "c:\users\testes\appdata\local\programs\python\python37-32\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\users\testes\appdata\local\programs\python\python37-32\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\testes\AppData\Local\Programs\Python\Python37-32\Scripts\pdiary .exe\__main__.py", line 5, in <module> File "c:\users\testes\appdata\local\programs\python\python37-32\lib\site-packa ges\pdiary\main.py", line 20, in <module> from fcntl import lockf, LOCK_EX, LOCK_NB ModuleNotFoundError: No module named 'fcntl'
When i open pdiary on the windows terminal it causes this error. I'm on win7
Taking advantage of Github features, move TODO comments into Issues as an easier way for others to contribute.
Removed from line 94 of forms.py
Hi @manipuladordedados ,
I was looking for some open source projects to contribute, and came across this while browsing on Code Triage.
I want to contribute but I guess it's been 2 years since the last activity.
I tried running pdiary
and came across errors. I guess some of the dependency packages are not maintained up to Python 3.8.
Here is the error I get:
$ pdiary
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/npyscreen/apNPSApplicationEvents.py", line 16, in get
yield self.interal_queue.pop()
IndexError: pop from an empty deque
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/npyscreen/apNPSApplicationEvents.py", line 18, in get
raise StopIteration
StopIteration
I went to npyscreen/apNPSApplicationEvents.py
and changed line 18 from raise StopIteration
to return
.
Then I am able to run pdiary
a bit. I get the password prompt. Type my password twice, hit Enter. Then it crashes again with the following error:
pdiary
Traceback (most recent call last):
File "/usr/local/bin/pdiary", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/pdiary/main.py", line 37, in main
MyApp.run()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/apNPSApplication.py", line 30, in run
return npyssafewrapper.wrapper(self.__remove_argument_call_main)
File "/usr/local/lib/python3.8/dist-packages/npyscreen/npyssafewrapper.py", line 41, in wrapper
wrapper_no_fork(call_function)
File "/usr/local/lib/python3.8/dist-packages/npyscreen/npyssafewrapper.py", line 97, in wrapper_no_fork
return_code = call_function(_SCREEN)
File "/usr/local/lib/python3.8/dist-packages/npyscreen/apNPSApplication.py", line 25, in __remove_argument_call_main
return self.main()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/apNPSApplicationManaged.py", line 172, in main
self._THISFORM.edit()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/fm_form_edit_loop.py", line 47, in edit
self.edit_loop()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/fm_form_edit_loop.py", line 38, in edit_loop
self._widgets__[self.editw].edit()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/wgwidget.py", line 458, in edit
self._edit_loop()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/wgwidget.py", line 474, in _edit_loop
self.get_and_use_key_press()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/wgwidget.py", line 610, in get_and_use_key_press
self.handle_input(ch)
File "/usr/local/lib/python3.8/dist-packages/npyscreen/wgwidget.py", line 71, in handle_input
self.handlers[_input](_input)
File "/usr/local/lib/python3.8/dist-packages/npyscreen/wgbutton.py", line 99, in h_toggle
self.whenPressed()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/fmActionFormV2.py", line 10, in whenPressed
return self.parent._on_ok()
File "/usr/local/lib/python3.8/dist-packages/npyscreen/fmActionFormV2.py", line 51, in _on_ok
self.editing = self.on_ok()
File "/usr/local/lib/python3.8/dist-packages/pdiary/forms.py", line 236, in on_ok
db = database.dbManager(self.passbox.value)
File "/usr/local/lib/python3.8/dist-packages/pdiary/lib/database.py", line 43, in __init__
db.create_tables([Entry])
File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 3286, in create_tables
model.create_table(**options)
File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 6595, in create_table
cls._schema.create_all(safe, **options)
File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 5731, in create_all
self.create_table(safe, **table_options)
File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 5586, in create_table
self.database.execute(self._create_table(safe=safe, **options))
File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 3112, in execute
return self.execute_sql(sql, params, commit=commit)
File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 3097, in execute_sql
cursor = self.cursor(commit)
File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 3081, in cursor
self.connect()
File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 3035, in connect
self._state.set_connection(self._connect())
File "/usr/local/lib/python3.8/dist-packages/playhouse/sqlcipher_ext.py", line 71, in _connect
conn = sqlcipher.connect(self.database, isolation_level=None, **params)
TypeError: 'kdf_iter' is an invalid keyword argument for this function
Any idea how I can progress? Or should I just abandon the idea of working on this? What other up to date packages can be used instead?
Taking advantage of Github features, move TODO comments into Issues as an easier way for others to contribute.
Removed from line 136 of forms.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.