question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RuntimeError: Could Not Complete Request

See original GitHub issue

Problem

Hi, about a week ago I made a bot with this API and the bot worked properly, but saturday I modified it and interrupted it with CTRL+C and then, when I tried to run it again, it didn’t work. I commented out everything leaving only these two lines , but it still crashes

ticktick_client = api.TickTickClient(email, password)
ticktick_client.task.create("Test")

This is the TraceBack

Traceback (most recent call last):
  File "D:\Documenti\Progetti\Python\BotCompiti\BotCompiti.py", line 44, in <module>
    ticktick_client.task.create("Prova")
  File "D:\Documenti\Progetti\Python\BotCompiti\venv\lib\site-packages\ticktick\managers\check_logged_in.py", line 13, in call
    return func(self, *args, **kwargs)
  File "D:\Documenti\Progetti\Python\BotCompiti\venv\lib\site-packages\ticktick\managers\tasks.py", line 333, in create
    return self._client.task.update(obj)
  File "D:\Documenti\Progetti\Python\BotCompiti\venv\lib\site-packages\ticktick\managers\check_logged_in.py", line 13, in call
    return func(self, *args, **kwargs)
  File "D:\Documenti\Progetti\Python\BotCompiti\venv\lib\site-packages\ticktick\managers\tasks.py", line 657, in update
    response = self._client.http_post(url, json=payload, cookies=self._client.cookies)
  File "D:\Documenti\Progetti\Python\BotCompiti\venv\lib\site-packages\ticktick\api.py", line 172, in http_post
    self.check_status_code(response, 'Could Not Complete Request')
  File "D:\Documenti\Progetti\Python\BotCompiti\venv\lib\site-packages\ticktick\api.py", line 107, in check_status_code
    raise RuntimeError(error_message)
RuntimeError: Could Not Complete Request

Useful info

  • OS: Windows 10
  • Python: 3.9.4
  • ticktick-py: 1.0.2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
lazeroffmichaelcommented, Jun 2, 2021

I am currently working on getting things migrated for their OpenAPI - pending no major roadblocks I should be able to have a stable release out in no more than 2 weeks.

1reaction
lazeroffmichaelcommented, Jun 17, 2021

New update is released. Thank you all for being patient, and please create other issues if there are any other problems or you have new features in mind 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rook still tries to readd a removed osd, making new ... - GitHub
Expected behavior: Rook does not remake an OSD deployment for a disk that was purged from the cluster while removeOSDsIfOutAndSafeToRemove set ...
Read more >
Could not complete the operation due to error 80020101 ...
1 Answer 1 ... All the error 80020101 means is that there was an error, of some sort, while evaluating JavaScript. If you...
Read more >
Full Text Bug Listing - Red Hat Bugzilla
... try again to workaround probable race condition /bin/podman: --> RuntimeError: could not complete wipefs on device: /dev/sdr Traceback (most recent call ......
Read more >
How do I fix this error in the notebook? 12 - Hugging Face
RuntimeError : Couldn't install torch. Command: "C:\Ai\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13 ...
Read more >
Bug #24793: ceph-volume fails to zap a device (wipefs problem)
Basically, wipefs cannot open the device with O_EXCL and which means the ENOENT is valid here. One option would add --force to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found