Guido Günther <[email protected]> writes:
>>     $ git-buildpackage --git-verbose --git-ignore-new
>>     Traceback (most recent call last):
>>       File "/usr/bin/git-buildpackage", line 27, in <module>
>>      import gbp.deb as du
>>     ImportError: No module named deb
>> 
>> The reason may be custom PYTHONPATH which is set to:
>> 
>>    
>> .:/root/lib/python:/usr/share/site-python:/root/lib/python:/usr/share/site-python:/root/lib/python:/usr/share/site-python
>> 
>> POSSIBLE SOLUTION
>> 
>> Could git-buildpackage define it's PYTHONPATH to include
>> /usr/share/pyshared/gbp so that libs are always seen?
>
> You're PYTHONPATH lacks /usr/share/pyshared/. Other python stuff that
> uses pyshared is broken too, isn't it?

I don't seem to use any other programs, so I didn't notice this. Could
git-buildpackage make a simple check. Something like:

    git-buildpackage: ERROR: probably misconfigured PYTHONPATH (lacks 
/usr/share/pyshared)

Thanks,
Jari



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to