Please update PyInstaller (Windows)
I'm running into a bug found in an old version of PyInstaller when, on Windows, I attempt to import CherryPy. It is exactly the same bug as in http://www.pyinstaller.org/ticket/523. According to that, and https://groups.google.com/forum/#!topic/pyinstaller/r2pjOVOefXM this bug was fixed in mid-2012.
Please consider using a recent PyInstaller to generate Anki.exe for Windows users. I know getting add-ons that use very specific Python packages to work is not a huge bug to fix but I'm hoping you're very close to upgrading PyInstaller and this will tip the scales :)
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by Damien Elmes on 27 Aug, 2014 11:43 PM
I'm afraid I can't update this in a point release due to the risk of regressions, but will look into it in a future development round. In the mean time you're best bet is probably to modify the copy of cherrypy you're bundling to remove the py3k part.
2 Posted by wuzzyview on 28 Aug, 2014 05:54 AM
Thanks for looking into it Damien! I did hack my system install of CherryPy
(which I got Anki to see by appending my system's site-packages directory
to Anki's sys.path) to use if/else instead of try/except, without thinking
to just bundle a copy of CherryPy in the add-ons folder. Excellent idea!
Support Staff 3 Posted by Damien Elmes on 28 Aug, 2014 09:49 AM
Happy hacking :-)
Support Staff 4 Posted by Soren Bjornstad on 28 Sep, 2014 07:31 PM
This ticket has been automatically closed due to inactivity. If you are still having issues or need to continue this discussion, please feel free to reply.
If you are not the original poster but are experiencing a similar issue, please create a new thread and include a link to this one if appropriate.
Soren Bjornstad closed this discussion on 28 Sep, 2014 07:31 PM.