Search code examples
pythoncentosincron

abrt-server: Undefined variable outside of [[ ]] bracket


I am trying to run my python scripts from incron triggers, but I'm having this error

abrt-server: Undefined variable outside of [[ ]] bracket

Now I'm not sure if this is with my python script because if I run it independently, it does work as expected.

I'm checking /var/log/messages but I see the same general error

And running service incrond status -l shows the same message

Is there anyway I can find the specific line where the error was detected? (Will making abrtd verbose mode help?)


Solution

  • the details about the error can be seen at /var/spool/abrt/{most updated Python folder}