On Dienstag, 26. August 2014, 08:21:50 wrote lars@steinwurf.com:
Hey. I am trying to use the OSC tools on fedora but keeps getting this error
[tools@steinwurf-124 ~]$ osc help Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 8182, in _load_plugins mod = imp.load_source(modname, os.path.join(plugin_dir, extfile)) File "/var/lib/osc-plugins/osc-createspec.py", line 3, in <module> @cmdln.option('--standard', metavar='STANDARD', NameError: name 'cmdln' is not defined
/var/lib/osc-plugins/osc-createspec.py: name 'cmdln' is not defined
Try 'env OSC_PLUGIN_FAIL_IGNORE=1 osc ...'
I have installed OSC from the x86_64 repo, found here: http://download.opensuse.org/repositories/openSUSE:/Tools/Fedora_20/
ANy ideas how to fix it? My python version is python 2.7.5
hm, the cmdln.py* files are part of the rpm and sitting next to the other osc python modules. Are you sure your osc rpm is installed correctly? rpm -V osc does it work when you run it from git? git clone git@github.com:openSUSE/osc.git cd osc python osc-wrapper.py --help ? -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org