Mailinglist Archive: opensuse-buildservice (116 mails)

< Previous Next >
Re: [opensuse-buildservice] About: OSC don't work on Fedora
On Dienstag, 26. August 2014, 08:21:50 wrote lars@xxxxxxxxxxxxx:
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@xxxxxxxxxx:openSUSE/osc.git
cd osc
python osc-wrapper.py --help

?

--

Adrian Schroeter
email: adrian@xxxxxxx

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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References