https://bugs.gpodder.org/show_bug.cgi?id=1665

--- Comment #24 from Thomas Perl <[email protected]> 2012-09-17 07:32:51 BST ---
(In reply to comment #23)
> Hi, sorry for bothering, but should the solution posted here (youtube.py) work
> on the n900 gpodder (-fremantle) too? Because it is showing the error 
> "'module'
> object has no atribute 'parse_qs'".

Thanks for testing that - according to

  http://docs.python.org/library/urlparse.html

the function parse_qs is "New in version 2.6: Copied from the cgi module." -
and Maemo 5 is still using Python 2.5.

So the fix for you would be to take the patch, change "import urlparse" to
"import cgi" and then use "cgi.parse_qs()" instead of "urlparse.parse_qs()".

It would be great if you could test this patch agains the "two" branch (that's
the one that still supports Maemo 5) and then submit a pull request or a simple
patch for the "two" branch, so that we can merge it into a possible release for
Maemo 5 users (broken YouTube downloads is a regression, so I'm happy to
release an update that fixes that):

  https://github.com/gpodder/gpodder/tree/two

You can submit the patch here and/or on Github - or even via private mail if
that's easiest for you.

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to