Syncropated can't find devices

Bug #165026 reported by Anton Yakutovich
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
syncropated (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: syncropated

When I start syncropated, I usually see message "Syncropated! was not able to find any compatible Mass Storages Device." but mp3-player and sd-card mounted.
Could you make an opportunity to choose a device as mounted folder?

Thank you for your attention.

Revision history for this message
MattMartin (mgmspam1) wrote :

Same here, doesn't find mounted SD card.

Revision history for this message
David Anes (kraptor) wrote :

Neither here :(

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10?

Changed in syncropated:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in syncropated:
status: Incomplete → Invalid
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Reopening this bug, I have the same problem in 8.10. I'll also check Jaunty alpha 4 once / if syncropated can ever digest my 11K song collection (or on a separate test machine).

Changed in syncropated:
importance: Undecided → Medium
status: Invalid → New
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

I tested in 8.10 with:
- USB Key
- Phone
- SD card mounted as removable storage
- External USB drive

None of them are detected by syncropated.

Revision history for this message
Paul Mirowsky (p-mirowsky-verizon) wrote :

Software with problem: Syncropated (file alignment bewtween Rhythmbox with mass storage devices such as the Nokia N770, MMC and SD cards.)

I am running Jaunty Jackalope 9.04 on amd64.

I have tried to install and unistall reinstall Syncropated and Python several ways.

Synaptic thinks it has the most current version, 0.2.0-0ubuntu5

Python versions on computer are 2.4, 2.5 and 2.6.
Python on command line and hit enter)
"Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
[GCC 4.3.3] on linux2"

Syncropated programs in
/usr/share/python-support/syncropated/syncropated
/usr/lib/python2.4/site-packages/syncropated
/var/lib/python-support/python2.5/syncropated
/var/lib/python-support/python2.6/syncropated
/usr/share/syncropated (Data folder only)

When running from command line I get:
paul@ubuntu:~$ syncropated
/var/lib/python-support/python2.6/syncropated/AlternativePath.py:35: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import sys, warnings, os, fnmatch, glob, shutil, codecs, md5
/usr/share/syncropated/data/
/usr/share/syncropated/data/ui/syncropated-ui.glade

Resulting with software loading to:
Syncropated! was not able to find any compatible Mass Storages Device.
Please make sure you device is plugged into the computer.

Supposedly, this error has been solved in current version of software.

I have used several versions of storage devices on different usb ports on my
computer which does not effect the result.

I can only conclude that if there has been a correction, that it is a
mix of programs that are not working together.

Revision history for this message
Fuzzy (blessedbiped) wrote :

having the same issue, still there on 9.10. happens with/without rhythmbox open, won't see anything in the usb port. is there any other program that does this?

Revision history for this message
micla21@yahoo.it (micla21) wrote :

When I start syncropated, I usually see message "Syncropated! was not able to find any compatible Mass Storages Device."
Please make sure you device is plugged into the computer.
what device I plugged in my PC?
 but I have only HD mounted where I wish to start my folders...

Revision history for this message
Night64 (roberto-berlim) wrote :

I have the same message. ""Syncropated! was not able to find any compatible Mass Storages Device."
on CLI:

roberto@SENCO-CJF9871:~$ syncropated
/usr/lib/pymodules/python2.6/syncropated/AlternativePath.py:35: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import sys, warnings, os, fnmatch, glob, shutil, codecs, md5
/usr/share/syncropated/data/
/usr/share/syncropated/data/ui/syncropated-ui.glade
/usr/lib/pymodules/python2.6/gazpacho/loader/loader.py:496: DeprecationWarning: Use the new widget gtk.Tooltip
  self._tooltips = gtk.Tooltips()
/usr/lib/pymodules/python2.6/gazpacho/loader/loader.py:497: DeprecationWarning: Use the new widget gtk.Tooltip
  self._tooltips.enable()
roberto@SENCO-CJF9871:~$

And with the following devices attached: 1171.731277] usb 1-4: new high speed USB device using ehci_hcd and address 6
[ 1171.892299] usb 1-4: configuration #1 chosen from 1 choice
[ 1171.906291] scsi8 : SCSI emulation for USB Mass Storage devices
[ 1171.906667] usb-storage: device found at 6
[ 1171.906670] usb-storage: waiting for device to settle before scanning
[ 1176.900159] usb-storage: device scan complete
[ 1176.900655] scsi 8:0:0:0: Direct-Access Motorola A853 0001 PQ: 0 ANSI: 2
[ 1176.901053] sd 8:0:0:0: Attached scsi generic sg4 type 0
[ 1176.905766] sd 8:0:0:0: [sdd] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[ 1176.906572] sd 8:0:0:0: [sdd] Write Protect is off
[ 1176.906575] sd 8:0:0:0: [sdd] Mode Sense: 03 00 00 00
[ 1176.906578] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[ 1176.911010] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[ 1176.911014] sdd: sdd1
[ 1177.215290] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[ 1177.215294] sd 8:0:0:0: [sdd] Attached SCSI removable disk
[ 1626.150040] usb 2-6: new high speed USB device using ehci_hcd and address 3
[ 1626.306401] usb 2-6: configuration #1 chosen from 1 choice
[ 1626.310961] scsi9 : SCSI emulation for USB Mass Storage devices
[ 1626.312773] usb-storage: device found at 3
[ 1626.312776] usb-storage: waiting for device to settle before scanning
[ 1631.311386] usb-storage: device scan complete
[ 1631.312003] scsi 9:0:0:0: Direct-Access JetFlash Transcend 16GB 8.07 PQ: 0 ANSI: 2
[ 1631.312372] sd 9:0:0:0: Attached scsi generic sg3 type 0
[ 1631.318244] sd 9:0:0:0: [sdc] 31375360 512-byte logical blocks: (16.0 GB/14.9 GiB)
[ 1631.318736] sd 9:0:0:0: [sdc] Write Protect is off
[ 1631.318739] sd 9:0:0:0: [sdc] Mode Sense: 03 00 00 00
[ 1631.318742] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 1631.321236] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 1631.321240] sdc: sdc1
[ 1632.057900] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 1632.057903] sd 9:0:0:0: [sdc] Attached SCSI removable disk

