[opensuse-buildservice] About: OSC don't work on Fedora
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 Best Regards: Lars -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
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
On 26/08/14 09:02, Adrian Schröter wrote:
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
?
rpm -V osc returns nothing. But I add and enabled the repo and ran yum install osc as root. and the osc command exist in my command line. cloned from git: [tools@steinwurf-124 Documents]$ git clone git@github.com:openSUSE/osc.git Cloning into 'osc'... remote: Counting objects: 12255, done. remote: Compressing objects: 100% (5/5), done. remote: Total 12255 (delta 0), reused 0 (delta 0) Receiving objects: 100% (12255/12255), 5.90 MiB | 908.00 KiB/s, done. Resolving deltas: 100% (8002/8002), done. Checking connectivity... done. [tools@steinwurf-124 Documents]$ cd osc/ [tools@steinwurf-124 osc]$ python osc-wrapper.py --help Traceback (most recent call last): File "/home/tools/Documents/osc/osc/commandline.py", line 8197, 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 ...' More info about my system, seems in order: uname -r: 3.15.10-200.fc20.x86_64 uname -m: x86_64 Fedora version 20 Best Regards Lars -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2014-08-26 08:21:50 +0200, lars@steinwurf.com wrote:
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
The osc-createspec.py misses a "from osc import cmdln" statement. Do you know which package provides this plugin? What's the output of rpm -qf /var/lib/osc-plugins/osc-createspec.py ? Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 26/08/14 11:55, Marcus Hüwe wrote:
On 2014-08-26 08:21:50 +0200, lars@steinwurf.com wrote:
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
The osc-createspec.py misses a "from osc import cmdln" statement. Do you know which package provides this plugin? What's the output of rpm -qf /var/lib/osc-plugins/osc-createspec.py ?
Marcus No I don't know which specific package provides it, but i will try and find out. and rpm -gf /var/lib/osc-plugins/osc-createspec.py yield: osc-plugins-gnome-0.4.27-3.16.x86_64
- Lars -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2014-08-26 13:00:39 +0200, Lars Nielsen wrote:
On 26/08/14 11:55, Marcus Hüwe wrote:
On 2014-08-26 08:21:50 +0200, lars@steinwurf.com wrote:
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
The osc-createspec.py misses a "from osc import cmdln" statement. Do you know which package provides this plugin? What's the output of rpm -qf /var/lib/osc-plugins/osc-createspec.py ?
Marcus No I don't know which specific package provides it, but i will try and find out. and rpm -gf /var/lib/osc-plugins/osc-createspec.py yield: osc-plugins-gnome-0.4.27-3.16.x86_64
Thanks (that's the package that ships the osc-createspec.py file). SR#246533 should fix this problem. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, 26 Aug 2014 15:37:13 +0200, Marcus Hüwe wrote:
SR#246533 should fix this problem.
Just in case there are other readers like me who don't really know what that means. $ osc request show -d 246533 (Wasn't so easy to google that up, because I didn't know any search words to begin with. After while of guessing and browsing around I came to the conclusion that SR might stand for submit request.) It won't help the original poster as long as his osc isn't fixed, is searching for other users' requests also in the GUI? Couldn't find it. Regards, Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gxuder@nomovok.com (bot check: humans correct 1 obvious spelling error) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 26/08/14 17:33, Uwe Geuder wrote:
On Tue, 26 Aug 2014 15:37:13 +0200, Marcus Hüwe wrote:
SR#246533 should fix this problem. Just in case there are other readers like me who don't really know what that means.
$ osc request show -d 246533
(Wasn't so easy to google that up, because I didn't know any search words to begin with. After while of guessing and browsing around I came to the conclusion that SR might stand for submit request.)
It won't help the original poster as long as his osc isn't fixed, is searching for other users' requests also in the GUI? Couldn't find it.
Regards,
Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gxuder@nomovok.com (bot check: humans correct 1 obvious spelling error) Yeah this don't fix it, when my osc is broken. Any other ideas?
- Lars -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mittwoch, 27. August 2014, 08:06:12 wrote Lars Nielsen:
On 26/08/14 17:33, Uwe Geuder wrote:
On Tue, 26 Aug 2014 15:37:13 +0200, Marcus Hüwe wrote:
SR#246533 should fix this problem. Just in case there are other readers like me who don't really know what that means.
$ osc request show -d 246533
(Wasn't so easy to google that up, because I didn't know any search words to begin with. After while of guessing and browsing around I came to the conclusion that SR might stand for submit request.)
It won't help the original poster as long as his osc isn't fixed, is searching for other users' requests also in the GUI? Couldn't find it.
Regards,
Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gxuder@nomovok.com (bot check: humans correct 1 obvious spelling error) Yeah this don't fix it, when my osc is broken. Any other ideas?
osc breaks at the plugin code, which Marcus just fixed it. If you do not need the plugin, you can also just de-install it. rpm -e osc-plugins-gnome Or pull the new plugin from the project of Marcus: home:Marcus_H:branches:openSUSE:Tools/osc-plugins-gnome he has also a build for Fedora 20 -- 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
Thank you very much - Lars On 27/08/14 08:09, Adrian Schröter wrote:
On Mittwoch, 27. August 2014, 08:06:12 wrote Lars Nielsen:
On 26/08/14 17:33, Uwe Geuder wrote:
On Tue, 26 Aug 2014 15:37:13 +0200, Marcus Hüwe wrote:
SR#246533 should fix this problem. Just in case there are other readers like me who don't really know what that means.
$ osc request show -d 246533
(Wasn't so easy to google that up, because I didn't know any search words to begin with. After while of guessing and browsing around I came to the conclusion that SR might stand for submit request.)
It won't help the original poster as long as his osc isn't fixed, is searching for other users' requests also in the GUI? Couldn't find it.
Regards,
Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gxuder@nomovok.com (bot check: humans correct 1 obvious spelling error) Yeah this don't fix it, when my osc is broken. Any other ideas? osc breaks at the plugin code, which Marcus just fixed it.
If you do not need the plugin, you can also just de-install it.
rpm -e osc-plugins-gnome
Or pull the new plugin from the project of Marcus:
home:Marcus_H:branches:openSUSE:Tools/osc-plugins-gnome
he has also a build for Fedora 20
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2014-08-27 08:09:38 +0200, Adrian Schröter wrote:
On Mittwoch, 27. August 2014, 08:06:12 wrote Lars Nielsen:
On 26/08/14 17:33, Uwe Geuder wrote:
On Tue, 26 Aug 2014 15:37:13 +0200, Marcus Hüwe wrote:
<SNIP>
It won't help the original poster as long as his osc isn't fixed, is searching for other users' requests also in the GUI? Couldn't find it.
Regards,
Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gxuder@nomovok.com (bot check: humans correct 1 obvious spelling error)
Yeah this don't fix it, when my osc is broken. Any other ideas?
osc breaks at the plugin code, which Marcus just fixed it.
If you do not need the plugin, you can also just de-install it.
rpm -e osc-plugins-gnome
Or pull the new plugin from the project of Marcus:
home:Marcus_H:branches:openSUSE:Tools/osc-plugins-gnome
he has also a build for Fedora 20
3rd alternative:) You can also export OSC_PLUGIN_FAIL_IGNORE=1 Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi! On Wed, 27 Aug 2014 08:06:12 +0200, Lars Nielsen wrote:
Yeah this don't fix it, when my osc is broken.
It wouldn't have fixed it anyway, it would have just shown you what they have changed in the source to fix it. But I could of course have pasted the output of the command, too. Sorry did not think that far. Luckily Adrian has answered already so you should get going.
Any other ideas?
I regularly work in several distros as a working environment and really appreciate the maintainer's efforts to keep OBS portable and available in several "competing" distros. However, it's a fact of live that living software breaks from time to time, and for obvious reasons problems in OBS exist more often in other distros than in OpenSUSE. So I always have at least a minimal server installation of the current OpenSUSE release in a little virtual machine whenever my current working environment is not OpenSUSE or an older version of OpenSUSE. Most "bugs" are user errors anyway, and a quick comparison of how it works "at its best" rules out a lot of false suspicions right away. And if it works differently it's usually easy to find where the difference comes from. osc --debugger is your friend. Regards, Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gxuder@nomovok.com (bot check: humans correct 1 obvious spelling error) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (5)
-
Adrian Schröter
-
Lars Nielsen
-
lars@steinwurf.com
-
Marcus Hüwe
-
Uwe Geuder