Comments (12)
Sorry, here is the file:
https://gist.github.com/ad020f47116a90421a67
from mms2r.
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.
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.
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.
Oh, sorry about that! You're using 2.2.5 of Mail and 3.1 of mms2r?
from mms2r.
Here is my console output
https://gist.github.com/fcb4c920417ba213e0ed
from mms2r.
yes, latest gems mms2r 3.1.0 and Mail 2.2.5
from mms2r.
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:
from mms2r.
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.
Agreed, thanks for your help. I'm going to try and get this on an Ubuntu env.
Thanks for all your help.
from mms2r.
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.
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)
- Issue reading from /tmp directory in build environment HOT 9
- Sprint UndefinedConversionError with ruby 1.9.2 HOT 1
- UTF-8 error with yahoo email HOT 1
- Certain characters in Outlook HTML emails are getting garbled. HOT 2
- deprecation warning on ruby 1.9.3 HOT 8
- Correct Handling of   in media['text/plain'] HOT 4
- MMS2R::Media filename? should strip HOT 2
- Verizon text messages aren't parsing properly HOT 5
- Sprint Messages aren't parsing HOT 2
- not mail gem compatible HOT 2
- Parsing Multipart bodies HOT 3
- undefined method `return_path' for #<TMail::Mail... HOT 4
- Problems with ruby 1.9.2 and rails3 HOT 4
- Mail/MMS2R HOT 3
- mms2r 2.4.1/ Tmail and application/octet-stream HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mms2r.