After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 601622 - MTP upload creates corrupted files on Creative Zen Mosaic
MTP upload creates corrupted files on Creative Zen Mosaic
Status: RESOLVED DUPLICATE of bug 594191
Product: banshee
Classification: Other
Component: Device - MTP
1.5.1
Other Linux
: Normal major
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-11 23:13 UTC by nico
Modified: 2009-12-23 17:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nico 2009-11-11 23:13:50 UTC
When dragging a podcast onto my device in Banshee, a progress dialog is shown, uploads looks fine. The file then appears on the device, but trying to play it results in the device complaining that "something is wrong" with the file. 

If I look at it with Gnomad, the file is listed as being of type WAV while all others are of type MP3.

Used to work with previous versions.

banshee-1.5.1-3.fc12.x86_64
libmtp-1.0.1-1.fc12.x86_64

Additionally, banshee cannot list the content of my device.



[Warn  23:32:00.114] Caught an exception - Object reference not set to an instance of an object (in `Mtp')
  at (wrapper unknown) Mtp.TrackStruct:PtrToStructure (intptr,object)
  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type)
  at Mtp.MtpDevice.GetAllTracks (Mtp.ProgressFunction callback) [0x00000] 
  at Banshee.Dap.Mtp.MtpSource.LoadFromDevice () [0x00000]
Comment 1 Bertrand Lorentz 2009-11-13 17:22:44 UTC
Do you know which version of libmtp your banshee package was compiled against ?

There was a change in the TrackStruct introduced by libmtp 1.0.0 that we have to take into account, and it's detected at compile time.

See http://git.gnome.org/cgit/banshee/commit/?id=ff659577f6d6ce243b4f2c837a1eae6178956cfa
Comment 2 nico 2009-11-25 00:01:47 UTC
I'm not sure I understand your question, this is libmtp-1.0.1-1.fc12.x86_64 as I indicated.

Here's the package page: 

http://koji.fedoraproject.org/koji/buildinfo?buildID=131651

It doesn't appear to have any patch. 

I will try to recompile it, see how it goes.
Comment 3 Alan McGovern 2009-12-23 17:07:55 UTC
Please test the fix attached to the other bug report if possible to confirm everything works for you now. The patch (or a modified version thereof) should hit git master soon enough.

Thanks,
Alan.

*** This bug has been marked as a duplicate of bug 594191 ***