![]() |
![]() |
Subject: | Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Nick Barker |
Posted: | 2018-04-25 10:38 |
Attachments:
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jonathan Colon |
Posted: | 2018-05-07 15:44 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jonathan Colon |
Posted: | 2018-05-08 17:55 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Nick Barker |
Posted: | 2018-05-09 09:15 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jane Curry |
Posted: | 2018-05-16 10:23 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | John Boyle |
Posted: | 2018-05-16 10:44 |
Hello @Jane. As we have discussed numerous times the process has not changed. Email your ticket and I will have it made public. They key is emailing the ticket. Based on ZenMaster feedback I raised and continue to voice the need for these to be visible to the person that logged the ticket. But I have not received any JIRA ticket numbers from you or others in a while. So please leverage the process for new issues moving forward.
As you already know...Zenoss Community Edition (Core) is the freemium version of Zenoss. Zenoss Support comes with Enterprise but we look at all JIRA issues since Core is release with and is a subset of the Enterprise feature set.
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | John Boyle |
Posted: | 2018-05-16 10:31 |
Hello @Nick! Open your ticket and shoot the JIRA number to me. Agreed these should be accessible to you and I voice this often internally. Key is to send me the link. This has not changed. Additionally I can track it them and review in the weekly meetings. My email is jboyle@zenoss.com. Always reach out to me with any questions.
JB
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jane Curry |
Posted: | 2018-05-16 10:32 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | John Boyle |
Posted: | 2018-05-16 10:45 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Nick Barker |
Posted: | 2018-05-16 10:46 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | John Boyle |
Posted: | 2018-05-16 10:56 |
Thanks @Nick. I updated the ticket and added a question for you. Please make sure you can access the ticket ok.
Cheers!
JB
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Janusz Kujawa |
Posted: | 2018-06-06 14:24 |
Dear All,
I currently have exactly same issue as Nick. I've migrated system from Zenoss Core 5.3.3 to Zenoss Core 6.1.2. I tried to re-index device directory however without success:
serviced service attach zope su - zenoss
zencatalog run --createcatalog --forceindex
After successful re-index run, the search has been checked. Unfortunately nothing has changed. I'm still getting errors when I'm trying to search devices. When I enter full name in device search (top right corner) it works, but when device name is not completed error is displayed (similar to poskey errors - yellow bar). It looks to me that that issue concerns solr. I checked jira and issue is still open. Maybe I should remove solr database and try to recreate it. I will be grateful for help,
Thanks in advance
Best Regards
J.K
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Janusz Kujawa |
Posted: | 2018-06-11 01:51 |
Dear All,
From what I was able to notice above problem is focused on codding inside following ZenPacks.zenoss.DeviceSearch. Is there anyone who fixed this issue since now? I tried to solve issue without reprogram Zenpack like using such as tools: zodbscan,zenrelactionscan,findposkeyerror,zencatalogscan, reindex solr and zenoss catalog, but my story did not end well. Have any of you tried the earlier version DeviceSearch?
Thank you!
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jay Stanley |
Posted: | 2018-06-29 20:44 |
serviced service attach zope su - zenoss
zencatalog run --createcatalog --forceindex
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jay Stanley |
Posted: | 2018-06-29 20:51 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Nick Barker |
Posted: | 2018-06-30 08:25 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jay Stanley |
Posted: | 2018-07-02 09:12 |
Zenoss | |||||||
|
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Nick Barker |
Posted: | 2018-07-02 09:32 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jay Stanley |
Posted: | 2018-07-02 11:01 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | David de Sousa |
Posted: | 2018-07-23 10:16 |
@timestamp |
July 23rd 2018, 11:59:35.000
|
|
t@version |
1
|
|
t_id |
AWTGlL4QPTUQgYOobKEM
|
|
t_index |
logstash-2018.07.23
|
|
#_score | ||
t_type |
log
|
|
?beat.hostname |
1b42e8b40a0b
|
|
?beat.name |
1b42e8b40a0b
|
|
?beat.version |
5.3.2
|
|
?fields.ccWorkerID |
43c40d43
|
|
?fields.hostips |
x.x.x.x 172.17.0.1
|
|
?fields.instance |
0
|
|
?fields.poolid |
default
|
|
?fields.service |
7aog186dg3qj9vp6e426i4qws
|
|
?fields.servicepath |
/Zenoss.core/Zenoss/User Interface/Zope
|
|
?fields.type |
zope_eventlog
|
|
?file |
/opt/zenoss/log/event.log
|
|
thost |
1b42e8b40a0b
|
|
?input_type |
log
|
|
?logger |
extdirect
|
|
?loglevel |
INFO
|
|
tmessage |
2018-07-23T10:59:35 INFO extdirect DirectRouter suppressed the following exception (Response ef3e2532-b5c3-414b-9925-34dbd46b72d2): Traceback (most recent call last): File "/opt/zenoss/Products/ZenUtils/extdirect/router.py", line 184, in _processDirectRequest response.result = _targetfn(**data) File "/opt/zenoss/Products/Zuul/search/routers.py", line 98, in getLiveResults _RESULT_SORTER, maxResults=maxResults) File "/opt/zenoss/Products/Zuul/search/facades.py", line 340, in getQuickSearchResults maxResults=maxResults) File "/opt/zenoss/Products/Zuul/search/facades.py", line 239, in _getSearchResults maxResults=maxResults File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.DeviceSearch-1.2.3-py2.7.egg/ZenPacks/zenoss/DeviceSearch/device/adapters.py", line 133, in getSearchResults filterFn, maxResults) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.DeviceSearch-1.2.3-py2.7.egg/ZenPacks/zenoss/DeviceSearch/device/adapters.py", line 77, in _getSearchResultsFromModelCatalog results = sorter.limitSort(results) File "/opt/zenoss/Products/Zuul/search/facades.py", line 155, in limitSort results.sort(self.comparator) File "/opt/zenoss/Products/Zuul/search/facades.py", line 111, in __call__ result = self._compareCategories( result1, result2 ) File "/opt/zenoss/Products/Zuul/search/facades.py", line 117, in _compareCategories cat1 = result1.category.lower() AttributeError: 'NoneType' object has no attribute 'lower', DirectRouter suppressed the following exception (Response ef3e2532-b5c3-414b-9925-34dbd46b72d2): Traceback (most recent call last): File "/opt/zenoss/Products/ZenUtils/extdirect/router.py", line 184, in _processDirectRequest response.result = _targetfn(**data) File "/opt/zenoss/Products/Zuul/search/routers.py", line 98, in getLiveResults _RESULT_SORTER, maxResults=maxResults) File "/opt/zenoss/Products/Zuul/search/facades.py", line 340, in getQuickSearchResults maxResults=maxResults) File "/opt/zenoss/Products/Zuul/search/facades.py", line 239, in _getSearchResults maxResults=maxResults File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.DeviceSearch-1.2.3-py2.7.egg/ZenPacks/zenoss/DeviceSearch/device/adapters.py", line 133, in getSearchResults filterFn, maxResults) File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.DeviceSearch-1.2.3-py2.7.egg/ZenPacks/zenoss/DeviceSearch/device/adapters.py", line 77, in _getSearchResultsFromModelCatalog results = sorter.limitSort(results) File "/opt/zenoss/Products/Zuul/search/facades.py", line 155, in limitSort results.sort(self.comparator) File "/opt/zenoss/Products/Zuul/search/facades.py", line 111, in __call__ result = self._compareCategories( result1, result2 ) File "/opt/zenoss/Products/Zuul/search/facades.py", line 117, in _compareCategories cat1 = result1.category.lower() AttributeError: 'NoneType' object has no attribute 'lower'
|
|
?offset |
19026, 19061, 19156, 19196, 19277, 19320, 19409, 19436, 19521, 19547, 19701, 19727, 19897, 19937, 20014, 20048, 20124, 20181, 20267, 20303, 20362
|
|
?rcvd_datetime |
2018-07-23T09:59:44.841Z
|
|
?tags |
beats_input_codec_plain_applied, multiline
|
|
?type |
log
|
Zenoss | |||||||
|
serviced service attach zope su - zenoss
zencatalog run --createcatalog --forceindex
Dear All,
From what I was able to notice above problem is focused on codding inside following ZenPacks.zenoss.DeviceSearch. Is there anyone who fixed this issue since now? I tried to solve issue without reprogram Zenpack like using such as tools: zodbscan,zenrelactionscan,findposkeyerror,zencatalogscan, reindex solr and zenoss catalog, but my story did not end well. Have any of you tried the earlier version DeviceSearch?
Thank you!
Dear All,
I currently have exactly same issue as Nick. I've migrated system from Zenoss Core 5.3.3 to Zenoss Core 6.1.2. I tried to re-index device directory however without success:
serviced service attach zope su - zenoss
zencatalog run --createcatalog --forceindex
After successful re-index run, the search has been checked. Unfortunately nothing has changed. I'm still getting errors when I'm trying to search devices. When I enter full name in device search (top right corner) it works, but when device name is not completed error is displayed (similar to poskey errors - yellow bar). It looks to me that that issue concerns solr. I checked jira and issue is still open. Maybe I should remove solr database and try to recreate it. I will be grateful for help,
Thanks in advance
Best Regards
J.K
Thanks @Nick. I updated the ticket and added a question for you. Please make sure you can access the ticket ok.
Cheers!
JB
Hello @Nick! Open your ticket and shoot the JIRA number to me. Agreed these should be accessible to you and I voice this often internally. Key is to send me the link. This has not changed. Additionally I can track it them and review in the weekly meetings. My email is jboyle@zenoss.com. Always reach out to me with any questions.
JB
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jay Stanley |
Posted: | 2018-07-23 13:13 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | David de Sousa |
Posted: | 2018-07-24 12:39 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Jay Stanley |
Posted: | 2018-07-24 16:34 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Nick Barker |
Posted: | 2018-07-25 08:01 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | David de Sousa |
Posted: | 2018-07-27 06:25 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | David de Sousa |
Posted: | 2018-08-07 12:01 |
Subject: | RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower' |
Author: | Ryan Bellinger |
Posted: | 2021-04-20 12:47 |
< |
Previous Core 6.1.2 OVA |
Next Graph consist more 6 items have displayed incorrectly. |
> |