FS#36934 - [driconf] crashes when started.

Attached to Project: Community Packages
Opened by Jeff Meldrum (jspaces) - Sunday, 15 September 2013, 00:55 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 10 October 2013, 13:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: DRIconf crashes when started.

Additional info: I have attached a patch from upstream bug tracker (http://sourceforge.net/p/driconf/bugs/3/#8dd7) which allows driconf to function normally.

* package version(s)0.9.1

* config and/or log files etc. Default configuration nothing modified.
when started from the command line the error is:
$ driconf
Traceback (most recent call last):
File "/usr/bin/driconf", line 28, in <module>
driconf.main()
File "/usr/lib/driconf/driconf.py", line 142, in main
simpleui.start(configList)
File "/usr/lib/driconf/driconf_simpleui.py", line 869, in start
mainWindow = MainWindow(configList)
File "/usr/lib/driconf/driconf_simpleui.py", line 520, in __init__
self.selectScreen(0)
File "/usr/lib/driconf/driconf_simpleui.py", line 605, in selectScreen
self.selectApp(self.deviceConfig.apps[1])
File "/usr/lib/driconf/driconf_simpleui.py", line 641, in selectApp
self.appPage = AppPage (self.driver, app)
File "/usr/lib/driconf/driconf_simpleui.py", line 347, in __init__
self.refreshOptions()
File "/usr/lib/driconf/driconf_simpleui.py", line 370, in refreshOptions
lineWrap(opt.getDesc([lang]).text), sectI, optI])
File "/usr/lib/driconf/driconf_simpleui.py", line 271, in lineWrap
head, tail = head + tail[:i] + '\n', tail[j:]
UnboundLocalError: local variable 'j' referenced before assignment

Also a very minor additional issue is also present in the driconf.desktop file which needs the icon path to be deleted just leaving the icon name.
To patch: patch -p0 < $srcdir/driconf_simpleui.patch

Steps to reproduce: Run driconf from either the command line and/or select desktop file.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 10 October 2013, 13:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.9.1-10
Comment by Adam Hirst (aphirst) - Thursday, 10 October 2013, 13:03 GMT
Package was updated today, problem still persists.

Loading...