[dss-developer] Probleme beim Verbinden mit Reference-Platform
Christian Hitz
christian.hitz at aizo.com
Mon Nov 28 11:02:16 CET 2011
Hallo Manuel,
Am 28.11.2011 10:10, schrieb Manuel Saxer:
> *[2011-11-28 09:26:54][Error][DSSim] DSSim::createJSPluginFrom: cannot find
> script file 'data/simulated_device.js', skipping device example.js-device*
[snip]
> *[2011-11-28 09:26:55][Error][System] PropertySystem::loadFromXML: Could not
> open file /usr/local/share/dss/data/security.xml*
Diese zwei Fehler kommen daher, dass dein dSS per default das Daten-Directory
/usr/local/share/dss/data verwenden will.
Ich starte den dSS normalerweise mit (dss app liegt im build subdirectory):
./dss -D ../data -w <pfad/zum/webroot> -c ../data -p ../data --prop
/config/jslogdirectory=../data/logs
(ev. musst du mit tools/create_cert.sh noch die SSL Zertifikate erstellen)
> *[2011-11-28 09:26:55][Error][System]
> EventInterpreterPluginJavascript::handleEvent:Caught event while running/parsing
> script '/usr/share/dss/data/solar_computer.js'. Message: Could not open
> script-file: '/usr/share/dss/data/solar_computer.js'*
> /=> das besagte File "solar_computer.js" finde ich bei mir, jedoch nicht unter
> dem angegebenen Pfad. Unter /usr/share/ habe ich keinen Verzeichnis "dss" … bei
> mir liegt dieses File zum einen im /home/username/dss-1.3.0 also in dem
> Verzeichnis der Installation und zum anderen im "/usr/local/share/dss/data"./
> /Die Frage hier, muss ich noch was an der Installation ändern resp. soll ich die
> gesamte Installation nicht im Home-Vverzeichniss sondern im
> /usr/share-Verzeichniss durchführen oder was ist hier zu tun?/
In der Datei data/subscriptions.xml steht der Pfad zum solar_computer.js
==> ändern von "/usr/share/dss/data/solar_computer.js" zu
"../data/solar_computer.js"
[snip]
> 3. Ich aktiviere den ds485d
Laut deinem dss.sh fehlt die beim ds485d noch die "-L" Option, die das lokale
Echo aktiviert (siehe:
http://redmine.digitalstrom.org/projects/dss/wiki/Connecting_a_demonstration_set_to_your_dSS)
Gruss,
Christian
--
Christian Hitz
aizo ag, Schlieren, Switzerland, www.aizo.com
More information about the dss-developer
mailing list