Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save HostOnNet/c88cf9a184b0a46fedb3a7bfadbbb779 to your computer and use it in GitHub Desktop.

Select an option

Save HostOnNet/c88cf9a184b0a46fedb3a7bfadbbb779 to your computer and use it in GitHub Desktop.
Site shows
> Internal Server Error
after installing plugins.
[indico@j314149 ~]$ cat .indico.conf | grep Plug
Plugins = {'livesync', 'livesync_invenio', 'payment_manual', 'piwik', 'previewer_jupyter', 'vc_vidyo', 'importer', 'livesync_debug', 'payment_paypal', 'previewer_code', 'search', 'vc_dummy'}
[indico@j314149 ~]$
In log file, i get following error (pip freeze below error)
indico@j314149 log]$ tail -n 40 indico.log
ImportError: No module named conferenceModif
2017-07-07 22:15:05,393 ERROR 000000000000 indico.plugins Could not load plugin piwik
Traceback (most recent call last):
File "/opt/indico/.venv/lib/python2.7/site-packages/flask_pluginengine/engine.py", line 76, in _import_plugins
plugin_class = entry_point.load()
File "/opt/indico/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2303, in load
return self.resolve()
File "/opt/indico/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2309, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_piwik/plugin.py", line 29, in <module>
from indico_piwik.controllers import (RHStatistics, RHApiMaterial, RHApiDownloads, RHApiEventVisitsPerDay,
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_piwik/controllers.py", line 20, in <module>
from indico.legacy.webinterface.rh.conferenceModif import RHConferenceModifBase
ImportError: No module named conferenceModif
2017-07-07 22:15:14,846 ERROR 000000000000 indico.plugins Could not load plugin piwik
Traceback (most recent call last):
File "/opt/indico/.venv/lib/python2.7/site-packages/flask_pluginengine/engine.py", line 76, in _import_plugins
plugin_class = entry_point.load()
File "/opt/indico/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2303, in load
return self.resolve()
File "/opt/indico/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2309, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_piwik/plugin.py", line 29, in <module>
from indico_piwik.controllers import (RHStatistics, RHApiMaterial, RHApiDownloads, RHApiEventVisitsPerDay,
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_piwik/controllers.py", line 20, in <module>
from indico.legacy.webinterface.rh.conferenceModif import RHConferenceModifBase
ImportError: No module named conferenceModif
2017-07-07 22:15:28,219 ERROR 000000000000 indico.plugins Could not load plugin piwik
Traceback (most recent call last):
File "/opt/indico/.venv/lib/python2.7/site-packages/flask_pluginengine/engine.py", line 76, in _import_plugins
plugin_class = entry_point.load()
File "/opt/indico/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2303, in load
return self.resolve()
File "/opt/indico/.venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2309, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_piwik/plugin.py", line 29, in <module>
from indico_piwik.controllers import (RHStatistics, RHApiMaterial, RHApiDownloads, RHApiEventVisitsPerDay,
File "/opt/indico/.venv/lib/python2.7/site-packages/indico_piwik/controllers.py", line 20, in <module>
from indico.legacy.webinterface.rh.conferenceModif import RHConferenceModifBase
ImportError: No module named conferenceModif
[indico@j314149 log]$
(.venv)[indico@j314149 ~]$ pip freeze
alembic==0.9.2
amqp==1.4.9
anyjson==0.3.3
appdirs==1.4.3
Babel==2.4.0
backports.shutil-get-terminal-size==1.0.0
bcrypt==3.1.3
beautifulsoup4==4.6.0
billiard==3.3.0.23
bleach==1.4.3
blinker==1.4
cached-property==1.3.0
celery==3.1.25
certifi==2017.4.17
cffi==1.10.0
chardet==3.0.4
click==6.7
colorclass==2.2.0
configparser==3.5.0
contextlib2==0.5.5
coverage==4.4.1
csscompressor==0.9.4
decorator==4.0.11
defusedxml==0.5.0
entrypoints==0.2.3
enum34==1.1.6
Flask==0.12.2
Flask-BabelEx==0.9.3
flask-marshmallow==0.8.0
Flask-Migrate==2.0.4
Flask-Multipass==0.0.dev4
Flask-OAuthlib==0.9.1
Flask-PluginEngine==0.2.2.dev0
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
Flask-WTF==0.13
freezegun==0.3.9
funcsigs==1.0.2
functools32==3.2.3.post2
hiredis==0.2.0
html2text==2016.9.19
html5lib==0.9999999
httplib2==0.10.3
icalendar==3.11.4
idna==2.5
indico==1.9.11.dev10
indico-chat==0.5.1
indico-fonts==1.1
indico-importer==0.1
indico-livesync==0.5.1
indico-livesync-debug==0.1
indico-livesync-invenio==0.1
indico-payment-manual==0.1
indico-payment-paypal==0.3
indico-piwik==0.5
indico-previewer-code==0.1
indico-previewer-jupyter==0.1
indico-search==0.2
indico-vc-dummy==0.2
indico-vc-vidyo==0.6
infinity==1.4
intervals==0.8.0
ipaddress==1.0.18
ipython==5.4.1
ipython-genutils==0.2.0
isodate==0.5.4
itsdangerous==0.24
Jinja2==2.9.6
jsmin==2.2.2
jsonschema==2.6.0
jupyter-core==4.3.0
kombu==3.0.37
lxml==3.8.0
Mako==0.9.1
Markdown==2.3.1
MarkupSafe==1.0
marshmallow==2.13.5
marshmallow-enum==1.2
marshmallow-sqlalchemy==0.13.1
mistune==0.7.4
mock==2.0.0
nbconvert==5.2.1
nbformat==4.3.0
oauth2==1.5.211
oauthlib==2.0.2
olefile==0.44
pandocfilters==1.4.1
pathlib==1.0.1
pathlib2==2.3.0
pbr==3.1.1
pexpect==4.2.1
pickleshare==0.7.4
Pillow==4.1.1
pojson==0.4
polib==1.0.5
prompt-toolkit==1.0.14
psycopg2==2.7.1
ptyprocess==0.5.2
py==1.4.34
pyatom==1.4
pycountry==1.2
pycparser==2.18
Pygments==2.2.0
pyPdf==1.13
pyScss==1.3.5
pytest==3.1.2
pytest-catchlog==1.2.2
pytest-cov==2.5.1
pytest-localserver==0.3.7
pytest-mock==1.6.0
python-dateutil==2.6.0
python-editor==1.0.3
pytz==2017.2
PyYAML==3.12
qrcode==5.3
redis==2.10.5
reportlab==3.4.0
requests==2.18.1
requests-oauthlib==0.8.0
requests-toolbelt==0.8.0
scandir==1.5
simplegeneric==0.8.1
simplejson==3.11.1
six==1.10.0
sleekxmpp==1.3.2
speaklater==1.3
SQLAlchemy==1.1.11
termcolor==1.1.0
terminaltables==3.1.0
testpath==0.3.1
traitlets==4.3.2
translitcodec==0.4.0
urllib3==1.21.1
validators==0.12.0
wcwidth==0.1.7
webassets==0.12.1
Werkzeug==0.12.2
WTForms==2.1
WTForms-Components==0.10.3
XlsxWriter==0.9.7
zeep==2.2.0
zope.interface==3.8.0
(.venv)[indico@j314149 ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment