Skip to content

ModuleNotFoundError #19

Description

@jvoshage

I am trying to start mosquitto 1.6.2 using the mosquitto.conf where I put

auth_plugin  /usr/local/lib/mosquitto/auth_plugin_pyauth.so
auth_opt_pyauth_module testauth.py 

I keep getting the ModuleNotFoundError no matter where I put the testauth.py file.

1557196428: mosquitto version 1.6.2 starting 
1557196428: Config loaded from mqtt/mosquitto/mosquitto.conf. 
1557196428: Loading plugin: /usr/local/lib/mosquitto/auth_plugin_pyauth.so
1557196428:  ├── Username/password checking enabled.                                             
1557196428:  ├── TLS-PSK checking not enabled.                                                   
1557196428:  └── Extended authentication not enabled.                                            ModuleNotFoundError: No module named 'testauth'                                                  
failed to import module: testauth.py 

I am running out of ideas on what to try next. Any ideas?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions