will-hart / blitz

An open source data acquisition system in Python
http://will-hart.github.io/blitz/
GNU Affero General Public License v3.0
0 stars 1 forks source link

Error on download processing #33

Closed will-hart closed 10 years ago

will-hart commented 10 years ago
Handling client download request
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner
self.run()
  File "C:\Python27\lib\threading.py", line 504, in run
self.__target(*self.__args, **self.__kwargs)
  File "C:\Users\mecharius\Dropbox\blitz\blitz\io\tcp.py", line 181, in run_client
self.receive_message(reply)
  File "C:\Users\mecharius\Dropbox\blitz\blitz\io\tcp.py", line 78, in receive_message
self.current_state = self.current_state.receive_message(self, message)
  File "C:\Users\mecharius\Dropbox\blitz\blitz\io\client_states.py", line 234, in receive_message
    sigs.data_line_received.send((msg_parts, self.session_id))
  File "C:\Python27\lib\site-packages\blinker\base.py", line 267, in send
for receiver in self.receivers_for(sender)]
  File "C:\Users\mecharius\Dropbox\blitz\blitz\io\boards.py", line 62, in parse_session_message
    self.data.add_many(decoded_vars)
  File "C:\Users\mecharius\Dropbox\blitz\blitz\data\database.py", line 64, in add_many
    sess.add(r)
  File "C:\Python27\lib\site-packages\sqlalchemy\orm\session.py", line 1395, in add
    raise exc.UnmappedInstanceError(instance)
UnmappedInstanceError: Class '__builtin__.str' is not mapped

will-hart commented 10 years ago

Fix errors on data download. Closes #33.

→ <>


Original Comment By: Will Hart