-
Notifications
You must be signed in to change notification settings - Fork 572
Python3 + PyQt6 port for Debian derived Linux #2227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
TLS is disabled
Unresolved problems: * File->Quit menu does not work. * Validator in add chan dialog does not work.
Remained works: * Objects are not saved. * Decryption does not work. * Can not shutdown.
Messages can be received and viewed now. Remained problems: * Message sending is not working yet.
It seems that one to one messaging using pubkey retrieving is not working yet.
Now getpubkey and one-to-one messaging works.
Updated: One-to-one messaging involving getpubkey works now. |
I appreciate your enthusiasm. However may I recommend focusing on the tests, and leaving Qt for later? There have been attempts to do a quick and dirty port to python3, but they all had code quality problems. |
I don't care what GUI toolkit you choose finally at all. I choose PyQt6 merely because PyBitmessage is using PyQt4 for long time. There is no other good reason. I have no love in Python nor Qt, but I love Bitmessage :) I will continue fixing remained problems and code quality of my pull request as long as my motivation is retained. |
Since I am not a Python programmer, I struggled to adapt my code to your validators whole the last night, and finally totally failed. Finally, I found a tool named 'black'. |
* deterministic_keys() now accepts both str and bytes for passphrase. * The test for RandomTrackingDict is modified to use bytes for random keys.
The error is fixed by making stderr binary mode.
It's too late, but I found a tool to abstract away Qt versions: |
I have switched to use Qt.py in #2250 . |
Managed to work with Python3 + PyQt6 for Debian derived Linux.
Runnable with start.sh .
Currently, one to one messaging with randomly generated address is not working.
It requires some more work and test.
Messaging by chan, broadcast, deterministic generated address is working.
Although, this is far from perfect, this may be worth for porting to Python3, since this is a working example.