phpmyadmin / scripts

Various scripts related to project
16 stars 19 forks source link

No module named config in Planet builder #53

Open ibennetch opened 1 year ago

ibennetch commented 1 year ago

Since the server upgrade to Debian Bookworm, the following error occurs when trying to run scripts/website/pma-planet

Traceback (most recent call last):
  File "/home/builder/venus/planet.py", line 60, in <module>
    from planet import config
  File "/home/builder/venus/planet/__init__.py", line 8, in <module>
    import config
ModuleNotFoundError: No module named 'config'
williamdes commented 1 year ago

Could be related to phpmyadmin/website#160

williamdes commented 1 year ago

I changed it to @hourly /usr/bin/python3 /home/builder/website/manage.py fetch_planet Let's see

Edit: 🤦🏻 It's not the right command, let's try once more

williamdes commented 1 year ago

I stopped the crons for planet, after a lot of patching in the venus code, it's still not python3 compatible. My test command was PYTHONPATH=/home/builder/venus/planet python /home/builder/venus/planet.py ~/planet/planet.ini as builder

williamdes commented 1 year ago

@ibennetch There is currently a vote on the topic of Planet in Element. Could you have a look please ?