Open wianoski opened 6 years ago
Hi, this might be a version issue... Try upgrading configparser and let me know if that solves your issue. pip install upgrade configparser
Thanks.
hi, sorry for wait, i've try to upgrade it, and try again but it's still the same error, what i should do next ? thx
Hi, I get the similar error when I run the cesium_web_server. And I update the configparser, It still the same error.
_Failed to use config file at D:\MyProject\MAVCesium\app\mavcesium_default.ini : ConfigParser instance has no attribute 'read_file'
Traceback (most recent call last):
File ".\cesium_web_server.py", line 279, in <module>
module(optsargs)
File ".\cesium_web_server.py", line 182, in __init__
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File ".\cesium_web_server.py", line 141, in main
server = start_app(config=config, module_callback=module_callback)
File ".\cesium_web_server.py", line 102, in start_app
application = Application(config, module_callback)
File ".\cesium_web_server.py", line 86, in __init__
(r"/"+config.APP_PREFIX, MainHandler, args),
AttributeError: 'Configuration' object has no attribute 'APP_PREFIX'
self.main_loop()
File ".\cesium_web_server.py", line 249, in main_loop
self.process_connection_in() # any down time (max 0.1 sec) occurs here
File ".\cesium_web_server.py", line 215, in process_connection_in
self.connection.control_connection.recv_msg()
File "C:\Python27\lib\site-packages\pymavlink\mavutil.py", line 318, in recv_msg
s = self.recv(n)
File "C:\Python27\lib\site-packages\pymavlink\mavutil.py", line 989, in recv
data = self.port.recv(n)
socket.error: [Errno 10053]_
Hello there, i was trying to load the cesium module but i got this error like this, there's an error say that the configparser didn't have attribute 'read_file', how can i fix this ?, this is the error line
thx