Garmelon/PFERD

pferd_sync incorrect credentials

DeveloperTK opened this issue · 3 comments

Recently I was getting this error, while trying to run pferd_sync:

[bold yellow]Keyring module not found, KeyringAuthenticator won't work![/bold yellow]
Enter credentials (KIT ILIAS Shibboleth)
Username:
Password: 
Incorrect credentials.
Traceback (most recent call last):
  File "sync_url.py", line 159, in <module>
  File "sync_url.py", line 112, in main
  File "PFERD/ilias/crawler.py", line 184, in find_element_name
  File "PFERD/ilias/crawler.py", line 630, in _get_page
  File "PFERD/ilias/authenticators.py", line 75, in authenticate
TypeError: 'NoneType' object is not subscriptable
[8314] Failed to execute script sync_url

The credentials I entered are correct, I can log into ILIAS manually.

I am getting the same error. As a temporary workaround, you can log into Ilias with your browser and copy the cookies to the ilias_cookies.txt file.

Does v2.5.2 resolve the issue?

It works now, even fixed the bug where you had to enter your credentials twice!