I’m just trying to follow the basic tutorial here, http://youtu.be/prtxwPbFDwo
But I keep getting import errors on my connectport x4.
I ssh in and: python dia.py
#> python dia.py
Dia auto-detect of rapid reboot DISABLED
Running in environment: digiconnect
iDigi Device Integration Application Version 2.0.11
Source settings file: WEB/python/dia.zip/dia.pyr
Destination settings file: WEB/python/dia.pyr
Core: initial garbage collection of 1176 objects.
Core: post-settings garbage collection of 10 objects.
Core: Starting Tracing Manager...
Core: Starting Scheduler...
Core: Starting Channel Manager...
Core: Starting Device Driver Manager...
CRITICAL:edp_upload:This EDP_Upload driver can only be run on a Digi device with EDP.
CRITICAL:edp_upload:The running platform is not supported.
Core: Exception during core initialization:
Traceback (most recent call last):
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\core\core_services.py", line 381, in epoch
ERROR:AbstractServiceManager:Exception during dynamic class load: Traceback (most recent call last):
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\common\abstract_service_manager.py", line 206, in service_load
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\common\classloader.py", line 64, in classloader
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\devices\edp_upload.py", line 59, in ?
ImportError: No module named idigidata
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\devices\device_driver_manager.py", line 55, in __init__
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\common\abstract_service_manager.py", line 110, in __init__
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\settings\settings_base.py", line 294, in __init__
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\common\abstract_service_manager.py", line 126, in apply_settings
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\common\abstract_service_manager.py", line 158, in _reenumerate_services
File "C:\Program Files\Digi\python\DevTools-2.0\Dia\Dia_2.0.11\src\common\abstract_service_manager.py", line 210, in service_load
ASMClassLoadError: unable to load 'devices.edp_upload:EDPUpload': exceptions.ImportError:No module named idigidata
Core: Fatal exception caught! Halting execution.
Core: Stopping xbee_device_manager
Stopping scheduler...done.
Core: Stopping tracing_manager...done.
Core: Threads still running ([, , , ]).
Waiting for them to terminate...
Core: All threads stopped.
dia.py is exiting...
[/quote]
this is basically a brand new setup, and it will stil run a simple 'hellow world' snippet, but everytime I try to run the idigi stuff it breaks.