Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Aug 2008 @ Mchenry county
#1
I just tried to use mytube to look at a video and now it wont download/play anything nor will it show any details of videos.

Heres some output of me searching for "foo" with mytube and trying to play the first thing that comes up:

clamdigger:~# mytube
###DeltaTime[ before main import ]: 0.01
>>>init conf
###DeltaTime[ after ]: 0.38
using DEVELOPER env
###DeltaTime[ before main class ]: 0.38
/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.32
###DeltaTime[ workers: begin ]: 1.44
###DeltaTime[ workers: started ]: 2.88
>>>>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
retract ended
bgworker got a job
searching some string
http://gdata.youtube.com/feeds/api/v...max-results=10
/usr/lib/python2.5/site-packages/mytube/ui/kinetic.py:174: DeprecationWarning: integer argument expected, got float
0, 0)
bgworker -> http://i.ytimg.com/vi/DKhnmUdmz74/2.jpg
bgworker -> http://i.ytimg.com/vi/Pd_p1A7WVNs/2.jpg
bgworker -> http://i.ytimg.com/vi/4H0BMfqFP9c/2.jpg
bgworker -> http://i.ytimg.com/vi/TVboOdX9icA/2.jpg
bgworker -> http://i.ytimg.com/vi/WG294M_kYWM/2.jpg
bgworker -> http://i.ytimg.com/vi/BieVgyrfglQ/2.jpg
bgworker -> http://i.ytimg.com/vi/PxoD_Ca8W9M/2.jpg
bgworker -> http://i.ytimg.com/vi/GhfWzCPRPtg/2.jpg
bgworker -> http://i.ytimg.com/vi/1Ck2ygpSUg8/2.jpg
bgworker -> http://i.ytimg.com/vi/6DKXGpMGY_o/2.jpg
not selected, skipping
cb_rowSelectedKinetic <mytube.lgc.yentry.YEntry instance at 0x40a6cb70>
playVideo yentry Foo Fighters - The Pretender
CREATED a streamer for Foo Fighters - The Pretender
WORKER waiting sir
>>>Alive = True
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystorage.py", line 94, in storeVideo
file.write(video.serializeToString())
File "/usr/lib/python2.5/site-packages/mytube/lgc/yentry.py", line 108, in serializeToString
data += self.desc.replace("\n", "<br>").replace("\r", "<br>")+"\n";
AttributeError: 'NoneType' object has no attribute 'replace'
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py", line 196, in run
self.runYoutubeDl()
File "/usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py", line 117, in runYoutubeDl
mutils.log("I cannot create storage. Check rights!")
NameError: global name 'mutils' is not defined

Obviously, I checked permissions and moved the storage directory, but no luck.

I *think* I remember a mytube update a few days ago in the application manager, and I have not used mytube since the update.

Ideas?
 
iancumihai's Avatar
Posts: 274 | Thanked: 143 times | Joined on Jun 2007 @ Romania
#2
edit /usr/lib/python2.5/site-packages/mytube/lgc/ystreamer.py and add import mutils at the top of the file (vi as root )....


sorry for this
 

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:59.