OnosTeam / onos

onos
http://myonos.com
2 stars 0 forks source link

bug: se si rimuove la porta seriale onos si termina #26

Closed onosAdmin closed 7 years ago

onosAdmin commented 7 years ago

Se all'avvio di onos si rimuove la porta usb seriale onos da errore: class Serial_connection_Handler destroyed class arduinoserial destroyed fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff executed changeWebObjectType() with :wifi0_Plug6way0002 Traceback (most recent call last): File "webserver.py", line 1373, in changeWebObjectType(a.getName(),a.getType()) #i call this in order to setup the node io conf for the webobjects File "webserver.py", line 411, in changeWebObjectType hardware.setHwPinMode(node_address,pins_to_set[0],"DOUTPUT") NameError: global name 'hardware' is not defined

onosAdmin commented 7 years ago

Risolto! in più adesso se si rimuove la seriale e poi la si ricollega onos se ne accorge e ricomincia ad usarla correttamente!!!!