GithubHelp home page GithubHelp logo

default_media is nil about mms2r HOT 12 CLOSED

monde avatar monde commented on July 19, 2024
default_media is nil

from mms2r.

Comments (12)

dbora avatar dbora commented on July 19, 2024

Sorry, here is the file:

https://gist.github.com/ad020f47116a90421a67

from mms2r.

monde avatar monde commented on July 19, 2024

I'm not sure why you are getting this error, I was able to process the file and play the video, see this skitch:
http://skitch.com/monde/dc6y1/24-06-10-0828.mpeg

Are you certain the mail file is being opened? I suppose that Mail would raise an error if not. Probably not related but Mail has been having issues lately as well, see:
http://github.com/monde/mms2r/issues#issue/7

from mms2r.

dbora avatar dbora commented on July 19, 2024

Yes, I'm actually debugging the script in Eclipse and other vars are populated correctly, like @carrier mail.body, headers, etc.

Have you tried to run the your sample code with my file?

from mms2r.

monde avatar monde commented on July 19, 2024

Yes, that was with you file, I just named it differently, if you look at the skitch I took http://skitch.com/monde/dc6y1/24-06-10-0828.mpeg you will see I'm playing your mpeg.

from mms2r.

dbora avatar dbora commented on July 19, 2024

Oh, sorry about that! You're using 2.2.5 of Mail and 3.1 of mms2r?

from mms2r.

monde avatar monde commented on July 19, 2024

Here is my console output
https://gist.github.com/fcb4c920417ba213e0ed

from mms2r.

monde avatar monde commented on July 19, 2024

yes, latest gems mms2r 3.1.0 and Mail 2.2.5

from mms2r.

dbora avatar dbora commented on July 19, 2024

Ignore that last post, I had to do some fuddling around with Nokogiri but here is the error free (and unfortunately content free) run of the same command you used:

http://gist.github.com/479983

from mms2r.

monde avatar monde commented on July 19, 2024

I don't know what to tell you, I can't reproduce your issue. I'm able to decode an open your 24-06-10_0828.mpeg in the Ruby environment on my MacBook at work, and just now on my personal laptop with Ubuntu. Is it just this one file, or all of your files? If it's all of your mail/mms files then something is not right in your developer environment and I've done all I can do to help you at this point.

from mms2r.

dbora avatar dbora commented on July 19, 2024

Agreed, thanks for your help. I'm going to try and get this on an Ubuntu env.

Thanks for all your help.

from mms2r.

monde avatar monde commented on July 19, 2024

You might try deleting the first blank line as well. When you do a save-as from source on gmail it adds annoying empty blank line at the top which makes the file (technically) malformed. TMail would choke on this.

from mms2r.

dbora avatar dbora commented on July 19, 2024

The version of the file I have has no blank line. I did have a version of the file with a leading blank line and it choked right away and very specifically.

from mms2r.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.