I am unable to execute bin/bugzilla, I get the following error:
csabato@gtr:~/bug/python-bugzilla (master)$ bin/bugzilla Traceback (most recent call last): File "bin/bugzilla", line 35, in <module> log = bugzilla.log AttributeError: 'module' object has no attribute 'log'
I do have the python-bugzilla fc 19 package.
[root@gtr ~]# rpm -qa |grep bugzilla python-bugzilla-0.9.0-1.fc19.noarch
Any help would be great
Thanks, Chris
On 07/11/2013 03:13 PM, Sabato, Chris wrote:
I am unable to execute bin/bugzilla, I get the following error:
csabato@gtr:~/bug/python-bugzilla (master)$ bin/bugzilla
Traceback (most recent call last):
File "bin/bugzilla", line 35, in <module>
log = bugzilla.log
AttributeError: 'module' object has no attribute 'log'
From the source dir, you have to do
PYTHONPATH=. bin/bugzilla ...
- Cole
csabato@gtr:~/bug/python-bugzilla (master)$ PYTHONPATH=. bin/bugzilla Traceback (most recent call last): File "bin/bugzilla", line 34, in <module> log = bugzilla.log AttributeError: 'module' object has no attribute 'log' csabato@gtr:~/bug/python-bugzilla (master)$ pwd /users/csabato/bug/python-bugzilla csabato@gtr:~/bug/python-bugzilla (master)$
-----Original Message----- From: Cole Robinson [mailto:crobinso@redhat.com] Sent: Thursday, July 11, 2013 4:23 PM To: python-bugzilla user/developer list Cc: Sabato, Chris Subject: Re: [python-bugzilla] bin/bugzilla
On 07/11/2013 03:13 PM, Sabato, Chris wrote:
I am unable to execute bin/bugzilla, I get the following error:
csabato@gtr:~/bug/python-bugzilla (master)$ bin/bugzilla
Traceback (most recent call last):
File "bin/bugzilla", line 35, in <module>
log = bugzilla.log
AttributeError: 'module' object has no attribute 'log'
From the source dir, you have to do
PYTHONPATH=. bin/bugzilla ...
- Cole
On 07/11/2013 04:51 PM, Sabato, Chris wrote:
csabato@gtr:~/bug/python-bugzilla (master)$ PYTHONPATH=. bin/bugzilla Traceback (most recent call last): File "bin/bugzilla", line 34, in <module> log = bugzilla.log AttributeError: 'module' object has no attribute 'log' csabato@gtr:~/bug/python-bugzilla (master)$ pwd /users/csabato/bug/python-bugzilla csabato@gtr:~/bug/python-bugzilla (master)$
From the source dir, what does this give: PYTHONPATH=. python -c 'import
bugzilla; print bugzilla; print dir(bugzilla)'
- Cole
I was able to resolve this, I had a conflicting bugzilla python package: /usr/lib/python2.7/site-packages/bztools-0.0.1-py2.7.egg/
After removing this, I am able to execute the binary. Thank you for your help :-)
Thanks, Chris
-----Original Message----- From: python-bugzilla-bounces@lists.fedorahosted.org [mailto:python-bugzilla-bounces@lists.fedorahosted.org] On Behalf Of Sabato, Chris Sent: Thursday, July 11, 2013 4:51 PM To: Cole Robinson; python-bugzilla user/developer list Subject: Re: [python-bugzilla] bin/bugzilla
csabato@gtr:~/bug/python-bugzilla (master)$ PYTHONPATH=. bin/bugzilla Traceback (most recent call last): File "bin/bugzilla", line 34, in <module> log = bugzilla.log AttributeError: 'module' object has no attribute 'log' csabato@gtr:~/bug/python-bugzilla (master)$ pwd /users/csabato/bug/python-bugzilla csabato@gtr:~/bug/python-bugzilla (master)$
-----Original Message----- From: Cole Robinson [mailto:crobinso@redhat.com] Sent: Thursday, July 11, 2013 4:23 PM To: python-bugzilla user/developer list Cc: Sabato, Chris Subject: Re: [python-bugzilla] bin/bugzilla
On 07/11/2013 03:13 PM, Sabato, Chris wrote:
I am unable to execute bin/bugzilla, I get the following error:
csabato@gtr:~/bug/python-bugzilla (master)$ bin/bugzilla
Traceback (most recent call last):
File "bin/bugzilla", line 35, in <module>
log = bugzilla.log
AttributeError: 'module' object has no attribute 'log'
From the source dir, you have to do
PYTHONPATH=. bin/bugzilla ...
- Cole
_______________________________________________ python-bugzilla mailing list python-bugzilla@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla
python-bugzilla@lists.stg.fedorahosted.org