litojos / damnvid

Automatically exported from code.google.com/p/damnvid
GNU General Public License v3.0
0 stars 0 forks source link

Damnvid 1.6 does not work in Ubuntu 12.04 or PinguyOS 12.04 #299

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Application launcher does not work from the menu.
2.  The only way to launch the application is via the CLI.
3.  Damnvid does not convert any videos from YouTube or any other supported 
website and just sits there in pending status forever.

What is the expected behavior? What do you see instead?
The expected behavior is that the application should launch when you click on 
the icon from the menu and when / if the application does start it should be 
able to convert video files in Ubuntu 12.04 or a variant thereof.

What version of DamnVid are you using? 

Version 1.6 downloaded directly and from the Ubuntu 12.04 PPA

On what operating system?

Ubuntu 12.04 and PinguyOS 12.04

Better
yet, paste the system info that you see in the Bug Report dialog, if
possible.

Please attach the file damnvid.log, found the in the following directory:
- %APPDATA%\DamnVid if you're on Windows (Copy/paste that into Explorer's
address bar)
- Home/Library/Preferences/DamnVid on Mac OS X
- ~/.damnvid on Linux
Please provide any additional information below.

Original issue reported on code.google.com by ryan.l.s...@gmail.com on 25 Jun 2012 at 3:19

Attachments:

GoogleCodeExporter commented 8 years ago
Log seems incomplete :(

Can you try BuildingFromSource to get an SVN build running?

Original comment by windypo...@gmail.com on 25 Jun 2012 at 6:10

GoogleCodeExporter commented 8 years ago
The logs are abreviated because I have only just installed the application
and tried to download videos using it.

It doesn't matter how I try to install the application (to include
compiling from source), whatever I try the application does not work.  I've
tried it on 32Bit and 64Bit OS, and everything else that I can think of and
nothing helps.

Ryan L. Stillwell
Information Technology Specialist
M 719.650.3379 W 719.524.0619

Original comment by ryan.l.s...@gmail.com on 25 Jun 2012 at 6:17

GoogleCodeExporter commented 8 years ago
How is the log file incomplete?  I've posted every one of the log files when 
I've tried to install Damnvid and get it to work.  If you mean it's abreviated, 
it's abreviated due to only just installing the application and trying to 
convert a couple of videos.

I have tried to build from source and nothing works.

Original comment by ryan.l.s...@gmail.com on 25 Jun 2012 at 6:19

GoogleCodeExporter commented 8 years ago
No, I'm saying the log file seems incomplete because the attached file ends 
mid-line:

DamnURLPicker summoned. URLs: 
[u'http://www.youtube.com/get_video?video_id=CGbOs0vgYOA&t=vjVQa1PpcFPPyHMbWizlJ
pXH5OcFVC3uHIS73nPXQzU%3D&fmt=22', 
u'http://www.youtube.com/get_video?video_id=CGbOs0vgYOA&t=vjVQa1Pp

If the line was complete, it'd at least end by the characters "']" in order to 
be a valid Python list. There must be some buffering occurring there that makes 
the log file not completely written out to disk, and thus not complete here.

I've only now discovered that the Wiki pages didn't make it to the migration; 
I've copied them back, so now BuildingFromSource should link to the appropriate 
page.

Once you have done all that, could you do your own log by running

damnvid | tee mylog.log

And then attaching mylog.log?

Original comment by windypo...@gmail.com on 25 Jun 2012 at 6:54

GoogleCodeExporter commented 8 years ago
Ok.  Conversion works but still cannot run the executable from the menu because 
it fails with the error "cannot execute child process".

Original comment by ryan.l.s...@gmail.com on 25 Jun 2012 at 11:51

Attachments:

GoogleCodeExporter commented 8 years ago
Correction, conversion only works for converting the file to online formats.  
Everything else fails.

Original comment by ryan.l.s...@gmail.com on 25 Jun 2012 at 11:56

