error on startup: invalid literal for int() with base 10: 'icons'

Reported by Adam Dingle on 2013-05-14
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
uPdf
Undecided
Unassigned

Bug Description

I'm running Ubuntu 13.10 (Saucy). I downloaded updf from bzr, built and installed. When I run it dies on startup with this error:

ValueError: invalid literal for int() with base 10: 'icons'

ValHue (valhue) wrote :

ArchLinux x64, installed updf from bzr:

Traceback (most recent call last):
  File "/usr/bin/updf", line 36, in <module>
    main()
  File "/usr/share/updf/updf.py", line 994, in main
    main_without_splash_screen()
  File "/usr/share/updf/updf.py", line 1002, in main_without_splash_screen
    uPDF = UPDF()
  File "/usr/share/updf/updf.py", line 238, in __init__
    toolbar.set_property("toolbar_style",'icons')
ValueError: invalid literal for int() with base 10: 'icons'

Odin Hørthe Omdal (velmont) wrote :

Open /usr/share/updf/updf.py as root and search for 'toolbar_style'.
Comment out those two lines you find by putting a "#" in front (they are in different locations):

# toolbar.set_property("toolbar_style",'icons')
# toolbar2.set_property("toolbar_style",'icons')

That will make it work again.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers