On 03/12/2014 08:18 PM, Josh Stone wrote:
> For instance, right now I get:
> 
>> $ pydoc -k xyzzy
>> lib2to3.fixes.fix_repr - Fixer that transforms `xyzzy` into repr(xyzzy).
>> Traceback (most recent call last):
>>   File "/usr/bin/pydoc", line 5, in <module>
>>     pydoc.cli()
>>   File "/usr/lib64/python2.7/pydoc.py", line 2292, in cli
>>     apropos(val)
>>   File "/usr/lib64/python2.7/pydoc.py", line 1992, in apropos
>>     ModuleScanner().run(callback, key, onerror=onerror)
>>   File "/usr/lib64/python2.7/pydoc.py", line 1973, in run
>>     module = loader.load_module(modname)
>> AttributeError: 'NoneType' object has no attribute 'load_module'
> 
> It's hard to track that down, but with "strace -e open" it looks like
> somewhere in site-packages/rpm/.  I couldn't figure out exactly which
> subpackage is triggering this.

I really would like to get this fixed if it really is a problem in
rpm-python. But someone needs to come up with some better error messages
or other way of finding out what the actual problem is. After a quick
view in the pydoc doc I am no longer sure that this is an rpm problem,
though. This could also be a bug in pydoc or pkgutil or some other
python module being processed.

Florian
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to