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: Something with the AccessToken #98

Open
pekasen opened this issue Dec 8, 2024 · 0 comments
Open

bug: Something with the AccessToken #98

pekasen opened this issue Dec 8, 2024 · 0 comments

Comments

@pekasen
Copy link
Member

pekasen commented Dec 8, 2024

Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/spiderexpress", line 8, in <module>
    sys.exit(cli())
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/spiderexpress/cli.py", line 53, in start
    ctx.obj.start(config)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 406, in trigger
    return self.machine._process(func)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 1251, in _process
    self._transition_queue[0]()
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 420, in _trigger
    self._process(event_data)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 443, in _process
    if trans.execute(event_data):
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 278, in execute
    self._change_state(event_data)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 289, in _change_state
    dest.enter(event_data)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 130, in enter
    event_data.machine.callbacks(self.on_enter, event_data)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 1174, in callbacks
    self.callback(func, event_data)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/transitions/core.py", line 1195, in callback
    func(*event_data.args, **event_data.kwargs)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/spiderexpress/spider.py", line 439, in gather_node_data
    self._dispatch_connector_for_node_(task, task.connector)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/spiderexpress/spider.py", line 559, in _dispatch_connector_for_node_
    raw_edges, nodes = connector([node.node_id])
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/spiderexpress_tiktok/spiderexpress_tiktok.py", line 81, in wrapper
    return func(*args, **kwargs)
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/spiderexpress_tiktok/spiderexpress_tiktok.py", line 121, in _followings_
    token = AccessToken(
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/researchtikpy/utils.py", line 31, in __init__
    self._access_token_: str = self._get_access_token_()
  File "/home/ubuntu/.local/share/uv/tools/spiderexpress/lib/python3.10/site-packages/researchtikpy/utils.py", line 69, in _get_access_token_
    raise ValueError(f"Failed to obtain access token: {response.text}")
ValueError: Failed to obtain access token:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant