Hello. First time post for me.
We recently upgraded from OTM 5.0 to OTM 5.5 and have both versions running on separate servers. We have always used the python upload method to load freight rates into OTM using ClientUtil.py which worked well in OTM 5.0. However, when we try running the same scripts on the OTM 5.5 server we get the following error:
Traceback (most recent call last):
File "/appsoft/otm55/utils/integration/python/ClientUtil.py", line 640, in ?
args.argValue("localDir"),args.argValue("localFile Name"),args.argValue("csvUtilCommand"),args.argVal ue("xvalidate"))
File "/appsoft/otm55/utils/integration/python/ClientUtil.py", line 363, in csvImport
encoding=commonTools.getCharacterEncoding()
File "/appsoft/otm55/utils/integration/python/commonTools.py", line 740, in getCharacterEncoding
return site.encoding
AttributeError: 'module' object has no attribute 'encoding'
Since we didn't change any code, I suspect that this is due to an installation or configuration issue with Python. Unfortunately, my python skills are minimal.
Any ideas or suggestions on what is happening and how I can get our python rate loads working again?
Help is greatly appreciated.
Thank you!
--Richard
We recently upgraded from OTM 5.0 to OTM 5.5 and have both versions running on separate servers. We have always used the python upload method to load freight rates into OTM using ClientUtil.py which worked well in OTM 5.0. However, when we try running the same scripts on the OTM 5.5 server we get the following error:
Traceback (most recent call last):
File "/appsoft/otm55/utils/integration/python/ClientUtil.py", line 640, in ?
args.argValue("localDir"),args.argValue("localFile Name"),args.argValue("csvUtilCommand"),args.argVal ue("xvalidate"))
File "/appsoft/otm55/utils/integration/python/ClientUtil.py", line 363, in csvImport
encoding=commonTools.getCharacterEncoding()
File "/appsoft/otm55/utils/integration/python/commonTools.py", line 740, in getCharacterEncoding
return site.encoding
AttributeError: 'module' object has no attribute 'encoding'
Since we didn't change any code, I suspect that this is due to an installation or configuration issue with Python. Unfortunately, my python skills are minimal.
Any ideas or suggestions on what is happening and how I can get our python rate loads working again?
Help is greatly appreciated.
Thank you!
--Richard
Comment