ecmread

nickom

New Member
has anyone had problems running the ecmread in --ip -d mode,

If i run it in --ip -p it reads the data over ip and prints it to the screen without any problems but as soon as I change the switch to write it to the database I get the follwoing errors:

Traceback (most recent call last):
File "C:\Documents and Settings\Administrator\pythonworkspace\ecmread\src\ecmread.py", line 224, in run
self.read()
File "C:\Documents and Settings\Administrator\pythonworkspace\ecmread\src\ecmread.py", line 356, in read
self.sock.shutdown(socket.SHUT_RD)
File "C:\Python27\lib\socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
Exception [in <__main__.SocketPacketServer object at 0x00DA9A90>]: [Errno 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied


it looks like a read is made on the socket for insertion into the db after the con and socket are closed, but i'm not sure

Thanks in advance for any help
Nick
 
Back
Top