Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard problems #14

Open
bokae opened this issue May 31, 2017 · 1 comment
Open

Dashboard problems #14

bokae opened this issue May 31, 2017 · 1 comment

Comments

@bokae
Copy link

bokae commented May 31, 2017

Cannot open existing dashboard.

502 Bad Gateway

On clicking reports on the kooplex homepage, following message appears insted of the list of reports:

AttributeError at /hub/worksheets

'NoneType' object has no attribute 'ports'

Request Method: GET
Request URL: http://kooplex1/hub/worksheets
Django Version: 1.9
Exception Type: AttributeError
Exception Value:

'NoneType' object has no attribute 'ports'

Exception Location: /kooplexhub/kooplexhub/kooplex/lib/dashboards.py in list_dashboards, line 152
Python Executable: /usr/bin/python3
Python Version: 3.5.2
Python Path:

['/usr/local/lib/python3.5/dist-packages/git/ext/gitdb',
'/kooplexhub/kooplexhub',
'/usr/lib/python35.zip',
'/usr/lib/python3.5',
'/usr/lib/python3.5/plat-x86_64-linux-gnu',
'/usr/lib/python3.5/lib-dynload',
'/usr/local/lib/python3.5/dist-packages',
'/usr/lib/python3/dist-packages',
'/usr/local/lib/python3.5/dist-packages/gitdb/ext/smmap']

Server time: Wed, 31 May 2017 05:21:30 -0500

Environment:

Request Method: GET
Request URL: http://kooplex1/hub/worksheets

Django Version: 1.9
Python Version: 3.5.2
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.admindocs',
'kooplex.hub.apps.HubConfig')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'threadlocals.middleware.ThreadLocalMiddleware')

Traceback:

File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py" in get_response
149. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py" in get_response
147. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/kooplexhub/kooplexhub/kooplex/hub/views/worksheets.py" in worksheets
27. list_of_dashboards = D.list_dashboards(request)

File "/kooplexhub/kooplexhub/kooplex/lib/dashboards.py" in list_dashboards
152. ports=dashboard_container.ports

Exception Type: AttributeError at /hub/worksheets
Exception Value: 'NoneType' object has no attribute 'ports'

@jegesm
Copy link
Collaborator

jegesm commented May 31, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants