Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: bad magic number in 'zimply': b'\x03\xf3\r\n' #32

Open
scottmayo opened this issue Sep 27, 2022 · 2 comments
Open

ImportError: bad magic number in 'zimply': b'\x03\xf3\r\n' #32

scottmayo opened this issue Sep 27, 2022 · 2 comments

Comments

@scottmayo
Copy link

Just did an upgrade on a raspberry pi and did
pip3 install zimply
and got .... Successfully installed zimply-1.1.4

But creating server.py:

from zimply import ZIMServer
ZIMServer("fas-military-medicine_2022-03.zim")

and running it with
python3 server.py
yields:

Traceback (most recent call last):
  File "server.py", line 1, in <module>
    from zimply import ZIMServer
ImportError: bad magic number in 'zimply': b'\x03\xf3\r\n'

so maybe it didn't install correctly after all?

@scottmayo
Copy link
Author

Is this code dead? I expected a quick "oh, you did X wrong, try Y."

@kimbauters
Copy link
Owner

You are free to look at the code and submit fixes yourself. This is an unpaid open-source project where I contribute when I can. At the moment, I cannot contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants