Notices


Reply
Thread Tools
Posts: 78 | Thanked: 57 times | Joined on Jul 2007
#401
df is the "disk free" command which shows you how much space you have on your disk. The -m option displays the result in megabytes.
If you start an xterm just type in df -m to check you have enough disk space as if you have downloaded a lot of youtube videos you could just be out of space.
Cheers,
John
 

The Following User Says Thank You to johnpad For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#402
I pressed Down, waited, Play, waited, Cancel and then closed the app.


###DeltaTime[ before main import ]: 0.0
>>>init conf
###DeltaTime[ after ]: 0.98
using DEVELOPER env
###DeltaTime[ before main class ]: 0.98
/usr/lib/python2.5/site-packages/mytube/lgc/guimytube.py:855: GtkWarn ing: gtk_menu_attach_to_widget(): menu already attached to GtkImageMe nuItem
self.window.set_menu(file_menu)
>>>createListChooser
creating lists
>>>forcing height to 40
>>>createListChooser
changed saved
null callback
###DeltaTime[ main class loaded ]: 2.87
###DeltaTime[ workers: begin ]: 3.03
###DeltaTime[ workers: started ]: 6.58
>>>>set details
/usr/lib/python2.5/site-packages/mytube/ui/details.py:80: Deprecation Warning: 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...d?start-index= 1&max-results=10&time=all_time
retract ended
/usr/lib/python2.5/site-packages/mytube/ui/kinetic.py:174: Deprecatio nWarning: integer argument expected, got float
0, 0)
bgworker -> http://i.ytimg.com/vi/kffacxfA7G4/1.jpg
bgworker -> http://i.ytimg.com/vi/qrO4YZeyl0I/1.jpg
bgworker -> http://i.ytimg.com/vi/pRpeEdMmmQ0/1.jpg
bgworker -> http://i.ytimg.com/vi/uelHwf8o7_U/1.jpg
bgworker -> http://i.ytimg.com/vi/_OBlgSz8sSM/1.jpg
bgworker -> http://i.ytimg.com/vi/j5-yKhDd64s/1.jpg
bgworker -> http://i.ytimg.com/vi/M11SvDtPBhA/1.jpg
bgworker -> http://i.ytimg.com/vi/E2tMV96xULk/1.jpg
not selected, skipping
bgworker -> http://i.ytimg.com/vi/_Z5-P9v3F8w/1.jpg
cb_rowSelectedKinetic <mytube.lgc.yentry.YEntry instance at 0x40afb3 50>
bgworker -> http://i.ytimg.com/vi/dMH0bHeiRNg/1.jpg
downloadVideo yentry Charlie bit my finger - again !
CREATED a streamer for Charlie bit my finger - again !
WORKER waiting sir
>>>Alive = True
worker is now downloading [http://www.youtube.com/watch?v=_OBlgSz8sSM &feature=youtube_gdata] -> [/media/mmc1/mtube/_OBlgSz8sSM/Charlie.bit .my.finger.-.again.flv]
launch youtube-dl [/home/user/MyDocs/youtube-dl-x -f 5 -o /media/mmc1 /mtube/_OBlgSz8sSM/Charlie.bit.my.finger.-.again.flv -- http://www.yo utube.com/watch?v=_OBlgSz8sSM&feature=youtube_gdata]
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_in ner
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py", li ne 196, in run
self.runYoutubeDl()
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py", li ne 131, in runYoutubeDl
stderr=subprocess.STDOUT, close_fds=(sys.platform != "win32"))
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
File "/usr/lib/python2.5/subprocess.py", line 1091, in _execute_chi ld
OSError: [Errno 2] No such file or directory

playVideo yentry Charlie bit my finger - again !
CREATED a streamer for Charlie bit my finger - again !
WORKER waiting sir
>>>Alive = True
worker is now downloading [http://www.youtube.com/watch?v=_OBlgSz8sSM &feature=youtube_gdata] -> [/media/mmc1/mtube/.cache/_OBlgSz8sSM/Char lie.bit.my.finger.-.again.flv]
launch youtube-dl [/home/user/MyDocs/youtube-dl-x -f 5 -o /media/mmc1 /mtube/.cache/_OBlgSz8sSM/Charlie.bit.my.finger.-.again.flv -- http:/ /www.youtube.com/watch?v=_OBlgSz8sSM&feature=youtube_gdata]
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_in ner
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py", li ne 196, in run
self.runYoutubeDl()
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py", li ne 131, in runYoutubeDl
stderr=subprocess.STDOUT, close_fds=(sys.platform != "win32"))
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
File "/usr/lib/python2.5/subprocess.py", line 1091, in _execute_chi ld
OSError: [Errno 2] No such file or directory

cancelCurrentRequest
CREATED a streamer for Charlie bit my finger - again !
WORKER waiting sir
videoserve terminating ...
worker is now downloading [http://www.youtube.com/watch?v=_OBlgSz8sSM &feature=youtube_gdata] -> [/media/mmc1/mtube/.cache/_OBlgSz8sSM/Char lie.bit.my.finger.-.again.flv]
launch youtube-dl [/home/user/MyDocs/youtube-dl-x -f 5 -o /media/mmc1 /mtube/.cache/_OBlgSz8sSM/Charlie.bit.my.finger.-.again.flv -- http:/ /www.youtube.com/watch?v=_OBlgSz8sSM&feature=youtube_gdata]
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_in ner
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py", li ne 196, in run
self.runYoutubeDl()
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py", li ne 131, in runYoutubeDl
stderr=subprocess.STDOUT, close_fds=(sys.platform != "win32"))
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
File "/usr/lib/python2.5/subprocess.py", line 1091, in _execute_chi ld
OSError: [Errno 2] No such file or directory

videoserve terminated ...
delete event occurred
destroy signal occurred
terminating ystream for _OBlgSz8sSM
videoserve terminating ...
videoserve terminated ...
bgworker got a job
bgworker terminated



Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mtdblock4 4 3 1 69% /mnt/initfs
none 1 0 0 18% /mnt/initfs/tmp
/dev/mtdblock4 250 199 50 80% /
none 1 0 0 18% /tmp
none 1 0 1 6% /dev
tmpfs 1 0 1 0% /dev/shm
/dev/mmcblk0p1 3879 3722 156 96% /media/mmc2
/dev/mmcblk1p1 3766 3062 703 81% /media/mmc1


I have about 750 megs of free space on my card I'm using.

Thank you.
 
Posts: 78 | Thanked: 57 times | Joined on Jul 2007
#403
Looks like it is failing launching the youtube-dl-x command.
What happens if you just run the download command directly?

/home/user/MyDocs/youtube-dl-x -f 5 -o /media/mmc1 /mtube/.cache/_OBlgSz8sSM/Charlie.bit.my.finger.-.again.flv -- http:/ /www.youtube.com/watch?v=_OBlgSz8sSM&feature=youtube_gdata

This might give an insight into the cause.

-John
 

The Following User Says Thank You to johnpad For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#404
Weirdness.


[1|user@Nokia-N800-43-7|~]-bash: /home/user/MyDocs/youtube-dl-x: No such file or directory
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#405
Bumpsies in case someone knows of an answer.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#406
as people where providing updated youtube-dl-x, but one need root access to copy the update to the default location of the version bundled with mytube, and as mytube can take a path as part of the youtube-dl-x command parameters in settings, i suggested it would be easier for everyone to just put the more updated copy of youtube-dl-x into /home/user/MyDoc/ (basically the same location as the N800/N810 root of the Maemo file manager).
__________________
Be warned, posts are often line of thoughts at highway speeds...
 

The Following User Says Thank You to tso For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#407
Joy! That was it.

Somehow that file got deleted by accident.

Thanks tso!
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#408
Poopsies.

It only worked once and now it's back to giving me no response again.

Output from direct download.


[1|user@Nokia-N800-43-7|~]ERROR: fixed output name but more than one file to download
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#409
Originally Posted by johnpad View Post
Hi,

Here is the tar of my modified script which seems to be working for me. Good suggestion to drop it in a user area (though I think it will need to be a unix, not FAT, partition for the file permissions).

Maybe save it to /home/user/MyDocs
Then add the settings in mYTube:
Code:
/home/user/MyDocs/youtube-dl-x -f 5 -o %d -- %s
Hope this helps.

Cheers,
John
Well, I reflashed, downloaded and followed the instructions to apply the patch correctly.

I don't understand what I'm missing on this.

If I download something, it creates the folder and thumbnail picture inside of it, but no video.




###DeltaTime[ before main import ]: 0.01
>>>init conf
###DeltaTime[ after ]: 0.94
using DEVELOPER env
###DeltaTime[ before main class ]: 0.94
/usr/lib/python2.5/site-packages/mytube/lgc/guimytube.py:855: GtkWarn ing: gtk_menu_attach_to_widget(): menu already attached to GtkImageMe nuItem
self.window.set_menu(file_menu)
>>>createListChooser
creating lists
>>>forcing height to 40
>>>createListChooser
changed saved
null callback
###DeltaTime[ main class loaded ]: 2.01
###DeltaTime[ workers: begin ]: 2.14
###DeltaTime[ workers: started ]: 5.52
>>>>set details
/usr/lib/python2.5/site-packages/mytube/ui/details.py:80: Deprecation Warning: use GtkWidget.set_size_request
obj.set_usize(340, 140)
changed ...
nothing changed
changed more ...
null callback
worker adding request
retract ended
bgworker got a job
searching top rated
http://gdata.youtube.com/feeds/stand...start-index=1& max-results=10&time=all_time
/usr/lib/python2.5/site-packages/mytube/ui/kinetic.py:174: Deprecatio nWarning: integer argument expected, got float
0, 0)
bgworker -> http://i.ytimg.com/vi/dMH0bHeiRNg/1.jpg
bgworker -> http://i.ytimg.com/vi/uelHwf8o7_U/1.jpg
bgworker -> http://i.ytimg.com/vi/j5-yKhDd64s/1.jpg
bgworker -> http://i.ytimg.com/vi/_OBlgSz8sSM/1.jpg
bgworker -> http://i.ytimg.com/vi/kffacxfA7G4/1.jpg
bgworker -> http://i.ytimg.com/vi/QjA5faZF1A8/1.jpg
bgworker -> http://i.ytimg.com/vi/hMtZfW2z9dw/1.jpg
bgworker -> http://i.ytimg.com/vi/4pXfHLUlZf4/1.jpg
bgworker -> http://i.ytimg.com/vi/1uwOL4rB-go/1.jpg
bgworker -> http://i.ytimg.com/vi/Tx1XIm6q4r4/1.jpg
not selected, skipping
cb_rowSelectedKinetic <mytube.lgc.yentry.YEntry instance at 0x40b1a8 78>
not selected, skipping
cb_rowSelectedKinetic <mytube.lgc.yentry.YEntry instance at 0x40b1a9 90>
not selected, skipping
cb_rowSelectedKinetic <mytube.lgc.yentry.YEntry instance at 0x40b1ae b8>
downloadVideo yentry Potter Puppet Pals: The Mysterious Ticking Nois e
CREATED a streamer for Potter Puppet Pals: The Mysterious Ticking Noi se
WORKER waiting sir
>>>Alive = True
worker is now downloading [http://www.youtube.com/watch?v=Tx1XIm6q4r4 &feature=youtube_gdata] -> [/media/mmc1/mtube/Tx1XIm6q4r4/Potter.Pupp et.Pals.The.Mysterious.Ticking.Noise.flv]
launch youtube-dl [/home/user/MyDocs/youtube-dl-x -f 5 -o /media/mmc1 /mtube/Tx1XIm6q4r4/Potter.Puppet.Pals.The.Mysterious.Ticking.Noise.fl v -- http://www.youtube.com/watch?v=Tx1XI...=youtube_gdata ]
Traceback (most recent call last):

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

import getpass

ImportError: No module named getpass


WORKER fired
delete event occurred
destroy signal occurred
terminating ystream for Tx1XIm6q4r4
videoserve terminating ...
killing 7104
videoserve terminated ...
bgworker got a job
bgworker terminated
 
Posts: 196 | Thanked: 141 times | Joined on Aug 2007
#410
It sounds like you need the getpass.py program. Here is how I believe I got mytube working:

1)enable maemo extras and extras devel.
2)install mytube
3)install mytube patch (this installs getpass.py and an obsolete youtube-dl-x)
4)install rootsh (to gainroot to update the youtube-dl-x in the place where it is installed by the patch)
5)download the latest youtube-dl-x.tar file from this thread
6) to untar the tar: type
Code:
tar -xvf youtube-dl-x.tar
7)to becomeroot type
Code:
sudo gainroot
8)to copy the youtube-dl-x file (note the lack of an extension)
Code:
cp ./youtube-dl-x /usr/bin
9)make it readable and executable by everyone:
Code:
chmod a+rx /usr/bin/youtube-dl-x
10)exit root just to be careful
Code:
exit
11) start mytube as normal from the menu
12)from mytube's context menu choose preferences/more
13)choose the youtube-dl tab
14type in the following:
Code:
youtube-dl-x -f 5 -o %d -- %s
15)press the apply button
16)press the close button
17)pray. This step is optional for non believers
18)attempt to download a video
19)tell us how it went
 

The Following User Says Thank You to jcharpak For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:33.