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

Issue when LOCAL_DOMAIN is different than WEB_DOMAIN #15

Open
clement-analogue opened this issue Nov 30, 2017 · 0 comments
Open

Issue when LOCAL_DOMAIN is different than WEB_DOMAIN #15

clement-analogue opened this issue Nov 30, 2017 · 0 comments
Labels

Comments

@clement-analogue
Copy link

When LOCAL_DOMAIN is different than WEB_DOMAIN on an instance, then, the error above happens.
To fix it, one need to substitute the LOCAL_DOMAIN by WEB_DOMAIN

Traceback (most recent call last):
  File "./t2m", line 267, in <module>
    parser.dispatch()
  File "/root/t2m/ve/local/lib/python2.7/site-packages/argh/helpers.py", line 55, in dispatch
    return dispatch(self, *args, **kwargs)
  File "/root/t2m/ve/local/lib/python2.7/site-packages/argh/dispatching.py", line 174, in dispatch
    for line in lines:
  File "/root/t2m/ve/local/lib/python2.7/site-packages/argh/dispatching.py", line 277, in _execute_command
    for line in result:
  File "/root/t2m/ve/local/lib/python2.7/site-packages/argh/dispatching.py", line 260, in _call
    result = function(*positional, **keywords)
  File "./t2m", line 197, in one
    db = forward(db, twitter_handle, mastodon_handle, debug=debug, number=number, only_mark_as_seen=only_mark_as_seen, retweets=retweets)
  File "./t2m", line 60, in forward
    ensure_client_existe_for_instance(instance)
  File "./t2m", line 47, in ensure_client_existe_for_instance
    api_base_url='https://%s' % instance,
  File "/root/t2m/ve/local/lib/python2.7/site-packages/mastodon/Mastodon.py", line 73, in create_app
    raise MastodonNetworkError("Could not complete request: %s" % e)
mastodon.Mastodon.MastodonNetworkError: Could not complete request: No JSON object could be decoded
@Psycojoker Psycojoker added the bug label Apr 22, 2018
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