GoogleCodeExporter commented 8 years ago
This looks like a different ffmpeg build than the main one. The log says this 
at the top of the ffmpeg output:

ffmpeg> *** THIS PROGRAM IS DEPRECATED ***
ffmpeg> This program is only provided for compatibility and will be removed in 
a future release. Please use avconv instead.

Looking further into the issue, it seems that Ubuntu is using a less-featured 
fork of ffmpeg:

http://stackoverflow.com/questions/9477115/who-can-tell-me-the-difference-and-re
lation-between-ffmpeg-libav-and-avconv/9477756#9477756

Which I assume cannot do some conversions, which would be why you get those 
errors. So you can either not convert your videos (Set the profile to "Do not 
encode"), or use an ffmpeg build that has all the required features 
(http://ubuntuforums.org/showthread.php?p=12044358#post12044358 suggests using 
this PPA: https://launchpad.net/~jon-severinsson/+archive/ffmpeg)
Not really sure what those features are because the log, if it includes 
information about that, seems to be cut again (annoying!).

Also, you still haven't tried BuildingFromSource ;) Otherwise it would not say 
that version number.

Original comment by windypo...@gmail.com on 26 Jun 2012 at 12:10

GoogleCodeExporter commented 8 years ago
Also, I still haven't tried to build from source because your instructions 
don't make any sense.  All you talk about is running the dependencies script, 
and then rehash installing from the PPA.  And yes it is annoying, sort of like 
wanting to buy a car to get from a to b (Converting Videos with Damnvid), going 
to the dealership to get the car you want (Using the PPA for DamnVid that is 
supposed to work on Ubuntu 12.04), and then having the dealer tell you that non 
of the cars at the dealership will start and you have to build the car from 
scratch (Building From Source).  It's important to note that judging from your 
own bug reports I do not seem to be alone in having this problem.

Original comment by ryan.l.s...@gmail.com on 26 Jun 2012 at 2:07

GoogleCodeExporter commented 8 years ago
When I try to build from source (Run the Dependencies Script) it yells at me 
about Python.  Specifically, Package python2.5 is not available, but is 
referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python2.5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python-old-doctools
Which I suppose answers the question about why the program will only work from 
the CLI.

Original comment by ryan.l.s...@gmail.com on 26 Jun 2012 at 2:16

GoogleCodeExporter commented 8 years ago
The version of Python you are deploying with Damnvid is obsolete.  Ubuntu 12.04 
ships with 2.7.3 and 2.5 is no longer available.

Original comment by ryan.l.s...@gmail.com on 26 Jun 2012 at 2:20

GoogleCodeExporter commented 8 years ago
Then replace 2.5 in the dependency script by a newer version number (or by 
"python" without a version number). IT should work with recent versions too, 
it's just that I tested things back then with Python 2.5 so I know it works 
with that one. It should work with more recent ones.

I am not the maintainer of the PPA but I apologize anyway if it doesn't work. 
Right now I just want to find out why it doesn't work, though, so that you can 
have a functional version of DamnVid. (I have no idea about the 
works-from-CLI-but-not-GUI issue though).

Original comment by windypo...@gmail.com on 27 Jun 2012 at 3:07

GoogleCodeExporter commented 8 years ago
I'll try and rebuild the ppa tonight.

Original comment by anot...@gmail.com on 27 Jun 2012 at 7:03

GoogleCodeExporter commented 8 years ago
Would you please try this build: 
https://launchpad.net/~damnvid/+archive/testing/+build/3611821
Do not add the testing PPA to your sources, only install the one package.

Original comment by anot...@gmail.com on 28 Jun 2012 at 8:28

GoogleCodeExporter commented 8 years ago
The patch fixed the application will not launch problem, but made the icon not 
visible in the menu.  The patch has done nothing about Damnvid not converting 
videos with the exception of now it conversion fails immediately rather than 
not doing anything.

Original comment by ryan.l.s...@gmail.com on 28 Jun 2012 at 10:44