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

Bug #1180103 reported by Adam Dingle on 2013-05-14
This bug affects 7 people
Affects Status Importance Assigned to Milestone

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>
  File "/usr/share/updf/", line 994, in main
  File "/usr/share/updf/", line 1002, in main_without_splash_screen
    uPDF = UPDF()
  File "/usr/share/updf/", line 238, in __init__
ValueError: invalid literal for int() with base 10: 'icons'

Odin Hørthe Omdal (velmont) wrote :

Open /usr/share/updf/ 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.

Ross Reedstrom (reedstrm) wrote :

A better fix (at least, fitting w/ the intent of the author)
Make them both:

                toolbar.set_property("toolbar_style", Gtk.ToolbarStyle(0)) # icons only

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

Other bug subscribers