Revision history for this message
yohann (mrgabory) wrote :

same bug for me. But after investigation, I have found DeviceDetection.py in the source. Here is the file :

import dbus

def get_compatible_devices():
 devices = []

 bus = dbus.SystemBus()
 hal_manager_obj = bus.get_object("org.freedesktop.Hal", "/org/freedesktop/Hal/Manager")
 hal_manager = dbus.Interface(hal_manager_obj, "org.freedesktop.Hal.Manager")

 volume_udi_list = hal_manager.FindDeviceByCapability ('volume')

 for udi in volume_udi_list:
  volume = bus.get_object("org.freedesktop.Hal", udi)
  fstype = volume.GetProperty ('volume.fstype')
  mount_point = volume.GetProperty ('volume.mount_point')
  is_mounted = volume.GetProperty ('volume.is_mounted')
  is_mounted_read_only = volume.GetProperty ('volume.is_mounted_read_only')

  device_file = volume.GetProperty ('block.device')
  storage_udi = volume.GetProperty ('block.storage_device')

  storage = bus.get_object("org.freedesktop.Hal", storage_udi)
  drive_type = storage.GetProperty ('storage.bus')

  # Check if it is a Mass Storage Device and we can write to it
  if drive_type != "usb" or not is_mounted or is_mounted_read_only:
   continue

  info_udi = volume.GetProperty ('info.parent')
  info = bus.get_object("org.freedesktop.Hal", info_udi)

  # Only accept N770 and Portable Audio Players
  try:
   player_type = info.GetProperty ('portable_audio_player.type')
  except dbus.DBusException, e:
   if info.GetProperty ('info.product') == "770":
    player_type = "770"
    pass
   else:
    continue

  # Ignore iPods as they work differently than other Mass Storage Devices
  if player_type == "ipod":
   continue

  for i in range(4):
    info_udi = info.GetProperty ('info.parent')
   info = bus.get_object("org.freedesktop.Hal", info_udi)

  product_name = info.GetProperty ('info.product')

  devices.append( (product_name, mount_point) )

 return devices

the instruction : fstype = volume.GetProperty ('volume.fstype') gave me :

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.112" (uid=1000 pid=7470 comm="python) interface="(unset)" member="GetProperty" error name="(unset)" requested_reply=0 destination=":1.21" (uid=0 pid=1762 comm="/usr/sbin/hald))

I think this is the point where syncropated crash and is not able to detect devices. If someone more tuned with dbus can help ...

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Confirming because it happens to several users.

Changed in syncropated (Ubuntu):
status: New → Confirmed
Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in syncropated (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.