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

Camoufox fetch error #136

Closed
chrisemke opened this issue Dec 16, 2024 · 2 comments
Closed

Camoufox fetch error #136

chrisemke opened this issue Dec 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@chrisemke
Copy link

Describe the bug:

When trying to run camoufox fetch inside of container and outside it's having this issue

Screenshots:

Traceback:

❯ camoufox fetch
Fetching Camoufox binaries v133.0-beta.19...
Downloading package: https://github.com/daijro/camoufox/releases/download/v133.0-beta.19/camoufox-133.0-beta.19-mac.arm64.zip
100%|██████████████████████████████████████████████████████████████████████████| 295M/295M [00:09<00:00, 32.7MiB/s]
Extracting Camoufox: /Users/krisque/Library/Caches/camoufox
100%|███████████████████████████████████████████████████████████████████████████| 399/399 [00:01<00:00, 255.42it/s]

Camoufox successfully installed.
Traceback (most recent call last):
  File "/Users/krisque/Knowtrex/opony/.venv/bin/camoufox", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/camoufox/__main__.py", line 89, in fetch
    download_mmdb()
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/camoufox/locale.py", line 212, in download_mmdb
    webdl(
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/camoufox/pkgman.py", line 436, in webdl
    response.raise_for_status()
  File "/Users/krisque/Knowtrex/opony/.venv/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://github.com/P3TERX/GeoLite.mmdb/releases/download/2024.12.16/GeoLite2-City.mmdb

To Reproduce:

just camoufox fetch

Version:

Pip package: v0.4.3
Camoufox: v133.0-beta.19 (Up to date!)

@chrisemke chrisemke added the bug Something isn't working label Dec 16, 2024
@chrisemke
Copy link
Author

duplicate of #134 thanks, closing

@daijro
Copy link
Owner

daijro commented Dec 16, 2024

Hello, you might want to update to the latest version:

pip install -U camoufox

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