-
Type:
Task
-
Status: Open (View Workflow)
-
Priority:
Normal
-
Resolution: Unresolved
-
Component/s: tron_actorcore
-
Labels:None
The archiver uses config files. We could/should update to standard ICS YAML files, but the usage is a bit unusual – the archiver uses the config file to seed the optparse structures, and the archiver is not actually a normal actor so does not automatically pick up the usual yaml config.
But the specific ConfigParser interface has been deprecated, as below. I'm not up to doing the proper redesign, so just making the suggested fix:
Traceback (most recent call last):
File "/software/mhs/products/Linux64/ics_archiver/1.2.6b/bin/archiveServer.py", line 199, in <module>
main()
File "/software/mhs/products/Linux64/ics_archiver/1.2.6b/bin/archiveServer.py", line 140, in main
import opscore.utility.config as config
File "/software/mhs/products/Linux64/tron_actorcore/2.4.21a/python/opscore/utility/config.py", line 25, in <module>
class ProductConfig(configparser.SafeConfigParser):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?