KeyError CLIENT_INVITE_EMAIL_SUBJECT returned an error code (1)

  • Hello,

    I can't get Spotipo work, I'm using Ubuntu 18.04 server, installed clean, followed commands on Spotipo site.
    In the end of the installation process I get the log below. If I try to reach the server anyway, I got the welcome to nginx page on http, no answer from https. Already tried the apt purge spotipo commands.
    Can you help me? I really need this solution to work for a customer!!

    Traceback (most recent call last):
    File "/usr/share/nginx/spotipo/", line 30, in <module>
    app = create_app(mode='development')
    File "/usr/share/nginx/spotipo/unifispot/", line 52, in create_app
    File "/usr/share/nginx/spotipo/unifispot/ext/", line 22, in configure_extensions
    configure_extension(configurator_name, app=app, db=db,user_datastore=user_datastore)
    File "/usr/share/nginx/spotipo/unifispot/ext/", line 12, in configure_extension
    configurator(**{key: val for key, val in kwargs.items() if key in args})
    File "spotipo/unifispot/ext/", line 17, in configure
    File "/usr/share/nginx/spotipo/.env/src/spotipo-plugins/spotipo_plugins/", line 250, in init_app
    File "/usr/share/nginx/spotipo/.env/src/spotipo-plugins/spotipo_plugins/", line 339, in setup_plugins
    File "/usr/share/nginx/spotipo/unifispot/modules/branding/", line 26, in setup
    if init_plugin():
    File "spotipo/unifispot/modules/branding/main.pyx", line 49, in unifispot.modules.branding.main.init_plugin
    File "spotipo/unifispot/modules/branding/main.pyx", line 106, in unifispot.modules.branding.main.get_client_email_subject
    File "spotipo/unifispot/modules/branding/main.pyx", line 92, in unifispot.modules.branding.main.get_branding_data
    dpkg: error processing package spotipo (--configure):
    installed spotipo package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Thanks a lot!


  • @Stefano-Lorenzoli Hey so sorry about your troubles. Please try below steps

    sudo apt update
    sudo apt install spotipo

Log in to reply