pfalcon / pycopy-lib

Standard library of the Pycopy project, minimalist and light-weight Python language implementation
https://github.com/pfalcon/pycopy
Other
246 stars 70 forks source link

zlib : ' object has no attribute 'func' #51

Closed QAMU closed 3 years ago

QAMU commented 4 years ago

hello everyone, please what is the problem in this :

File "zlib.py", line 9, in <module>
AttributeError: 'NoneType' object has no attribute 'func'

I have also the ffi.py lib but the same problem

pfalcon commented 4 years ago

Please see https://www.chiark.greenend.org.uk/~sgtatham/bugs.html .

pmp-p commented 3 years ago

The problem is in the way ffilib.open deals with versions for shared library ( or static libc ) on operating system which OP should really give some info about.

it not a zlib problem but an ffilib problem and i've already seen it in the past. it probably could be fixed with more information.

pfalcon commented 3 years ago

Yes, and the "How to Report Bugs Effectively" guide, quoted above, should help with providing more, relevant, information.