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

bug(linux): AttributeError: module 'requests_cache' has no attribute 'core' #6085

Closed
sentry-io bot opened this issue Jan 7, 2022 · 0 comments · Fixed by #6086
Closed

bug(linux): AttributeError: module 'requests_cache' has no attribute 'core' #6085

sentry-io bot opened this issue Jan 7, 2022 · 0 comments · Fixed by #6086

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 7, 2022

Sentry Issue: KEYMAN-LINUX-6

AttributeError: module 'requests_cache' has no attribute 'core'
  File "keyman_config/get_kmp.py", line 69, in get_keyboard_data
    requests_cache.core.uninstall_cache()
  File "keyman_config/install_kmp.py", line 57, in process_keyboard_data
    kbdata = get_keyboard_data(keyboardID)
  File "keyman_config/get_info.py", line 31, in run
    process_keyboard_data(kmp['packageID'], packageDir)
  File "threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
@ermshiperete ermshiperete added this to the A15S21 milestone Jan 7, 2022
ermshiperete added a commit that referenced this issue Jan 7, 2022
Newer versions of requests-cache (>= 0.6) restructure some code so
that the _core_ namespace is no longer available. However, it turns
out that we don't need to specify that namespace at all, so this
change will work with both older and newer versions of
requests-cache.

This will fix #6085.
ermshiperete added a commit that referenced this issue Jan 7, 2022
Newer versions of requests-cache (>= 0.6) restructure some code so
that the _core_ namespace is no longer available. However, it turns
out that we don't need to specify that namespace at all, so this
change will work with both older and newer versions of
requests-cache.

This will fix #6085.

(cherry picked from commit 254ceab)
@mcdurdin mcdurdin modified the milestones: A15S21, A15S22 Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants