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 531727 - Mtp doesn't work, throws up HAL error
Mtp doesn't work, throws up HAL error
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Device - USB Mass Storage
git master
Other All
: Normal major
: 1.0
Assigned To: Gabriel Burt
Gabriel Burt
Depends on:
Blocks:
 
 
Reported: 2008-05-06 13:21 UTC by Chow Loong Jin
Modified: 2008-05-06 15:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chow Loong Jin 2008-05-06 13:21:52 UTC
Please describe the problem:
When plugging in a device with the .is_audio_player file present, Banshee throws up an exception to do with HAL:


[Warn  20:57:24.722] Caught an exception - Object reference not set to an instance of an object (in `Banshee.Dap.MassStorage')
  at Banshee.Dap.MassStorage.MassStorageSource.get_MediaCapabilities () [0x00000] in /var/abs/local/yaourtbuild/banshee-1-svn/src/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs:103
  at Banshee.Dap.DapSource.Initialize () [0x0010a] in /var/abs/local/yaourtbuild/banshee-1-svn/src/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs:114
  at Banshee.Dap.MassStorage.MassStorageSource.DeviceInitialize (IDevice device) [0x00057] in /var/abs/local/yaourtbuild/banshee-1-svn/src/banshee/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs:69
  at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00025] in /var/abs/local/yaourtbuild/banshee-1-svn/src/banshee/src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs:127 

Steps to reproduce:
1. Start Banshee
2. Plug in phone, and select file transfer mode.
3. Memory stick shows up on desktop.
4. No response in Banshee's window, but exception shown in command line output.


Actual results:
Banshee throws up a HAL exception

Expected results:
Banshee displays the Mtp device and allows me to add/remove files from it.

Does this happen every time?
Yes

Other information:
Distro: ArchLinux
Bug doesn't happen with Banshee 0.98.3.
Disabling and re-enabling the mtp plugin results in the exception being thrown again.
Comment 1 Gabriel Burt 2008-05-06 14:07:01 UTC
MTP != Mass Storage.  Are you confusing the two?
Comment 2 Chow Loong Jin 2008-05-06 15:22:11 UTC
Yes I am. Whoops.
Comment 3 Gabriel Burt 2008-05-06 15:22:30 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.