[python-bugzilla] bin/bugzilla

Sabato, Chris chris.sabato at bluecoat.com
Fri Jul 12 12:30:15 UTC 2013


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 at lists.fedorahosted.org [mailto:python-bugzilla-bounces at 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 at 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 at gtr:~/bug/python-bugzilla (master)$ pwd
/users/csabato/bug/python-bugzilla
csabato at gtr:~/bug/python-bugzilla (master)$

-----Original Message-----
From: Cole Robinson [mailto:crobinso at 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 at 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 at lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla


More information about the python-bugzilla mailing list