clive 1.0.2 no longer works on youtube urls

Bug #415660 reported by Marius Gedminas
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
clive (Ubuntu)
Invalid
High
Unassigned

Bug Description

Binary package hint: clive

$ clive http://www.youtube.com/watch?v=DqsYje05JLs
/usr/lib/python2.6/dist-packages/clive/modules.py:114: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
clive 1.0.2 20081014 [Linux]
/usr/lib/python2.6/dist-packages/clive/cache.py:183: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  if 'table exists already' in err.message:
http://www.youtube.com/watch?v=DqsYje05JLs&fmt=18 123.4KB
error: extraction url (&video_id) not found
error: Traceback (most recent call last):
  File "/usr/bin/clive", line 29, in <module>
    Clive().main()
  File "/usr/lib/python2.6/dist-packages/clive/main.py", line 49, in main
    Nomad().run(self._say)
  File "/usr/lib/python2.6/dist-packages/clive/nomad.py", line 96, in run
    self._check_raw_urls(raw_urls)
  File "/usr/lib/python2.6/dist-packages/clive/nomad.py", line 261, in _check_raw_urls
    self._show_queue(raw_urls)
  File "/usr/lib/python2.6/dist-packages/clive/nomad.py", line 402, in _show_queue
    Progress(None)._byteshuman(total_bytes),
  File "/usr/lib/python2.6/dist-packages/clive/progress.py", line 92, in _byteshuman
    i = int(math.floor(math.log(bytes,1024)))
ValueError: math domain error

This is on Ubuntu 9.04

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Version 2.2.4 in Karmic works fine.

Revision history for this message
Andreas Moog (ampelbein) wrote :

Thanks for your report, I built a backport from the karmic version in the ppa at https://edge.launchpad.net/~amoog/+archive/amoog-backports . Could you test it and upon successful testing do the procedure outlined at https://help.ubuntu.com/community/UbuntuBackports#request-new-packages to get it as an official backport? I'm closing this report here since you will open a new one with the backport request. Thanks.

Changed in clive (Ubuntu):
importance: Undecided → High
status: New → Invalid
Revision history for this message
Marius Gedminas (mgedmin) wrote :

Filed: #416005.

While clive 2.2 probably has lots of useful shiny new features compared to 1.0, I'm not familiar with them and so won't be able to justify a backport request. I'm reading https://wiki.ubuntu.com/StableReleaseUpdates now...

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Okay, an SRU would need a working patch. I don't have one.

Revision history for this message
mlindeblom (mlindeblom) wrote :

Tested backport.
It solved the problem.

Revision history for this message
mlindeblom (mlindeblom) wrote :

This problem was tested on Jaunty 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux

Revision history for this message
Or Cohen (lightpriest) wrote :

Since the backported clive wasn't added to jaunty-backports yet, here's a patch to fix it temporarily until karmic is released.

Nothing major changed, just the "video_id" and "t" params lookup.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.