Package Details: usb-creator 0.3.17-1

Git Clone URL: https://aur.archlinux.org/usb-creator.git (read-only, click to copy)
Package Base: usb-creator
Description: Create bootable USB from a LiveCD or disc image of Ubuntu
Upstream URL: https://git.launchpad.net/~usb-creator-hackers/usb-creator/+git/main
Keywords: boot disc image livecd ubuntu
Licenses: GPL3
Submitter: menollo
Maintainer: tee
Last Packager: tee
Votes: 372
Popularity: 0.39
First Submitted: 2008-11-11 00:47 (UTC)
Last Updated: 2024-09-07 14:07 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »

Dijx commented on 2020-01-30 15:03 (UTC) (edited on 2020-01-30 15:14 (UTC) by Dijx)

To fix ModuleNotFoundError: No module named 'sip' remove or comment line #import sip, then add line from PyQt5 import sip. I suppose the same would go for gtk version. But then, some other thing seems not working...

ericthefish commented on 2019-04-01 09:09 (UTC)

It seems that python-sip should also be listed as a dependency for this.

$ usb-creator-kde 
Traceback (most recent call last):
  File "/usr/bin/usb-creator-kde", line 21, in <module>
    import sip
ModuleNotFoundError: No module named 'sip'

Maelan commented on 2018-10-24 20:47 (UTC) (edited on 2018-10-24 20:57 (UTC) by Maelan)

I get a compile-time error, while running package() :

Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from DistUtilsExtra.command import *
ModuleNotFoundError: No module named 'DistUtilsExtra'

even though package python-distutils-extra (version 2.39-3) is properly installed.

carstene1ns commented on 2018-10-08 10:01 (UTC)

Sorry for the lack of updates here, should work again as intended.

aaronleao commented on 2018-08-02 02:04 (UTC)

erikzenker: About the error: ValueError: Namespace Unity not available I just commented the line 28 of the file /usr/lib/python3.6/site-packages/usbcreator/frontends/gtk/unitysupport.py. And work just fine.

farao commented on 2018-02-15 14:09 (UTC) (edited on 2018-02-15 14:12 (UTC) by farao)

So I installed this and got, like the others, the " ValueError: Namespace Unity not available" error. I looked a bit in the code and found the problem.

FIX:

change the line 28 in ..site-packages/usbcreator/frontends/gtk/unitysupport.py

from

except ImportError as e:

to

except (ImportError, ValueError) as e:

EXPLANATION:

In ..site-packages/usbcreator/frontends/gtk/unitysupport.py it checks if the Unity environment (the former Ubuntu desktop environment) is running and therefore calls require_versions('Unity', '7.0') in a try block that has an except block for exceptions of type "ImportError". BUT require_versions (..site-packages/gi/init.py:92) throws an exception of type ValueError.

THIS PACKAGE SHOULD BE UPDATED

I also looked up the current version of usbcreator from upstream (https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/usb-creator/trusty/view/head:/usbcreator/frontends/gtk/unitysupport.py) and there the require_versions check was completely deleted. Maybe it would help to just update this package to the current version of the code instead of wildly patching in it :-)

erikzenker commented on 2017-11-04 11:05 (UTC)

I also get the error of the previous comment: ... ValueError: Namespace Unity not available

lynix commented on 2017-09-19 08:34 (UTC)

Missing some unity stuff as dependency? $ usb-creator-gtk Traceback (most recent call last): File "/usr/bin/usb-creator-gtk", line 28, in <module> from usbcreator.frontends.gtk import GtkFrontend File "/usr/lib/python3.6/site-packages/usbcreator/frontends/gtk/__init__.py", line 1, in <module> from usbcreator.frontends.gtk.frontend import GtkFrontend File "/usr/lib/python3.6/site-packages/usbcreator/frontends/gtk/frontend.py", line 31, in <module> from usbcreator.frontends.gtk.unitysupport import UnitySupport File "/usr/lib/python3.6/site-packages/usbcreator/frontends/gtk/unitysupport.py", line 28, in <module> gi.require_version('Unity', '7.0') File "/usr/lib/python3.6/site-packages/gi/__init__.py", line 118, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Unity not available

KinG-InFeT commented on 2016-01-22 10:34 (UTC)

┌─[benzi] @ [benzi-pc] └─[(~)] > packer -S usb-creator warning: usb-creator is flagged out of date AUR (1): usb-creator Proceed with installation? [Y/n] y Installing AUR package: usb-creator Edit usb-creator PKGBUILD? [y/N] n Edit usb-creator.install? [y/N] n ==> Creazione del pacchetto: usb-creator 0.2.67-2 (ven 22 gen 2016, 12.32.17, CET) ==> Controllo delle dipendenze durante l'avvio in corso... ==> Dipendenze mancanti: -> python-debian ==> Controllo delle dipendenze durante la compilazione in corso... ==> Dipendenze mancanti: -> python-distutils-extra ==> ERRORE: Impossibile risolvere tutte le dipendenze. The build failed.