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

Missing GeoLite file from latest GeoLite.mmdb release causing error #134

Closed
cda2 opened this issue Dec 13, 2024 · 1 comment
Closed

Missing GeoLite file from latest GeoLite.mmdb release causing error #134

cda2 opened this issue Dec 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cda2
Copy link

cda2 commented Dec 13, 2024

Describe the bug:

The latest GeoLite.mmdb release does not include the GeoLite2-City.mmdb file, which ref in this line:

MMDB_URL = 'https://github.com/P3TERX/GeoLite.mmdb/releases/latest/download/GeoLite2-City.mmdb'

This might require fixing the build version or checking the GitHub repository's releases to ensure the GeoLite2-City.mmdb file is available.

Logs:

#7 1.023 + python -m camoufox fetch
#7 4.399 Camoufox binaries up to date!
#7 4.399 Current version: v133.0-beta.19
#7 4.607 Traceback (most recent call last):
#7 4.607   File "<frozen runpy>", line 198, in _run_module_as_main
#7 4.607   File "<frozen runpy>", line 88, in _run_code
#7 4.608   File "/app/lib/python3.11/site-packages/camoufox/__main__.py", line 171, in <module>
#7 4.608     cli()
#7 4.609   File "/app/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
#7 4.610     return self.main(*args, **kwargs)
#7 4.610            ^^^^^^^^^^^^^^^^^^^^^^^^^^
#7 4.611   File "/app/lib/python3.11/site-packages/click/core.py", line 1078, in main
#7 4.611     rv = self.invoke(ctx)
#7 4.611          ^^^^^^^^^^^^^^^^
#7 4.611   File "/app/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
#7 4.612     return _process_result(sub_ctx.command.invoke(sub_ctx))
#7 4.612                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#7 4.613   File "/app/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
#7 4.613     return ctx.invoke(self.callback, **ctx.params)
#7 4.613            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#7 4.614   File "/app/lib/python3.11/site-packages/click/core.py", line 783, in invoke
#7 4.614     return __callback(*args, **kwargs)
#7 4.614            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
#7 4.614   File "/app/lib/python3.11/site-packages/camoufox/__main__.py", line 89, in fetch
#7 4.614     download_mmdb()
#7 4.615   File "/app/lib/python3.11/site-packages/camoufox/locale.py", line 212, in download_mmdb
#7 4.615     webdl(
#7 4.615   File "/app/lib/python3.11/site-packages/camoufox/pkgman.py", line 436, in webdl
#7 4.616     response.raise_for_status()
#7 4.616   File "/app/lib/python3.11/site-packages/requests/models.py", line 1021, in raise_for_status
#7 4.618     raise HTTPError(http_error_msg, response=self)
#7 4.618 requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://github.com/P3TERX/GeoLite.mmdb/releases/download/2024.12.13/GeoLite2-City.mmdb
#7 ERROR: process "sh -exc python -m camoufox fetch" did not complete successfully: exit code: 1

Screenshots:

image

To Reproduce:

Run camoufox fetch

@cda2 cda2 added the bug Something isn't working label Dec 13, 2024
@daijro
Copy link
Owner

daijro commented Dec 13, 2024

This seems to be caused by an error in the release workflow used in the GeoLite.mmdb repo:

P3TERX/GeoLite.mmdb#17

This issue is being caused by an bug in the master branch of softprops/action-gh-release:

softprops/action-gh-release#556


A bug fix was just released in 0.4.9 that looks for assets in earlier releases until a fix is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants