Ankermgmt / ankermake-m5-protocol

Ankermake M5 protocol specifications and libraries *NOT AFFILIATED WITH ANKER*
GNU General Public License v3.0
164 stars 38 forks source link

[BUG] `config import` fails because `AnkerMake` folder and "login.json" do not exist #167

Open heyadamhey opened 2 weeks ago

heyadamhey commented 2 weeks ago

I cloned the repo and installed via CMD. The installation completed but I was not able to import the login.json file The python3 ankerctl.py config import command returns the following error:

Error Message [!] Failed to import file - check if you are logged into Ankerslicer

AnkerMake Studio is installed and I am logged in image

I checked the AppData and Roaming folders for the path described in the readme, but my installation has no "AnkerMake" folder under Local. There is AnkerMake Studio and Ankermake Studio Profile image

I searched for "*.json" in both AnkerMake... folders with Local and Roaming and there is no login.json.

Desktop:

tobias-richter commented 2 weeks ago

I think you need the first generation of the anker slider software and not the studio in order to get the credentials.

treitmayr commented 2 weeks ago

I recommend you use the anselor:exiles fork of this repository, which includes my PR #148 for supporting direct login from ankerctl's web interface or CLI (i.e. no more importing of a login file). Also see my comments to issue #161.