[IntelMQ-users] [IntelMQ -users] AttributeError: 'Parameters' object has no attribute 'logging_level'

Sebastian Wagner wagner at cert.at
Wed Apr 28 15:04:38 CEST 2021


Hi,

That's interesting, I wonder how it emptied itself. You can use this one
here to fill it with the standard values:
https://raw.githubusercontent.com/certtools/intelmq/2.3.2/intelmq/etc/defaults.conf

In IntelMQ 3.0, that file does not exist anymore and it's not necessary
to specify all the "default default" values in a file at all :)

Sebastian

On 4/28/21 3:01 PM, hatibu chande wrote:
> Hi,
>
> No logging_level field.., It looks like this {} only.
>
> Hatibu.
>
> On Wed, Apr 28, 2021 at 3:55 PM Sebastian Wagner <wagner at cert.at
> <mailto:wagner at cert.at>> wrote:
>
>     Ok, how does you defaults.conf look like? in particular, is there
>     a logging_level field?
>
>     On 4/28/21 2:53 PM, hatibu chande wrote:
>>     Hello Sebastian,
>>
>>     I upgraded to version 2.3.2 but still got the same error.
>>
>>     File "/usr/bin/intelmqctl", line 11, in <module>
>>         load_entry_point('intelmq==2.3.2', 'console_scripts',
>>     'intelmqctl')()
>>       File
>>     "/usr/lib/python3/dist-packages/intelmq/bin/intelmqctl.py", line
>>     1899, in main
>>         x = IntelMQController(interactive=True)
>>       File
>>     "/usr/lib/python3/dist-packages/intelmq/bin/intelmqctl.py", line
>>     706, in __init__
>>         self.logging_level = self.parameters.logging_level.upper()
>>     AttributeError: 'Parameters' object has no attribute 'logging_level'
>>
>>     Regards,
>>     Hatibu.
>>
>>     On Wed, Apr 28, 2021 at 3:19 PM Sebastian Wagner <wagner at cert.at
>>     <mailto:wagner at cert.at>> wrote:
>>
>>         Dear hatibu,
>>
>>         It looks like you are using an outdated version of IntelMQ
>>         (2.3.1). Please upgrade to the latest version 2.3.2 first,
>>         otherwise we might be chasing bugs which are already fixed.
>>
>>         Sebastian
>>
>>         P.S: you also posted to intelmq-dev, to which you are not
>>         subscribed and the message was thus held back. I rejected
>>         that one as posting to one list is enough.
>>
>>         On 4/28/21 2:11 PM, hatibu chande wrote:
>>>         Hello Team,
>>>
>>>         I recently installed IntelMQ and got this error when running
>>>         intelmqctl status command. Please can any one help me.
>>>
>>>         File "/usr/bin/intelmqctl", line 11, in <module>
>>>             load_entry_point('intelmq==2.3.1', 'console_scripts',
>>>         'intelmqctl')()
>>>           File
>>>         "/usr/lib/python3/dist-packages/intelmq/bin/intelmqctl.py",
>>>         line 1899, in main
>>>             x = IntelMQController(interactive=True)
>>>           File
>>>         "/usr/lib/python3/dist-packages/intelmq/bin/intelmqctl.py",
>>>         line 706, in __init__
>>>             self.logging_level = self.parameters.logging_level.upper()
>>>         AttributeError: 'Parameters' object has no attribute
>>>         'logging_level'
>>>
>>>
>>>         Regards,
>>>
>>>         Hatibu.
>>>
>>         -- 
>>         // Sebastian Wagner <wagner at cert.at> <mailto:wagner at cert.at> - T: +43 676 898 298 7201
>>         // CERT Austria - https://www.cert.at/
>>         // Eine Initiative der nic.at <http://nic.at> GmbH - https://www.nic.at/
>>         // Firmenbuchnummer 172568b, LG Salzburg
>>
>>
>     -- 
>     // Sebastian Wagner <wagner at cert.at> <mailto:wagner at cert.at> - T: +43 676 898 298 7201
>     // CERT Austria - https://www.cert.at/
>     // Eine Initiative der nic.at <http://nic.at> GmbH - https://www.nic.at/
>     // Firmenbuchnummer 172568b, LG Salzburg
>
-- 
// Sebastian Wagner <wagner at cert.at> - T: +43 676 898 298 7201
// CERT Austria - https://www.cert.at/
// Eine Initiative der nic.at GmbH - https://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20210428/07d50c87/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20210428/07d50c87/attachment.sig>


More information about the IntelMQ-users mailing list