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 578000 - Exception when adding non avi video to MTP device
Exception when adding non avi video to MTP device
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Device - MTP
git master
Other All
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Gabriel Burt
Depends on:
Blocks: 576709
 
 
Reported: 2009-04-05 11:26 UTC by David Nielsen
Modified: 2010-09-06 22:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Nielsen 2009-04-05 11:26:31 UTC
Please describe the problem:
When trying to add a non avi video from the banshee library to my Sansa Fuze I get the following error:

[Warn  12:57:49.429] Caught an exception - LIBMTP_Update_Track_Metadata(): could not set track title. (in `')

LIBMTP_Update_Track_Metadata(): could not set track artist name. (in `')

LIBMTP_Update_Track_Metadata(): could not set track genre name. (in `')

LIBMTP_Update_Track_Metadata(): could not set track release date. (in `')

LIBMTP_Update_Track_Metadata(): could not set track album name. (in `')

LIBMTP_Update_Track_Metadata(): could not set track title. (in `')

LIBMTP_Update_Track_Metadata(): could not set track artist name. (in `')

LIBMTP_Update_Track_Metadata(): could not set track genre name. (in `')

LIBMTP_Update_Track_Metadata(): could not set track release date. (in `')

LIBMTP_Update_Track_Metadata(): could not set track album name. (in `')

LIBMTP_Update_Track_Metadata(): could not set track title. (in `')

LIBMTP_Update_Track_Metadata(): could not set track artist name. (in `')

LIBMTP_Update_Track_Metadata(): could not set track genre name. (in `')

LIBMTP_Update_Track_Metadata(): could not set track release date. (in `')

LIBMTP_Update_Track_Metadata(): could not set track album name. (in `')

LIBMTP_Update_Track_Metadata(): could not retrieve supported object properties. (in `Mtp')
  at Mtp.LibMtpException.CheckErrorStack (Mtp.MtpDeviceHandle handle) [0x0006f] in /home/david/Projekter/banshee/src/Libraries/Mtp/Mtp/Error.cs:67 
  at Mtp.Track.SendTrack (Mtp.MtpDeviceHandle handle, System.String path, Mtp.TrackStruct& metadata, Mtp.ProgressFunction callback, IntPtr data) [0x00022] in /home/david/Projekter/banshee/src/Libraries/Mtp/Mtp/Track.cs:228 
  at Mtp.MtpDevice.UploadTrack (System.String path, Mtp.Track track, Mtp.Folder folder, Mtp.ProgressFunction callback) [0x0004e] in /home/david/Projekter/banshee/src/Libraries/Mtp/Mtp/MtpDevice.cs:251 
  at Banshee.Dap.Mtp.MtpSource.AddTrackToDevice (Banshee.Collection.Database.DatabaseTrackInfo track, Banshee.Base.SafeUri fromUri) [0x00030] in /home/david/Projekter/banshee/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs:325 
  at Banshee.Dap.DapSource.AttemptToAddTrackToDevice (Banshee.Collection.Database.DatabaseTrackInfo track, Banshee.Base.SafeUri fromUri) [0x00051] in /home/david/Projekter/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs:318 
  at Banshee.Dap.DapSource.AddTrackAndIncrementCount (Banshee.Collection.Database.DatabaseTrackInfo track) [0x0000c] in /home/david/Projekter/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs:361 
  at Banshee.Sources.PrimarySource.AddTrackList (System.Object cached_list) [0x00091] in /home/david/Projekter/banshee/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs:635 

Supported formats can be found here:
http://en.wikipedia.org/wiki/Sansa_Fuze

Steps to reproduce:
1. attach Sansa Fuze
2. drag non avi video to the device


Actual results:
The above error

Expected results:
Video added to device, if unsupported it should be transcoded to a supported format or an informative error stating the format is unsupport could be displayed.

Does this happen every time?
100% for non avi video files

Other information:
x86_64, da_DK.UTF-8, Fedora 11, Mono 2.4 pre and SVN revision 5188 of Banshee.
Comment 1 Gabriel Burt 2009-06-02 22:36:46 UTC
What type of file (and w/ what extension) was the file you attempted to xfer?
Comment 2 David Nielsen 2009-09-21 12:30:43 UTC
I apologize for the delay, this got lost in the good old pile of bug reports.

Confirmed with Ubuntu Karmic (alpha 6) and git commit 95a46d111a179d01c49c0a346076ec7677798532 for mp4 files. 

I believe this should suffice for testing:

http://channel9.msdn.com/posts/Charles/Miguel-de-Icaza-Moonlight/

Select the download for iPod option and proceed to enjoy Miguels trust inspiring face and soothing voice convince you that Silverlight is the stuff of legend.. only not on your mtp connected device.
Comment 3 Gabriel Burt 2009-10-27 20:16:23 UTC
Bulk changing the assignee to banshee-maint@gnome.bugs to make it easier for people to get updated on all banshee bugs by following that address.  It's usually quite apparent who is working on a given bug by the comments and/or patches attached.
Comment 4 Tobias Mueller 2010-01-24 12:12:55 UTC
Reopening as the requested information has been provided.
Comment 5 Alan McGovern 2010-09-06 22:55:45 UTC
Works for me with libmtp 1.0.3 and banshee 1.7.5. If you can still reproduce the issue please reopen the bug.