Problem with starting dia on connect port x8.


Exception during dynamic class load:
Traceback (most recent call last):
File “C:\DIA\src\common\abstract_service_manager.py”, line 195, in service_load
File “C:\DIA\src\common\classloader.py”, line 52, in classloader
File “C:\DIA\src\devices\xbee\xbee_device_manager\xbee_device_manager.py”, line 83, in ?
ImportError: No module named zigbee

Hi,

If you go to the python page on the Web UI of the device, do you see the file zigbee.py? From the stack trace you posted, it looks like zigbee.py is not on your device. Download it from ftp://ftp1.digi.com/support/sampleapplications/zigbee.py and upload it to your device.

Chris

I guess hardware guys should not be doing software. I added zigbee.py to the ConnectportX4, now I get this:

#> python dia.py digi_dia_xbib.yml

Determining platform type…Digi Python environment found.

iDigi Device Integration Application Version 1.2.19
Using settings file: digi_dia_xbib.yml
Core: initial garbage collection of 0 objects.
Core: post-settings garbage collection of 28 objects.
Starting Scheduler…
Starting Channel Manager…
Starting Device Driver Manager…
Exception in thread xbee_device_manager:
Traceback (most recent call last):
File “./threading.py”, line 442, in __bootstrap
File “C:\DIA\src\devices\xbee\xbee_device_manager\xbee_device_manager.py”, line 413, in run
File “C:\DIA\src\common\digi_device_info.py”, line 137, in device_firmware_gte_to
File “C:\DIA\src\common\digi_device_info.py”, line 117, in get_firmware_version
TypeError: iteration over non-sequence

Hi,

It looks like you’re probably running an old enough version of firmware on your X4 that it is not compatible with Dia 1.2.19.

If you go here (http://www.digi.com/support/) you’ll be able to get the latest firmware for your device. After upgrading this problem should go away.

Let me know if you run into issues.

Chris

and, after I changed the address of the XBee ZB in the yml file, it worked perfectly.

Thank you for your help.

nice and good information for port x8