mblackhamgw / gwhelpdesk

2 stars 1 forks source link

Buttons Search, All users, Show log doesn´t do anything #8

Open hilocz opened 6 years ago

hilocz commented 6 years ago

Like the subject, there three buttons doesn´t do anything, when I click on it.

mblackhamgw commented 6 years ago

they seem to work for me. Try running the updateHelpdesk.sh script. I missed a commit, it should fix the groupsearch problem, and maybe these..

I'm not positive which buttons you are referring to. A screenshot would help.

--Morris

dkrotilnotifications@github.com 2/17/2018 4:13 PM >>>

Like the subject, there three buttons doesn´t do anything, when I click on it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mblackhamgw/gwhelpdesk","title":"mblackhamgw/gwhelpdesk","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mblackhamgw/gwhelpdesk"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Buttons Search, All users, Show log doesn´t do anything (#8)"}],"action":{"name":"View Issue","url":"https://github.com/mblackhamgw/gwhelpdesk/issues/8"}}}

hilocz commented 6 years ago

After running updateHelpdesk.sh script I got this error , when I tried to access the site ->

'module' object has no attribute 'addgroup' ( on urls.py )

mblackhamgw commented 6 years ago

David, I need some context. when and where are you seeing the error?

--Morris

dkrotilnotifications@github.com 2/18/2018 8:01 PM >>>

After running updateHelpdesk.sh script I got this error ->

'module' object has no attribute 'addgroup'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mblackhamgw/gwhelpdesk","title":"mblackhamgw/gwhelpdesk","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mblackhamgw/gwhelpdesk"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dkrotil in #8: After running updateHelpdesk.sh script I got this error -\u003e\r\n\r\n'module' object has no attribute 'addgroup'\r\n"}],"action":{"name":"View Issue","url":"https://github.com/mblackhamgw/gwhelpdesk/issues/8#issuecomment-366578011"}}}

hilocz commented 6 years ago

When I try to login, I´m getting yellow error page with

`AttributeError at /

'module' object has no attribute 'addgroup'

Request Method: GET Request URL: http://helpdesk-tp01.nowhere.cz/ Django Version: 1.11.5 Exception Type: AttributeError Exception Value:

'module' object has no attribute 'addgroup'

Exception Location: /var/gwhelpdesk/helpdesk/urls.py in , line 23 Python Executable: /usr/bin/python Python Version: 2.7.13 Python Path:

['/var/gwhelpdesk', '/usr/bin', '/usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg', '/usr/lib/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/local/lib64/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages']

Server time: Mon, 19 Feb 2018 17:48:23 +0000`

mblackhamgw commented 6 years ago

edit /yourdir/gwhelpdesk/helpdesk.views.py and see if there is a function that begins with:

def: addgroup(request):

Did your restart gwhelpdesk after running the update script?

I am not seeing the issue and I pulled the code anew from github.

--Morris

dkrotilnotifications@github.com 2/19/2018 10:49 AM >>>

When I try to login, I getting yellow error page with

`AttributeError at /

'module' object has no attribute 'addgroup'

Request Method: GET Request URL: http://helpdesk-tp01.nowhere.cz/ Django Version: 1.11.5 Exception Type: AttributeError Exception Value:

'module' object has no attribute 'addgroup'

Exception Location: /var/gwhelpdesk/helpdesk/urls.py in , line 23 Python Executable: /usr/bin/python Python Version: 2.7.13 Python Path:

['/var/gwhelpdesk', '/usr/bin', '/usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg', '/usr/lib/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/local/lib64/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages']

Server time: Mon, 19 Feb 2018 17:48:23 +0000`

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mblackhamgw/gwhelpdesk","title":"mblackhamgw/gwhelpdesk","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mblackhamgw/gwhelpdesk"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dkrotil in #8: When I try to login, I getting yellow error page with \r\n\r\nAttributeError at /\r\n\r\n'module' object has no attribute 'addgroup'\r\n\r\nRequest Method: \tGET\r\nRequest URL: \thttp://helpdesk-tp01.nowhere.cz/\r\nDjango Version: \t1.11.5\r\nException Type: \tAttributeError\r\nException Value: \t\r\n\r\n'module' object has no attribute 'addgroup'\r\n\r\nException Location: \t/var/gwhelpdesk/helpdesk/urls.py in \u003cmodule\u003e, line 23\r\nPython Executable: \t/usr/bin/python\r\nPython Version: \t2.7.13\r\nPython Path: \t\r\n\r\n['/var/gwhelpdesk',\r\n '/usr/bin',\r\n '/usr/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg',\r\n '/usr/lib/python27.zip',\r\n '/usr/lib64/python2.7',\r\n '/usr/lib64/python2.7/plat-linux2',\r\n '/usr/lib64/python2.7/lib-tk',\r\n '/usr/lib64/python2.7/lib-old',\r\n '/usr/lib64/python2.7/lib-dynload',\r\n '/usr/lib64/python2.7/site-packages',\r\n '/usr/local/lib64/python2.7/site-packages',\r\n '/usr/local/lib/python2.7/site-packages',\r\n '/usr/lib/python2.7/site-packages']\r\n\r\nServer time: \tMon, 19 Feb 2018 17:48:23 +0000"}],"action":{"name":"View Issue","url":"https://github.com/mblackhamgw/gwhelpdesk/issues/8#issuecomment-366763535"}}}

hilocz commented 6 years ago

After I deleted whole gwhelpdesk folder and git clone, the error is gone. Still buttons aren´t functional image