Python Forum

Full Version: py2app ValueError
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

i have issue with app on OSX, gui in tkinter and app created with py2app. When i try to run application it won't and i get error.
Error:
File "/Users/user/PycharmProjects/py_app/py_app/dist/py_app.app/Contents/Resources/__boot__.py", line 98, in <module> _run() File "/Users/user/PycharmProjects/py_app/py_app/dist/py_app.app/Contents/Resources/__boot__.py", line 82, in _run exec(compile(source, path, 'exec'), globals(), globals()) File "/Users/user/PycharmProjects/py_app/py_app/dist/py_app.app/Contents/Resources/py_app.py", line 1, in <module> from tkinter import * File "<frozen importlib._bootstrap>", line 969, in _find_and_load File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 664, in _load_unlocked File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible File "tkinter/__init__.pyc", line 35, in <module> ValueError: character U+6573552f is not in range [U+0000; U+10ffff] 2017-06-12 20:54:37.557 py_app[43511:10632764] py_app Error
When i run it in IDE it' s working without a problem so there is something wrong with compiled version. Please give me some direction which can help me to resolve issue (Google and StackOverflow didn't help me.
Solved issue used for used Python3.5.2 must be py2app==0.12 (i have used paramiko and in version >2 didn't work so downgrade to paramiko==1.17 and it works fine).
Please close this thread.