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

Error when extension is deleted in webstore #4

Closed
rEnr3n opened this issue Apr 20, 2018 · 1 comment
Closed

Error when extension is deleted in webstore #4

rEnr3n opened this issue Apr 20, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@rEnr3n
Copy link
Contributor

rEnr3n commented Apr 20, 2018

I have this extension installed and now it's gone - error 404. https://chrome.google.com/webstore/detail/olffebgbihkemhnlpeficnplfoiabljj

Traceback (most recent call last):
  File "/usr/bin/chromexup", line 11, in <module>
    load_entry_point('chromexup==0.4.1', 'console_scripts', 'chromexup')()
  File "/usr/lib/python3.6/site-packages/chromexup/main.py", line 327, in main
    pool.map(process, extensions)
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 266, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/usr/lib/python3.6/site-packages/chromexup/main.py", line 49, in process
    (latest_ver, url) = _get_latest_version(id)
  File "/usr/lib/python3.6/site-packages/chromexup/main.py", line 101, in _get_latest_version
    url = r.next.url
AttributeError: 'NoneType' object has no attribute 'url'
@xsmile
Copy link
Owner

xsmile commented Apr 20, 2018

Version 0.4.3 should fix this. A warning is printed if such an extension is found but the script will continue to run.

@xsmile xsmile added the bug Something isn't working label Apr 20, 2018
@xsmile xsmile closed this as completed Apr 20, 2018
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