jwilk-archive / djvusmooth

graphical editor for DjVu
GNU General Public License v2.0
12 stars 2 forks source link

dependencies.py: ValueError: need more than 1 value to unpack #17

Closed jwilk closed 8 years ago

jwilk commented 8 years ago

Issue reported by @danstender:

Houston we've got a problem ...

$ djvusmooth 
Traceback (most recent call last):
  File "/usr/bin/djvusmooth", line 20, in <module>
    from djvusmooth.gui.main import Application
  File "/usr/share/djvusmooth/lib/gui/main.py", line 28, in <module>
    import djvusmooth.dependencies as __dependencies
  File "/usr/share/djvusmooth/lib/dependencies.py", line 70, in <module>
    _check_djvu()
  File "/usr/share/djvusmooth/lib/dependencies.py", line 45, in _check_djvu
    python_djvu_decode_version, ddjvu_api_version = djvu_decode_version.split('/')
ValueError: need more than 1 value to unpack

Daniel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages djvusmooth depends on:
ii  djvulibre-bin    3.5.27.1-3
ii  python-djvu      0.7-1
ii  python-wxgtk3.0  3.0.2.0+dfsg-1+b1
ii  python-xdg       0.25-4
pn  python:any       <none>
jwilk commented 8 years ago

Comment submitted by @danstender:

Sorry the line breaks got eaten.

The bug is: https://bugs.debian.org/799017

jwilk commented 8 years ago

Oops.

These version checks made little sense anyway, so I just removed them in e78471b7c04647a22c9525209151b58e1dfdd92e.

I'll make a new release later today.

jwilk commented 8 years ago

Fixed in 0.2.16.

jwilk commented 8 years ago

Comment submitted by @danstender:

All right. I'm going to fix this for for Debian tonight, already in contact with the sponsor.

Best, Daniel