Version mismatch in PPA web and PPA repository.

General support for problems installing or using Deluge
Locked
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Version mismatch in PPA web and PPA repository.

Post by simonbcn »

Version shown in PPA web for Karmic:
Image

Version shown in my Synaptic:
Image

What's the problem!? :?
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: Version mismatch in PPA web and PPA repository.

Post by simonbcn »

It's worst. After the upgrade now I can't boot deluge! :x

Code: Select all

[INFO    ] 03:09:01 daemon:129 Deluge daemon 1.2.1
[ERROR   ] 03:09:01 main:216 This version of Deluge requires libtorrent >=0.14.5.0!
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/deluge/main.py", line 209, in start_daemon
    Daemon(options, args)
  File "/usr/lib/pymodules/python2.6/deluge/core/daemon.py", line 136, in __init__
    from deluge.core.core import Core
  File "/usr/lib/pymodules/python2.6/deluge/core/core.py", line 36, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/pymodules/python2.6/deluge/_libtorrent.py", line 60, in <module>
    check_version(lt)
  File "/usr/lib/pymodules/python2.6/deluge/_libtorrent.py", line 53, in check_version
    raise ImportError("This version of Deluge requires libtorrent >=%s!" % REQUIRED_VERSION)
ImportError: This version of Deluge requires libtorrent >=0.14.5.0!
It seems that deluge considers 0.14.5 > 0.14.10!! :shock:
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Version mismatch in PPA web and PPA repository.

Post by Cas »

thats because the PPA release is not actually built yet, be patient.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: Version mismatch in PPA web and PPA repository.

Post by simonbcn »

Cas wrote:thats because the PPA release is not actually built yet, be patient.
I am patient, but they shouldn't update the libtorrent version but not the deluge version because that it causes error like I say in previous post.
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Version mismatch in PPA web and PPA repository.

Post by Cas »

The PPA build farms have a queue system so it is bound to happen that some items will be out of step. The PPA site actually tells you the wait time plus you should wait for "Successfully built" on all items before installing.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: Version mismatch in PPA web and PPA repository.

Post by simonbcn »

Cas wrote:The PPA build farms have a queue system so it is bound to happen that some items will be out of step. The PPA site actually tells you the wait time plus you should wait for "Successfully built" on all items before installing.
This is not a valid excuse.
I added the deluge PPA repository to my system repository (in ubuntu) and I have activated the periodic updates, so this is not controllable by the user.
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
trektorrents
Seeder
Seeder
Posts: 108
Joined: Fri Aug 10, 2007 2:26 pm

Re: Version mismatch in PPA web and PPA repository.

Post by trektorrents »

As of this moment, installs perfectly from PPA.

Patience, they say, it is a virtue.
zzzarko

Re: Version mismatch in PPA web and PPA repository.

Post by zzzarko »

I have Ubuntu 9.10, Deluge 1.2.0, python-libtorrent 0.14.10, libtorrent-rasterbar4 0.14.4, libtorrent-rasterbar5 0.15.0, an up-to-date system and I still get the same error. I tried to put

Code: Select all

print "VER:",VersionSplit(lt.version)
before the if in _libtorrent.py and I got in command line this output:

Code: Select all

VER: <deluge.common.VersionSplit object at 0xa3677ec>
So, in my case, string "0.14.5.0" was compared to some object (that isn't a string) returned by VersionSplit. I guess that they cannot be compared (I haven't researched further, so I don't know does the VersionSplit class implements this comparison) and exception was raised. As a quickfix, I commented-out the two lines containing the version check, and I was able to successfully start Deluge.

I hope this helps in hunting a bug down.

Best regards,
Zarko
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Version mismatch in PPA web and PPA repository.

Post by Cas »

zzzarko wrote:I have Ubuntu 9.10, Deluge 1.2.0, python-libtorrent 0.14.10, libtorrent-rasterbar4 0.14.4, libtorrent-rasterbar5 0.15.0, an up-to-date system and I still get the same error.
This is not a bug. Why have you got an older version of deluge and trying to run with 3 different versions of libtorrent installed?

On Karmic use 1.2.3 with 0.14.10 libtorrent from the PPA.

If you need to use libtorrent 0.15.0 then build 1.2.3 from source with it included.
Locked