You have been subscribed to a public bug:

I run Debian 'testing' (wheezy) and have trouble with the linaro image
tools.  A minor problem seems to be that python-parted only gets built
for python 2.7, so I have to manually run that version.  Not a big
deal.  But, then:

davidb@huya:~/linaro% sudo python2.7 linaro-image-tools/linaro-media-create 
--mmc /dev/sde --dev panda --hwpack 
hwpack_linaro-lt-panda_20110920-0_armel_supported.tar.gz --binary 
nano-n-tar-20110920-0.tar.gz
[sudo] password for davidb:
Traceback (most recent call last):
 File "linaro-image-tools/linaro-media-create", line 138, in <module>
   args.nocheck_mmc):
 File 
"/home/davidb/linaro/linaro-image-tools/linaro_image_tools/media_create/check_device.py",
 line 125, in confirm_device_selection_and_ensure_it_is_ready
   if _does_device_exist(device):
 File 
"/home/davidb/linaro/linaro-image-tools/linaro_image_tools/media_create/check_device.py",
 line 58, in _does_device_exist
   bus, udisks = _get_system_bus_and_udisks_iface()
 File 
"/home/davidb/linaro/linaro-image-tools/linaro_image_tools/media_create/check_device.py",
 line 34, in _get_system_bus_and_udisks_iface
   bus.get_object("org.freedesktop.UDisks", "/org/freedesktop/UDisks"),
 File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 244, in get_object
   follow_name_owner_changes=follow_name_owner_changes)
 File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 246, in __init__
   self._named_service = conn.activate_name_owner(bus_name)
 File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 183, in 
activate_name_owner
   self.start_service_by_name(bus_name)
 File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 281, in 
start_service_by_name
   'su', (bus_name, flags)))
 File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in 
call_blocking
   message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The 
name org.freedesktop.UDisks was not provided by any .service files

I think it's trying to ask dbus about the device, but assumes some
kind of service running.  I don't use Gnome (I don't want to use
gnome), and perhaps this is some Gnome service.  Tying the image tools
to the gui seems kind of odd.

BTW, if I just 'return True' in the
confirm_device_selection_and_ensure_it_is_ready it goes through a lot
of steps and then bombs with another error trying to get a device.

(As a side issue, there doesn't seem to be any way of specyfing a proxy server
to be used in the chroot.  We have direct internet access, but it goes through
an evil webwasher, and without a proxy, fetches are very slow.)

I was able to work around this by getting the size of my device, and
making to an image instead of directly to the device.

David

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

** Affects: linaro-image-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Trouble with the linaro image tools on Debian wheezy
https://bugs.launchpad.net/bugs/856671
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to