Page 1 of 1

JavaScript Alert

Posted: Sat Dec 04, 2021 12:49 pm
by shagmasterk
Uggh. I am having a tough time with MMS. All installs are up to date.

On laptop I am trying to remotely access MMS, every time I try to sync MMS, I get the following error popup:
JavaScript Alert - file:///mainwindow.html

listPlaylists error: 401 :Not logged in.

Though at the top of the window, it says "Sign out (User: admin)
I click OK, it goes away for a few seconds, then reappears. MMW will not sync to MMS. Every time this error pops up, in the MMS window on main PC it displays "User admin has logged in"

In the server window on the main PC, every time I run the program, a line of text appears:
Caught exception: TypeError: SQLite3 can only bind numbers, strings, bigints, buffers, and null

Is this normal?

Re: JavaScript Alert

Posted: Sat Dec 04, 2021 2:56 pm
by shagmasterk
OK, next issue.

MMW on main PC spent a long time appearing to sync server, then upload all 14,000 tracks to server. I left it alone and came back to find:
1. the same error as on the laptop:
JavaScript Alert - file:///mainwindow.html

listPlaylists error: 401 :Not logged in.

2. When I clicked OK on that, another Error window opened. At top it says "There was a problem synchronizing the following item(s):
In the Item list all 14,000 tracks are listed. In the adjacent Problem list, all display the same text:
createUploadSession error: 401 :undefined

Re: JavaScript Alert

Posted: Sat Dec 04, 2021 6:33 pm
by drakinite
Hmmmmm, maybe that's a problem with my authentication code. I wrote it over a year ago and there may have been bugs. I believe Jiri reverted the authentication system recently. Did you install MMS from the source code on Github or did you use one of the prerelease builds?

Re: JavaScript Alert

Posted: Thu Dec 09, 2021 10:55 am
by Ludek
Hi,
I can confirm that the authorization process is broken in the newest version.
We are working on the fix.

Thanks!

Workaround is to use an older version of MMS for syncing with MM5.