'device reports readiness to read but returned no data' - Error

Hi,

I am trying to get started with Nova but the device behaves erratically. Sometimes commands work, but the very next time they don’t. I’ve added the crash stack trace. I got the device yesterday and installed the library on the latest Ubuntu. I’ve blanked out the SIM value with all XXX for privacy. Power Red + Fast flickering Blue on the device.

root@ubuntu:~# hologram modem sim
ICCID: XXXXXXXXXXXXXXXXX
root@ubuntu:~# hologram send "Hello World"
ERROR: An error occurred while attempting to send the message to the cloud
ERROR: Please try again.
ERROR: An error occurred while attempting to send the message to the cloud
ERROR: Please try again.
RESPONSE MESSAGE: Unknown error
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# hologram send "Hello World"
Traceback (most recent call last):
File “/usr/local/bin/hologram”, line 179, in
if name == ‘main’: main()
File “/usr/local/bin/hologram”, line 175, in main
_command_handlerscommand_selected_prefix
File “/usr/local/lib/python2.7/dist-packages/scripts/hologram_send.py”, line 147, in run_hologram_send
run_hologram_send_cloud(args)
File “/usr/local/lib/python2.7/dist-packages/scripts/hologram_send.py”, line 153, in run_hologram_send_cloud
sendTOTP(args, data)
File “/usr/local/lib/python2.7/dist-packages/scripts/hologram_send.py”, line 75, in sendTOTP
hologram = HologramCloud(dict(), authentication_type=‘totp’, network=‘cellular’)
File “/usr/local/lib/python2.7/dist-packages/Hologram/HologramCloud.py”, line 71, in init
network=network)
File “/usr/local/lib/python2.7/dist-packages/Hologram/CustomCloud.py”, line 35, in init
network=network)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Cloud.py”, line 36, in init
self.initializeNetwork(network)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Cloud.py”, line 50, in initializeNetwork
self._networkManager = NetworkManager.NetworkManager(self.event, network)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/NetworkManager.py”, line 40, in init
self.network = network
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/NetworkManager.py”, line 70, in network
self._network.autodetect_modem()
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Cellular.py”, line 52, in autodetect_modem
self.modem = dev_devices[0]
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Cellular.py”, line 183, in modem
self._modem = self._modemHandlersmodem
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Nova_U201.py”, line 26, in init
chatscript_file=chatscript_file, event=event)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Nova.py”, line 22, in init
chatscript_file=chatscript_file, event=event)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 73, in init
self._initialize_device_name(device_name)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 104, in _initialize_device_name
devices = self.detect_usable_serial_port()
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 212, in detect_usable_serial_port
include_all_ports=False)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 198, in __detect_all_serial_ports
res = self.command(’’, timeout=1)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 723, in command
retries, seteq, read, prompt, data, hide)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 478, in __command_helper
self.result = self.process_response(cmd, timeout, hide=hide)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 404, in process_response
response = self._readline_from_serial_port(timeout, hide=hide)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 737, in _readline_from_serial_port
r = self.serial_port.readline()
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 501, in read
’device reports readiness to read but returned no data ‘
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
root@ubuntu:~#
root@ubuntu:~# hologram modem sim
ICCID: XXXXXXXXXXXXXXXXXXX
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# hologram modem sim
ICCID: XXXXXXXXXXXXXXXXXXX
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# hologram modem sim
Traceback (most recent call last):
File “/usr/local/bin/hologram”, line 179, in
if name == ‘main’: main()
File “/usr/local/bin/hologram”, line 175, in main
_command_handlerscommand_selected_prefix
File “/usr/local/lib/python2.7/dist-packages/scripts/hologram_modem.py”, line 148, in run_hologram_modem
_run_handlersargs[‘command_selected’]
File “/usr/local/lib/python2.7/dist-packages/scripts/hologram_modem.py”, line 71, in run_modem_sim
cloud = CustomCloud(None, network=‘cellular’)
File “/usr/local/lib/python2.7/dist-packages/Hologram/CustomCloud.py”, line 35, in init
network=network)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Cloud.py”, line 36, in init
self.initializeNetwork(network)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Cloud.py”, line 50, in initializeNetwork
self._networkManager = NetworkManager.NetworkManager(self.event, network)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/NetworkManager.py”, line 40, in init
self.network = network
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/NetworkManager.py”, line 70, in network
self._network.autodetect_modem()
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Cellular.py”, line 52, in autodetect_modem
self.modem = dev_devices[0]
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Cellular.py”, line 183, in modem
self._modem = self._modemHandlersmodem
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Nova_U201.py”, line 26, in init
chatscript_file=chatscript_file, event=event)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Nova.py”, line 22, in init
chatscript_file=chatscript_file, event=event)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 73, in init
self._initialize_device_name(device_name)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 104, in _initialize_device_name
devices = self.detect_usable_serial_port()
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 212, in detect_usable_serial_port
include_all_ports=False)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 198, in __detect_all_serial_ports
res = self.command(’’, timeout=1)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 723, in command
retries, seteq, read, prompt, data, hide)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 478, in __command_helper
self.result = self.process_response(cmd, timeout, hide=hide)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 404, in process_response
response = self._readline_from_serial_port(timeout, hide=hide)
File “/usr/local/lib/python2.7/dist-packages/Hologram/Network/Modem/Modem.py”, line 737, in _readline_from_serial_port
r = self.serial_port.readline()
File “/usr/local/lib/python2.7/dist-packages/serial/serialposix.py”, line 501, in read
’device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~#

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.