Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
py2app ValueError
#1
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.
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  py2app deployment version Rubberduck 0 1,735 May-14-2021, 05:35 PM
Last Post: Rubberduck

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020