Closed fjw317 closed 2 years ago
Could you delete the session file and try again?
Thank you that fixed it. The session file was empty. After deleting it syncmymoodle now runs as usual.
In case someone is experiencing the same issue in the future: I found the session file at ./session
as defined in the config file.
I'm getting the same error, however clearing the session file doesn't seem to fix it.
The exact location in code for the error differ however:
Logging in...
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\lib\site-packages\syncmymoodle\__main__.py", line 794, in <module>
smm.login()
File "C:\ProgramData\Anaconda3\lib\site-packages\syncmymoodle\__main__.py", line 130, in login
self.session.cookies.update(pickle.load(f))
EOFError: Ran out of input
@osccal You are still on an old version of syncmymoodle, please upgrade the package and try again.
Since yesterday I am getting this error when trying to execute syncmymoodle (smm1 is a alias for
py -m syncmymoodle --config C:\Users\Username\env\config.json
) :I am using the config file since October 2021, never had a problem so far. The Problem first appeared in version 0.0.2 but remained after I updated to version 0.0.3.