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

cannot login #111

Closed
masaoamano opened this issue Apr 10, 2024 · 5 comments
Closed

cannot login #111

masaoamano opened this issue Apr 10, 2024 · 5 comments

Comments

@masaoamano
Copy link

When I enter my username and password and press login, I get a message 'login failed. undefined' and cannot log in. I can login TickTick with the same username (mail address) and password.

  • OS: MacOS14.4
  • Browser: Arc
  • Version 1.37
@thesamim
Copy link
Owner

Could you please turn on "Debug Mode" and take a look at the console and let me know what you see?

@IMXeno123
Copy link

Could you please turn on "Debug Mode" and take a look at the console and let me know what you see?

I ran into the exact same problem – can't log in and I get this 'login failed. undefined' message. I checked the console and there's no error messages there, but I've seen some really messed up error alerts on the device that's already logged in.

plugin:tickticksync:13168 {"baseUrl":"ticktick.com","token":"[154BB8FE91...] len: 336"}
plugin:tickticksync:13208 Logged In: true
plugin:tickticksync:23214 TickTickSync 1.0.25 loaded!
plugin:tickticksync:13419 Error get all Tasks Error: No Results.
    at TickTickRestAPI.getAllTasks (plugin:tickticksync:13415:15)
    at async SyncMan.syncTickTickToObsidian (plugin:tickticksync:22783:28)
    at async TickTickSync.scheduledSynchronization (plugin:tickticksync:23429:24)
    at async HTMLDivElement.eval (plugin:tickticksync:23051:9)
getAllTasks @ plugin:tickticksync:13419
await in getAllTasks (async)
syncTickTickToObsidian @ plugin:tickticksync:22783
await in syncTickTickToObsidian (async)
scheduledSynchronization @ plugin:tickticksync:23429
await in scheduledSynchronization (async)
eval @ plugin:tickticksync:23051
plugin:tickticksync:22896 An error occurred while synchronizing: TypeError: Cannot read properties of undefined (reading 'length')
    at SyncMan.syncTickTickToObsidian (plugin:tickticksync:22811:51)
    at async TickTickSync.scheduledSynchronization (plugin:tickticksync:23429:24)
    at async HTMLDivElement.eval (plugin:tickticksync:23051:9)
syncTickTickToObsidian @ plugin:tickticksync:22896
await in syncTickTickToObsidian (async)
scheduledSynchronization @ plugin:tickticksync:23429
await in scheduledSynchronization (async)
eval @ plugin:tickticksync:23051
plugin:tickticksync:20356 Converting line to Object, could not find project Id:  [testing](obsidian://open?vault=me&file=00_Tasks.md)
convertLineToTask @ plugin:tickticksync:20356
await in convertLineToTask (async)
lineModifiedTaskCheck @ plugin:tickticksync:22306
fullTextModifiedTaskCheck @ plugin:tickticksync:22659
await in fullTextModifiedTaskCheck (async)
scheduledSynchronization @ plugin:tickticksync:23521
await in scheduledSynchronization (async)
eval @ plugin:tickticksync:23051
plugin:tickticksync:20356 Converting line to Object, could not find project Id:  hi ticktick
convertLineToTask @ plugin:tickticksync:20356
await in convertLineToTask (async)
lineModifiedTaskCheck @ plugin:tickticksync:22306
fullTextModifiedTaskCheck @ plugin:tickticksync:22659
await in fullTextModifiedTaskCheck (async)
scheduledSynchronization @ plugin:tickticksync:23521
await in scheduledSynchronization (async)
eval @ plugin:tickticksync:23051

@IMXeno123
Copy link

Could you please turn on "Debug Mode" and take a look at the console and let me know what you see?

I ran into the exact same problem – can't log in and I get this 'login failed. undefined' message. I checked the console and there's no error messages there, but I've seen some really messed up error alerts on the device that's already logged in.

plugin:tickticksync:13168 {"baseUrl":"ticktick.com","token":"[154BB8FE91...] len: 336"}
plugin:tickticksync:13208 Logged In: true
plugin:tickticksync:23214 TickTickSync 1.0.25 loaded!
plugin:tickticksync:13419 Error get all Tasks Error: No Results.
    at TickTickRestAPI.getAllTasks (plugin:tickticksync:13415:15)
    at async SyncMan.syncTickTickToObsidian (plugin:tickticksync:22783:28)
    at async TickTickSync.scheduledSynchronization (plugin:tickticksync:23429:24)
    at async HTMLDivElement.eval (plugin:tickticksync:23051:9)
getAllTasks @ plugin:tickticksync:13419
await in getAllTasks (async)
syncTickTickToObsidian @ plugin:tickticksync:22783
await in syncTickTickToObsidian (async)
scheduledSynchronization @ plugin:tickticksync:23429
await in scheduledSynchronization (async)
eval @ plugin:tickticksync:23051
plugin:tickticksync:22896 An error occurred while synchronizing: TypeError: Cannot read properties of undefined (reading 'length')
    at SyncMan.syncTickTickToObsidian (plugin:tickticksync:22811:51)
    at async TickTickSync.scheduledSynchronization (plugin:tickticksync:23429:24)
    at async HTMLDivElement.eval (plugin:tickticksync:23051:9)
syncTickTickToObsidian @ plugin:tickticksync:22896
await in syncTickTickToObsidian (async)
scheduledSynchronization @ plugin:tickticksync:23429
await in scheduledSynchronization (async)
eval @ plugin:tickticksync:23051
plugin:tickticksync:20356 Converting line to Object, could not find project Id:  [testing](obsidian://open?vault=me&file=00_Tasks.md)
convertLineToTask @ plugin:tickticksync:20356
await in convertLineToTask (async)
lineModifiedTaskCheck @ plugin:tickticksync:22306
fullTextModifiedTaskCheck @ plugin:tickticksync:22659
await in fullTextModifiedTaskCheck (async)
scheduledSynchronization @ plugin:tickticksync:23521
await in scheduledSynchronization (async)
eval @ plugin:tickticksync:23051
plugin:tickticksync:20356 Converting line to Object, could not find project Id:  hi ticktick
convertLineToTask @ plugin:tickticksync:20356
await in convertLineToTask (async)
lineModifiedTaskCheck @ plugin:tickticksync:22306
fullTextModifiedTaskCheck @ plugin:tickticksync:22659
await in fullTextModifiedTaskCheck (async)
scheduledSynchronization @ plugin:tickticksync:23521
await in scheduledSynchronization (async)
eval @ plugin:tickticksync:23051

@thesamim Now these errors render the TickTickSync completely unusable and it is broken.

@thesamim
Copy link
Owner

Great. Happening for me too. Something's going on on the TickTick side. I've got three other crises on my plate right now. Will get back to you ASAP.

@thesamim
Copy link
Owner

TickTick has once again changed checkpoint processing. Checking in Fix shortly.

thesamim added a commit that referenced this issue Apr 10, 2024
closes #113
#111

... and get rid of extraneous logging.
thesamim added a commit that referenced this issue Apr 12, 2024
* Fix: full vault sync fix, mark completion fix
#104
#90

* Fix: TickTick has once again changed checkpoint processing.
closes #113
#111

... and get rid of extraneous logging.

* Fix: More Checkpoint foo. Issue with #ticktick regex.
#116

* Fix: versions
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

3 participants