Kosmorro / kosmorro

A program to calculate your ephemerides.
https://kosmorro.space
GNU Affero General Public License v3.0
60 stars 7 forks source link

ModuleNotFoundError: No module named 'openlocationcode' #235

Closed thierry-FreeBSD closed 2 years ago

thierry-FreeBSD commented 2 years ago

I have searched for an opened issue and didn't find my bug

Version of Kosmorro

0.10

Version of Python

3.8

Operating system

FreeBSD

Installation source

I have compiled the package from source

Bug description

Launching kosmorro 0.10.8 produces the following error:

Traceback (most recent call last):
  File "/usr/local/bin/kosmorro", line 20, in <module>
    from _kosmorro.main import main
  File "/usr/local/lib/python3.8/site-packages/_kosmorro/main.py", line 31, in <module>
    from .geolocation import get_position
  File "/usr/local/lib/python3.8/site-packages/_kosmorro/geolocation.py", line 7, in <module>
    from openlocationcode import openlocationcode
ModuleNotFoundError: No module named 'openlocationcode'
Deuchnord commented 2 years ago

Are you sure you are on the right tag/branch? The trace seems to correspond to the features branch, not to the v0.10.8 tag

thierry-FreeBSD commented 2 years ago

I just downloaded the tarball kosmorro-0.10.8.tar.gz, from https://pypi.org/project/kosmorro/#files

Deuchnord commented 2 years ago

OK, just found what happened. Looks like I accidentally pushed the next (unfinished) major version (1.0.0). I'm making a new release to fix that, thanks for the report :)

Deuchnord commented 2 years ago

Repoening this until the v0.10.9 is published on PyPI, there are multiple issues to fix to unblock it.

Deuchnord commented 2 years ago

Just published version 0.10.9 that should fix the issue. Thanks for your report, Thierry! Feel free to reopen this issue if something is still wrong :)