[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GMG-Devel] SQLAlchemy unicode error when trying to upload audio fil

From: ayleph
Subject: Re: [GMG-Devel] SQLAlchemy unicode error when trying to upload audio file.
Date: Thu, 04 Sep 2014 20:06:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 AquaMail/ (build: 2100462)

Hi Damien,

The SQLAlchemy warning you reference is a common warning and most likely unrelated to your issue. Since the file is transcoded, it's possible that the spectrogram creation failed. In my experience, this doesn't return an error message, and it will cause the file to appear in the failed section. Have you installed numpy and (I may have misremembered the name) with pip?

I'm also wondering if the video filetype tried to process your OGG file, based on the ".medium.webm" file name. I can't remember if audio files get named like that.

Are you running via lazyserver, or via CGI/wsgi? I sometimes run via lazyserver when debugging to get more useful output.

Sent with AquaMail for Android

On September 4, 2014 7:56:06 PM Damien Radtke <address@hidden> wrote:

I'm running a fresh copy of Mediagoblin 0.7.0 with the image, audio, and video plugins enabled. I attempted to upload an OGG file, and it initially appeared to work, but then showed up in the "failed to process" section of the media processing panel with nothing filled in for reason or metadata. The odd thing is that if I navigate directly to the URL of the generated webm (mgoblin_media/media_entries/<number>/<file name>.medium.webm), I can play the file just fine, so I know that it's transcoding correctly.

The only error I get is this warning in celery.log:

/srv/www/mediagoblin/lib/python2.7/site-packages/SQLAlchemy-0.8.7-py2.7-linux-x86_64.egg/sqlalchemy/engine/ SAWarning: Unicode type received non-unicode bind param value.

Since there's no stack trace, I don't know where the source of the warning is in mediagoblin's code, but this is all I have to go off of.

Any ideas?

devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]