Re: RFC: LiveUSB Creator Revamped

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 28 May 2015 at 15:04:00, Lubomir Rintel wrote:
> It looks neat!
> 
> A few notes:
> 
> 1.) There's no scrollbar to scroll the list. It only appears upon
> scrolling with a mouse wheel which is kind of useless.
> 
> 2.) It would be nice if the release list was configurable (think
> /usr/lib/liveusb-creator/releases.d + /etc/liveusb-creator/releases.d
> instead of hardcoded in releases.py). That way the default
> installations could bring in the Fedora distributions while an add-on
> packages could add CentOS, RPM Fusion, etc.
> 
> 3.) I've launched liveusb-creator_polkit. However it doesn't seem to
> employ policykit -- the UI itself runs as root! The inconvenient side
> -effect is that the file picker is not entirely relevant and I have
> hard time finding the ISO file I've downloaded.
> 
> 4.) The dependency on udisks is missing and the error is not handled
> gracefully. The following tracebacks appears on the console:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 830, in USBDeviceEnumerationStart
>     self.live.detect_removable_drives(callback=self.USBDeviceCallback)
>   File "/usr/lib/python2.7/site-packages/liveusb/creator.py", line 519, in detect_removable_drives
>     "/org/freedesktop/UDisks")
>   File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
>     follow_name_owner_changes=follow_name_owner_changes)
>   File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
>     self._named_service = conn.activate_name_owner(bus_name)
>   File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
>     self.start_service_by_name(bus_name)
>   File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
>     'su', (bus_name, flags)))
>   File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 651, 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
> 
> The UI is just not able to find the flash drive.
> 
> 5.) The error handling seems messed up. When I hit the write button,
> there's no error in the UI, but the following is in the console:
> 
> [gui:246] (u'T', u'h', u'e', u'r', u'e', u' ', u'i', u's', u' ', u'n', u'o', u't', u' ', u'e', u'n', u'o', u'u', u'g', u'h', u' ', u'f', u'r', u'e', u'e', u' ', u's', u'p', u'a', u'c', u'e', u' ', u'o', u'n', u' ', u't', u'h', u'e', u' ', u's', u'e', u'l', u'e', u'c', u't', u'e', u'd', u' ', u'd', u'e', u'v', u'i', u'c', u'e', u'.', u' ', u'R', u'e', u'q', u'u', u'i', u'r', u'e', u'd', u':', u' ', u'1', u'0', u'5', u'6', u'M', u'B', u'.', u' ', u'F', u'r', u'e', u'e', u':', u' ', u'7', u'0', u'2', u'M', u'B', u'.')
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 243, in run
>     self.copyImage(now)
>   File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 265, in copyImage
>     self.live.check_free_space()
>   File "/usr/lib/python2.7/site-packages/liveusb/creator.py", line 263, in check_free_space
>     str(freebytes/1024**2) + "MB")))
> LiveUSBError: (u'T', u'h', u'e', u'r', u'e', u' ', u'i', u's', u' ', u'n', u'o', u't', u' ', u'e', u'n', u'o', u'u', u'g', u'h', u' ', u'f', u'r', u'e', u'e', u' ', u's', u'p', u'a', u'c', u'e', u' ', u'o', u'n', u' ', u't', u'h', u'e', u' ', u's', u'e', u'l', u'e', u'c', u't', u'e', u'd', u' ', u'd', u'e', u'v', u'i', u'c', u'e', u'.', u' ', u'R', u'e', u'q', u'u', u'i', u'r', u'e', u'd', u':', u' ', u'1', u'0', u'5', u'6', u'M', u'B', u'.', u' ', u'F', u'r', u'e', u'e', u':', u' ', u'7', u'0', u'2', u'M', u'B', u'.')
> [creator:548] Skipping non-usb drive: /org/freedesktop/UDisks/devices/sda1
> 
> 6.) The "write image immediately after download" makes no sense for a
> local ISO, yet it's present.
> 
> Thanks,
> Lubo
> -- 

Thanks for the input, it's very valuable! I'll look into fixing the problems as soon as possible.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux