Configuration & Administration

Expand all | Collapse all

Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

  • 1.  Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 04-25-2018 09:38 AM
      |   view attached
    I've installed Zenoss 6.1.1 and 6.1.2 both having the same results with the search bar error.  If i type in the device name correctly it will show the device.  If i type part of the name it may or may not provide a valid search result and may or may not provide that error...  AttributeError: 'NoneType' object has no attribute 'lower'

    In version 6.1.1 i imported a device list from our older 5.3.3 version however in the 6.1.2 deployment i did a network discovery and still experienced this issue.  Has anyone had a similar issue or is it something i did during install?

    You can see in the attachment the actual error that displays, again sometimes i can get an error but see results i was hoping for but other times it simply will not return the device in the search unless i have the exact full name of the device ID.

    ------------------------------
    Nick Barker
    Systems Administrator
    ------------------------------


  • 2.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-07-2018 02:44 PM
    same issues here. did you find a solution?

    ------------------------------
    Jonathan Colon
    Universidad del Turabo
    ------------------------------



  • 3.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-08-2018 04:55 PM
    https://jira.zenoss.com/browse/ZEN-30044

    ------------------------------
    Jonathan Colon
    Universidad del Turabo
    ------------------------------



  • 4.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-09-2018 08:15 AM
    I had never used the Zenoss JIRA before.  I created an account but it will not let me view what you sent along.  I have not found a fix for it, we've just had to either remember IP's or complete hostnames to search and it will usually find it.

    ------------------------------
    Nick Barker
    Systems Administrator
    ------------------------------



  • 5.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-16-2018 09:23 AM
    This is frustrating on JIRA.  I have been asking for years that JIRA tickets default to public viewing so others can see issues.  When Andrew was the community manager, we all used to send him a note as soon as we had opened a JIRA ticket and he had a more-or-less instant way to make this public.  @John - can you continue this service for the community?

    Thanks,
    jane​​​

    ------------------------------
    Jane Curry
    Skills 1st United Kingdom
    jane.curry@skills-1st.co.uk
    ------------------------------



  • 6.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-16-2018 09:44 AM

    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.



    ------------------------------
    John Boyle
    Technology Partnerships & Community Manager
    Zenoss
    Austin TX
    jboyle@zenoss.com
    http://www.zenoss.com
    ------------------------------



  • 7.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-16-2018 09:31 AM

    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​



    ------------------------------
    John Boyle
    Technology Partnerships & Community Manager
    Zenoss
    Austin TX
    jboyle@zenoss.com
    http://www.zenoss.com
    ------------------------------



  • 8.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-16-2018 09:32 AM
    Thanks @John :)
    Cheers,
    jane​

    ------------------------------
    Jane Curry
    Skills 1st United Kingdom
    jane.curry@skills-1st.co.uk
    ------------------------------



  • 9.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-16-2018 09:45 AM
    @Jane Cheers back. Email me any you have on your list. Happy to help!

    JB​

    ------------------------------
    John Boyle
    Technology Partnerships & Community Manager
    Zenoss
    Austin TX
    jboyle@zenoss.com
    http://www.zenoss.com
    ------------------------------



  • 10.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-16-2018 09:46 AM
    Thank you for your time and the information.  @Jane and @John​​ I've created the JIRA ticket under my account.  ZEN-30076

    Please let me know if there is any information or anything i can test/try.  I can easily spin up a secondary system to play with.

    ------------------------------
    Nick Barker
    Systems Administrator
    ------------------------------



  • 11.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 05-16-2018 09:56 AM

    Thanks @Nick. I updated the ticket and added a question for you. Please make sure you can access the ticket ok.

    Cheers!

    JB​



    ------------------------------
    John Boyle
    Technology Partnerships & Community Manager
    Zenoss
    Austin TX
    jboyle@zenoss.com
    http://www.zenoss.com
    ------------------------------



  • 12.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 18 days ago

    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



    ------------------------------
    Janusz Kujawa
    Cloud Management System Administrator
    Wrocław
    ------------------------------



  • 13.  RE: Device Search Error - AttributeError: 'NoneType' object has no attribute 'lower'

    Posted 14 days ago

    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!



    ------------------------------
    Janusz Kujawa
    Cloud Management System Administrator
    Wrocław
    ------------------------------