Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37141 - [sk1] python: UnboundLocalError: local variable 'sys' referenced before assignment

Attached to Project: Community Packages
Opened by Sebastián Peyrott (Pse) - Monday, 30 September 2013, 15:42 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 24 October 2013, 10:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
sk1 fails to start with the following traceback:

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/sk1/__init__.py", line 21, in sk1_run
app.main.main()
File "/usr/lib/python2.7/site-packages/sk1/app/main.py", line 150, in main
application = SketchApplication(filename, options.display, options.geometry, run_script = options.run_script)
File "/usr/lib/python2.7/site-packages/sk1/app/skapp.py", line 155, in __init__
TkApplication.__init__(self, screen_name = screen_name, geometry = geometry)
File "/usr/lib/python2.7/site-packages/sk1/app/skapp.py", line 60, in __init__
self.init_tk(screen_name, geometry)
File "/usr/lib/python2.7/site-packages/sk1/app/skapp.py", line 185, in init_tk
TkApplication.init_tk(self, screen_name = screen_name, geometry = geometry)
File "/usr/lib/python2.7/site-packages/sk1/app/skapp.py", line 63, in init_tk
self.root = Tk(screenName = screen_name, baseName = self.tk_basename, className = self.tk_class_name)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1748, in __init__
if not sys.flags.ignore_environment:
UnboundLocalError: local variable 'sys' referenced before assignment

Additional info:
* sk1-0.9.1-11
* python2 2.7.5-2
* Up-to-date Arch x86-64

Steps to reproduce:
1) Install latest sk1 from community stable.
2) Run it.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 24 October 2013, 10:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  in 13th rel

Loading...