thegooglecodearchive / xig

Automatically exported from code.google.com/p/xig
0 stars 0 forks source link

Defect on OSC service on Connectport X2 #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. setting to active the OSC session type in configuration file
2. launching xig.py from telnet but it seems the same on autostart
3. stopping and restarting an OSC client on Arduino (like the xig_osc example 
of Axel Roest)

What is the expected output? What do you see instead?
The expected output is the routing of OSC message to the specified targets but 
I receive an error exception:

#> python xig.py

xig - XBee Internet Gateway (XIG) v1.5.1b19 starting.
xig.io_kernel - XBee Version = 2164, Series = 2
xig.io_kernel - XBee reliable transmit enabled
xig.io_kernel - Enabling UDP listener on port 5649...
xig.io_kernel - XBee MTU = 72 bytes
xig - Loading and initializing configured session types...
xig - Loading ['OSCSession'] from osc...
xig - Formatting help text...
xig - Starting scheduler...
xig - XIG startup complete, ready to serve requests.
xig.io_kernel - RECV: 21 bytes from ('[00:13:A2:00:40:A1:1F:4C]!', 232, 49413, 
17, 0, 0) ('osc:///xbee/x?0&168\r\n')
xig - Exception during I/O loop: 'OSCSession' object has no attribute 
'getTargetsFromConfig'
Traceback (most recent call last):
  File "xig.py", line 263, in go
    self.__io_kernel.ioLoop(timeout=1)
  File "/Users/jordanh/Source/Repositories/code.google.com/xig/src/library/xig_io_kernel.py", line 258, in ioLoop
  File "/Users/jordanh/Source/Repositories/code.google.com/xig/src/sessions/osc.py", line 135, in handleSessionCommand
  File "/Users/jordanh/Source/Repositories/code.google.com/xig/src/sessions/osc.py", line 46, in __init__

What version of the product are you using?

XIG v1.5.1b19
Connectport X2

Please provide any additional information below.

OSC Targets in configuration file:

osc_targets = [
"192.168.0.102:60001",
"192.168.0.103:60000",
]

The system configuration with xig running is:

Firmware Version:        2.14.0.7   (Version 82001596_J1 10/04/2011)
Boot Version:        1.1.2   (release_82001228_A)
POST Version:        1.1.3   (release_82002307_C)
Product VPD Version:         release_82002209_C
Product ID:      0x00A1
Hardware Strapping:      0x07BF

CPU Utilization:         72%
Up Time:         8 minutes 16 seconds
Date and Time:       Sat Sep 28 17:19:24 2013 
Total Memory:        8192 KB
Used Memory:         7271 KB
Free Memory:         921 KB
Total Flash Filesystem:      799 KB
Used Flash Filesystem:       433 KB
Free Flash Filesystem:       366 KB

Original issue reported on code.google.com by giuseppe...@unibo.it on 28 Sep 2013 at 5:30