Bug 623963

Summary: SyntaxError: invalid syntax in cmd_workflow_kernel.py
Product: [Retired] Beaker Reporter: Alexander Todorov <atodorov>
Component: command lineAssignee: Raymond Mancy <rmancy>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 0.5CC: bpeck, ebaak, kbaker, mcsontos, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-27 07:03:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Todorov 2010-08-13 10:01:29 UTC
Description of problem:

$ bkr
Traceback (most recent call last):
  File "/usr/bin/bkr", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 277, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2180, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1913, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.4/site-packages/bkr/client/main.py", line 18, in ?
    CommandContainer.register_module(bkr.client.commands, prefix="cmd_")
  File "/usr/lib/python2.4/site-packages/kobo/plugins.py", line 135, in register_module
    __import__(module.__name__, {}, {}, module_list)
  File "/usr/lib/python2.4/site-packages/bkr/client/commands/cmd_workflow_kernel.py", line 24
    class Matrixes():
                   ^
SyntaxError: invalid syntax


Version-Release number of selected component (if applicable):
beaker-client-0.5.52-3.el5
beaker-redhat-0.1.13-1.el5

How reproducible:
always

Steps to Reproduce:
1. Install beaker-redhat package and run bkr command.
2.
3.
  
Actual results:
bkr command is unusable, not even help works

Expected results:
bkr works. At least if some command is broken this doesn't affect other commands. 

Additional info:

Comment 4 Marian Csontos 2010-08-23 10:45:48 UTC
As I do not have an EL5 machine with kerberos set, could you try following build please:

  https://brewweb.devel.redhat.com//buildinfo?buildID=141315

which is the snapshot of:

  http://git.engineering.redhat.com/?p=users/mcsontos/beaker-redhat.git;a=summary

It now runs on EL5, but does not connect...

Comment 5 Alexander Todorov 2010-08-23 11:27:49 UTC
This works for me. No traceback.

Comment 6 Marian Csontos 2010-08-23 12:20:31 UTC
Thanks. I will brew it for Wednesday's update.

Comment 11 Raymond Mancy 2010-08-27 07:03:02 UTC
Harness synch'ed