Skip to content

NoneType object has no attribute debug #32

@MrSyta

Description

@MrSyta

springserve==0.8.10

I am trying to configure credentials in code instead of using link as described in the documentation, but I get an error:
'NoneType' object has no attribute 'debug'.

Python 3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import springserve
problem loading link, this is ok on the install
>>> springserve.set_credentials(user='[email protected]', password="mypassword")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/marcin/miniconda3/envs/connect-backend/lib/python3.11/site-packages/springserve/__init__.py", line 134, in set_credentials
    API(True)
  File "/home/marcin/miniconda3/envs/connect-backend/lib/python3.11/site-packages/springserve/__init__.py", line 102, in API
    _msg.debug("authenticating to springserve")
    ^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'debug'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions