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

Python ImportError undefined symbol when running bin/zou init-db on a fresh install #916

Closed
elias-schwarze opened this issue Feb 7, 2025 · 4 comments
Assignees
Labels

Comments

@elias-schwarze
Copy link

Context

Studio name: Balance Film GmbH
Zou version: 0.20.15
Zou installation type: self-hosted
Ubuntu Version 24.04.1 LTS

Describe the bug
While running bin/zou init-db while installing zou, it fails with a python error (Traceback attached) and does not initialize the zou database. As a result, the database remains empty.
Python3.12 is installed.

traceback.txt

Expected behavior
init-db should initialise the zou database.

Additional context
I was following the instructions at https://zou.cg-wire.com/ for setting up zou. We previously had a much older version (0.16.x) running, but I completely removed zou and attempted a fresh install for the current version. This is when the bug happened.

@EvanBldy
Copy link
Member

Hi @elias-schwarze,
This is mainly a python/ubuntu error. Have you just upgraded your ubuntu ?
If yes, have you removed all the files from your virtualenv ?
I think I will start by removing and recreating my virtualenv in this case.

@elias-schwarze
Copy link
Author

Apologies, I did indeed upgrade to Ubuntu 24.04 recently and it seems that I have a dependency issue with python3.12-dev. I will try and fix that before attempting to install zou again.

@elias-schwarze
Copy link
Author

Hi @EvanBldy, after resolving my issues with the python3.12-dev package and recreating the zou venv, everything works like a charm. Thanks!

@EvanBldy
Copy link
Member

Hi @elias-schwarze,

Cool! So I close this issue.

Have a nice day.

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

No branches or pull requests

2 participants