View Single Post
Posts: 53 | Thanked: 6 times | Joined on Sep 2008
#384
Hi john, i found a solution for getpass from http://talk.maemo.org/showpost.php?p=405435&postcount=5 but it didnt work. the new output from terminal window is here:

---------------------
###DeltaTime[ before main import ]: 0.01
>>>init conf
###DeltaTime[ after ]: 0.49
using DEVELOPER env
###DeltaTime[ before main class ]: 0.49
/usr/lib/python2.5/site-packages/mytube/lgc/guimytube.py:855: GtkWarning: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
self.window.set_menu(file_menu)
>>>createListChooser
creating lists
>>>forcing height to 40
>>>createListChooser
changed saved
null callback
###DeltaTime[ main class loaded ]: 1.85
###DeltaTime[ workers: begin ]: 1.98
###DeltaTime[ workers: started ]: 3.77
>>>>set details
/usr/lib/python2.5/site-packages/mytube/ui/details.py:80: DeprecationWarning: use GtkWidget.set_size_request
obj.set_usize(340, 140)
changed ...
nothing changed
changed more ...
null callback
worker adding request
bgworker got a job
searching most viewed
http://gdata.youtube.com/feeds/stand...&time=all_time
retract ended
/usr/lib/python2.5/site-packages/mytube/ui/kinetic.py:174: DeprecationWarning: integer argument expected, got float
0, 0)
ERROR list index out of range
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mytube/lgc/ybgworker.py", line 34, in run
self.work()
File "/usr/lib/python2.5/site-packages/mytube/lgc/ybgworker.py", line 91, in work
yentry = YEntry.loadVideoFromResp(video, cli)
File "/usr/lib/python2.5/site-packages/mytube/lgc/yentry.py", line 81, in loadVideoFromResp
thumb_url = cli.get_smallest_thumbnail(video)
File "/usr/lib/python2.5/site-packages/mytube/lgc/yclient.py", line 159, in get_smallest_thumbnail
return thumbnails[sizes[0]][0]
IndexError: list index out of range
method return sender=:1.5 -> dest=:1.248
uint32 33
not selected, skipping
cb_rowSelectedKinetic <mytube.lgc.yentry.YEntry instance at 0x40c55350>
downloadVideo yentry Justin Bieber - Baby ft. Ludacris
CREATED a streamer for Justin Bieber - Baby ft. Ludacris
>>>Alive = True
WORKER waiting sir
worker is now downloading [http://www.youtube.com/watch?v=kffac...youtube_gdata] -> [/media/mmc2/mtube/kffacxfA7G4/Justin.Bieber.-.Baby.ft.Ludacris.flv]
launch youtube-dl [/home/user/MyDocs/youtube-dl-x -f 5 -o /media/mmc2/mtube/kffacxfA7G4/Justin.Bieber.-.Baby.ft.Ludacris.flv -- http://www.youtube.com/watch?v=kffac...youtube_gdata]
Traceback (most recent call last):

File "/home/user/MyDocs/youtube-dl-x", line 2235, in <module>

import getpass

File "/usr/lib/python2.5/getpass.py", line 1

ties to get a password and/or the current user name.

^

SyntaxError: invalid syntax


WORKER fired
downloadVideo yentry Justin Bieber - Baby ft. Ludacris
CREATED a streamer for Justin Bieber - Baby ft. Ludacris
WORKER waiting sir
>>>Alive = True
worker is now downloading [http://www.youtube.com/watch?v=kffac...youtube_gdata] -> [/media/mmc2/mtube/kffacxfA7G4/Justin.Bieber.-.Baby.ft.Ludacris.flv]
launch youtube-dl [/home/user/MyDocs/youtube-dl-x -f 5 -o /media/mmc2/mtube/kffacxfA7G4/Justin.Bieber.-.Baby.ft.Ludacris.flv -- http://www.youtube.com/watch?v=kffac...youtube_gdata]
Traceback (most recent call last):

File "/home/user/MyDocs/youtube-dl-x", line 2235, in <module>

import getpass

File "/usr/lib/python2.5/getpass.py", line 1

ties to get a password and/or the current user name.

^

SyntaxError: invalid syntax


WORKER fired
delete event occurred
destroy signal occurred
terminating ystream for kffacxfA7G4
videoserve terminating ...
killing 12710
videoserve terminated ...
bgworker got a job
bgworker terminated
-------------

please let me know the problem & sol. thanks in advance.



Originally Posted by johnpad View Post
1 Browse to this thread on your tablet browser
2 Download the file to MyDocs (or copy it over from your computer)
3 Start up a terminal window

Good luck -John
hi John & Tso,

John, i tried all your suggestion exactly but unfortunately it didn't work! here is the fresult from terminal:

_____________________
Traceback (most recent call last):
File "/home/user/MyDocs/youtube-dl-x", line 2235, in <module>
import getpass
ImportError: No module named getpass
Nokia-N810-43-7:/home/user/MyDocs#
______________________

appropriate if u can tell how can i overcome this "getpass" error. thanks in advance.

Last edited by svrkprabhakar; 2011-01-10 at 13:24.