Piler Purge.sh crashing on run Piler 1.3.11

Issue #1302 wontfix
Jurie Botha created an issue

Hi there,

Having an issue with /usr/local/libexec/piler/purge.sh

Crashes when run with the folowing:

Traceback (most recent call last):
  File "/usr/lib/python3.8/configparser.py", line 789, in get
    value = d[option]
  File "/usr/lib/python3.8/collections/__init__.py", line 898, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/lib/python3.8/collections/__init__.py", line 890, in __missing__
    raise KeyError(key)
KeyError: 'queuedir'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/libexec/piler/pilerpurge.py", line 258, in <module>
    main()
  File "/usr/local/libexec/piler/pilerpurge.py", line 201, in main
    read_options(args.config, opts)
  File "/usr/local/libexec/piler/pilerpurge.py", line 35, in read_options
    opts['storedir'] = config.get('piler', 'queuedir')
  File "/usr/lib/python3.8/configparser.py", line 792, in get
    raise NoOptionError(option, section)
configparser.NoOptionError: No option 'queuedir' in section: 'piler'

The same for running /usr/local/libexec/piler/pilerpurge.py -c /usr/local/etc/piler/piler.conf

piler@bdz-piler:~$ /usr/local/libexec/piler/pilerpurge.py -c /usr/local/etc/piler/piler.conf
Traceback (most recent call last):
  File "/usr/lib/python3.8/configparser.py", line 789, in get
    value = d[option]
  File "/usr/lib/python3.8/collections/__init__.py", line 898, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/lib/python3.8/collections/__init__.py", line 890, in __missing__
    raise KeyError(key)
KeyError: 'queuedir'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/libexec/piler/pilerpurge.py", line 258, in <module>
    main()
  File "/usr/local/libexec/piler/pilerpurge.py", line 201, in main
    read_options(args.config, opts)
  File "/usr/local/libexec/piler/pilerpurge.py", line 35, in read_options
    opts['storedir'] = config.get('piler', 'queuedir')
  File "/usr/lib/python3.8/configparser.py", line 792, in get
    raise NoOptionError(option, section)
configparser.NoOptionError: No option 'queuedir' in section: 'piler'

Any help would be greatly appriciated.

Comments (2)

  1. Log in to comment