AttributeError: 'module' object has no attribute 'MODULE_SIGNALS'



  • Hi!
    I've followed the instruction and tried installing on both Debian 9 and Ubuntu 16.04, but receive the same error message on both. I was not able to resolve it. Any ideas?

    Here it is:

    registered 'hex_md5' handler: <class 'passlib.handlers.digests.hex_md5'>
    Traceback (most recent call last):
    File "/usr/share/nginx/spotipo/manage.py", line 30, in <module>
    app = create_app(mode='development')
    File "/usr/share/nginx/spotipo/unifispot/init.py", line 49, in create_app
    configure_extensions(app,user_datastore)
    File "/usr/share/nginx/spotipo/unifispot/ext/init.py", line 22, in configure_extensions
    configure_extension(configurator_name, app=app, db=db,user_datastore=user_datastore)
    File "/usr/share/nginx/spotipo/unifispot/ext/init.py", line 12, in configure_extension
    configurator(**{key: val for key, val in kwargs.items() if key in args})
    File "spotipo/unifispot/ext/signalconfig.py", line 36, in configure
    AttributeError: 'module' object has no attribute 'MODULE_SIGNALS'



  • Was able to install 3.4.2 without issue!

    apt-get remove spotipo
    apt-get install spotipo=3.4.2.



  • @Reilly-Chase Thanks for reporting this, we have now fixed this issue in 3.4.5

    Please give it a try



  • Hi @rakesh-mukundan! Similar error on 3.4.5 but the install works after some time anway

    DEBUG:passlib.registry:registered 'hex_md5' handler: <class 'passlib.handlers.digests.hex_md5'>
    registered 'hex_md5' handler: <class 'passlib.handlers.digests.hex_md5'>
    ERROR:flask.app:Exception while connecting signals
    Traceback (most recent call last):
    File "spotipo/unifispot/ext/signalconfig.py", line 37, in configure
    AttributeError: 'module' object has no attribute 'MODULE_SIGNALS'
    Exception while connecting signals
    Traceback (most recent call last):
    File "spotipo/unifispot/ext/signalconfig.py", line 37, in configure
    AttributeError: 'module' object has no attribute 'MODULE_SIGNALS'
    ERROR:flask.app:Exception while connecting signals
    Traceback (most recent call last):
    File "spotipo/unifispot/ext/signalconfig.py", line 37, in configure
    AttributeError: 'module' object has no attribute 'MODULE_SIGNALS'
    Exception while connecting signals
    Traceback (most recent call last):



  • @rchase Even with this error, installation should be fine. I have removed the error print as well, which will be available with next release



  • from 3.4.1 to 3.4.7 prompt stay open with Trying to execute post install job set_radiussession_id_to100char



  • @Nicolas 3.4.7 has some DB changes,( increasing radius session field to 100char ) which might take a while to apply unfortunately.


Log in to reply
 

});