-
Notifications
You must be signed in to change notification settings - Fork 40
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
Not quite Python 3 compatible #4
Comments
I ran a basic test and it works for me with Python 3.4. A few questions to try to debug this:
|
Thanks for the quick response. d:\my\py>test.py d:\my\py>dir /s infi Directory of d:\my\py\infi 07/19/2014 01:19 PM .07/19/2014 01:19 PM .. 07/19/2014 01:19 PM systray 05/07/2014 01:15 PM 56 init.py 07/19/2014 01:19 PM pycache 1 File(s) 56 bytes Directory of d:\my\py\infi\systray 07/19/2014 01:19 PM .07/19/2014 01:19 PM .. 05/07/2014 01:15 PM 10,355 traybar.py 05/07/2014 01:15 PM 6,498 win32_adapter.py 05/07/2014 01:15 PM 88 init.py 07/19/2014 01:19 PM pycache 3 File(s) 16,941 bytes Directory of d:\my\py\infi\systray__pycache__ 07/19/2014 01:19 PM .07/19/2014 01:19 PM .. 07/19/2014 01:12 PM 324 init.cpython-33.pyc 1 File(s) 324 bytes Directory of d:\my\py\infi__pycache__ 07/19/2014 01:19 PM .07/19/2014 01:19 PM .. 07/19/2014 01:12 PM 244 init.cpython-33.pyc 1 File(s) 244 bytes
• will try -- sounds like a better idea, overall, to use the Unicode interfaces, would allow non-ASCII characters (unless you still prohibit those, haven't looked at that code yet. |
Finally got time to test the Unicode version. No error with the test program, but hovering made the systray icon disappear. |
I saw the ImportError yesterday, already fixed. |
Alright I was able to reproduce with Python 3.3.5. Will look into it (in the meantime you can try Python 3.4 if you want) |
Looks like it's a thrading problem. Moving _register_class to the message loop thread (or not using threading for the message loop) fixes the issue. But I don't know why... I'm giving up for now, maybe I will look into it later. |
Would be nice if it were. It actually gets as far as displaying the icon in the systray, but dies when you hover... by "dies" I mean something goes wrong, the icon disappears, but not the thread or the python. Must kill it in task manager.
From glancing over the source, it seems likely that it has something to do with Unicode strings, although many seem to get converted to ASCII (and I don't have non-ASCII strings in the menu).
The text was updated successfully, but these errors were encountered: