+ Add Question

Unknown error happened: bad operand type for unary -: 'NoneType'

PR

When I search for a particular tag in search box i get following message in popup:

Error encountered: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>400 Bad Request</title> <h1>Bad Request</h1> Unknown error happened: bad operand type for unary -: 'NoneType'

Please help

All responses

David Trey staff
Replied on Mar 13, 2012 - 09:57 UTC

Hello Pratik,

unfortunately, I can't reproduce this issue. Please try to use this URL: http://todoist.com/app?v=5 and if this doesn't help, try to force-reload the page using CTRL+F5. If this doesn't help either, please tell me:
- Which browser are you using?
- Does this issue also occur in a different browser?
- Are you accessing Todoist directly through the website or through a plugin (if so - which one)?
- Does this happen on any search (like: "today", "7 days"), only label search or only when searching for one label in particular?


Best regards,
David

PR
Pratik Rokade premium
Replied on Mar 22, 2012 - 02:26 UTC

http://todoist.com/app?v=5 and if this doesn't help, try to force-reload the page using CTRL+F5. If this doesn't help either, please tell me:

I'm using this URL itself


- Which browser are you using?
Google Chrome on Ubuntu

- Does this issue also occur in a different browser?
Yes, same in Firefox

- Are you accessing Todoist directly through the website or through a plugin (if so - which one)?
Directly through website, though I've extension installed on Chrome, however issue is on Firefox as well (Where there is no plugin installed) so might not be problem with extension

- Does this happen on any search (like: "today", "7 days"), only label search or only when searching for one label in particular?
No, only for @ queries

PR
Pratik Rokade premium
Replied on Mar 22, 2012 - 02:26 UTC

Sorry only for @music query, other @ queries work well. May be because there are lots of tasks under that tag?

David Trey staff
Replied on Mar 22, 2012 - 07:27 UTC

Hello Pratik,

please access Todoist through this URL: http://todoist.com/app it should switch to v=6 and let me know if you still experience this issue.

If you do, please tell me - how many tasks do you have under this tag?


Best regards,
David

PR
Pratik Rokade premium
Replied on Mar 22, 2012 - 08:15 UTC

Problem still persists. I don't know exactly how many tasks are there under that tag but must be within 100-200

David Trey staff
Replied on Mar 22, 2012 - 14:44 UTC

Hello Pratik,

I'm sorry, but so far I can't reproduce this issue with a label with 100 tasks attached to it. I will continue to try to reproduce it, though.

As for the task count, you can click on the @ link below the search box to display all labels with the exact number of tasks in which each label occurs.

Once you use the @ link, please try to click on the @music label and see if you experience the same issue. Also, please try to click on the gear icon visible in the right side when hovering over a label, choose "Edit label", change this label's name, save the changes and try to search for the new name.


Best regards,
David