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 500 on serveral webmention comment proxy pages #468

Closed
diplix opened this issue Sep 9, 2015 · 2 comments
Closed

error 500 on serveral webmention comment proxy pages #468

diplix opened this issue Sep 9, 2015 · 2 comments
Labels

Comments

@snarfed
Copy link
Owner

snarfed commented Sep 9, 2015

thanks for the report! and apologies for the continued breakages. i'll fix this soon.

@snarfed
Copy link
Owner

snarfed commented Sep 9, 2015

stack trace:

Traceback (most recent call last):
...
  File "/base/data/home/apps/s~brid-gy/4.387019326654903331/handlers.py", line 136, in get
    obj = self.get_item(*ids)
  File "/base/data/home/apps/s~brid-gy/4.387019326654903331/handlers.py", line 291, in get_item
    self.update_post_urls(post, cmt, 'inReplyTo', mentions=True)
  File "/base/data/home/apps/s~brid-gy/4.387019326654903331/handlers.py", line 229, in update_post_urls
    existing('attachments', 'mention'))))
  File "/base/data/home/apps/s~brid-gy/4.387019326654903331/handlers.py", line 226, in <genexpr>
    mentions = list(set(util.clean_webmention_url(u) for u in
  File "/base/data/home/apps/s~brid-gy/4.387019326654903331/util.py", line 230, in clean_webmention_url
    parts = list(urlparse.urlparse(url))
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urlparse.py", line 142, in urlparse
    tuple = urlsplit(url, scheme, allow_fragments)
  File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/urlparse.py", line 181, in urlsplit
    i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'

@snarfed snarfed closed this as completed in a6d0f39 Sep 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants