Closed fk0 closed 13 years ago
it's a bug with SQLObject you can try two things:
easy_install -U sqlobject
(it should fix the issues)/usr/local/lib/python2.6/dist-packages/SQLObject-0.16dev_r4333-py2.6.egg/sqlobject/dbconnection.py
and add on the top of the file, with others import : import os
then restart archipel agent
ok, I fixed issue... thank you for answer what is next? I couldn't find what I need to do to view Archipel in my browser? does it listen port or it relies on already installed apache and only uses CGI?
sorry I read to fast.
runarchipel
, it will output correctly the errors and tracebacksI couldn't find what I need to do to view Archipel in my browser? does it listen port or it relies on already installed apache and only uses CGI?
Archipel GUI is a pure Javascript application. All runs from your browser. No needs for mysql, php, or anything else. Just place the folder into a http-served directory and access it. You also can run it from file:/// as is with Safari, or with Chrome/ium by launching it with --disable-web-security option.
also, note that ArchipelGUI and archipel-agent are totally not dependent. They communicate trough XMPP. here is a general schema of things https://github.com/primalmotion/Archipel/wiki/General-architecture-of-archipel.
This means you doesn't "connect" directly to archipel agent.
well, one more pain... after all I successfully installed agent and moved to client installation ./bootstrap script (btw, wiki page needs updating - bootstrap now called ./bootstrap without extension =) ) fails:
Installing necessary packages... Updating catalog. Downloading http://github.com/280north/narwhal/raw/master/catalog-2.json Unable to download a fresh copy of catalog http://github.com/280north/narwhal/raw/master/catalog-2.json. SyntaxError in http://github.com/280north/narwhal/raw/master/catalog-2.json. Catalog: file:/usr/local/narwhal/.tusk/sources.json
well, googled again (I love google, really :) ) and found explanation and solution https://github.com/280north/cappuccino/issues/759 but it didn't work... env vars are set but are ignored by net.properties file after all I guessed that proxy setting should be set evidently and finally I got it to work!!! (at least now I can see the installation process with pretty formatted output :D )
P.S. I think this painful installation behind proxy way should be described in the wiki - it will save tons of hours googling and trying various options. For example in this case I had to set proxy for curl, java, wget, git and svn and sometimes use proxychains behind cntlm (we are using ISA server which leads to many inconvenient situations if you're on linux). Hope it helps to somebody.
well, after all installation went smoothly but what's next? now I have /var/www/a dir and (I hope) properly installed client there pointed browser to this dir and see picture and "busy" icon nothing more happens however....
ok, I think I've found what happens using the chromium's debugging capabilities I found out that it couldn't find the file Archipel/Frameworks/VNCCappuccino/Resources/websock.js which really didn't placed there but I can see web-socket-js/web_socket.js in Resources directory
this is not an issue. You need to pull last git repo if you want to have everything ok. Also, I suggest you to use the nightlies if you don't planed to develop on archipel (and even if you plan to do, you should start with the nightly).
If you need help, please come to the IRC channel on irc://irc.freenode.net/#archipel. You also have a web client on http://archipelproject.org/chat
Hi,
tried again to install Archipel agent and the process went ok but after using standard starting script i.e. service archipel start I couldn't find any running python instance then I tried to run the command directly from terminal like init script does
Asked google and found the quick and dirty solution - added "import os" statement to the dbconnection.py as the first line After that Archipel seems to start. At least now I can see it in the process list
So my questions are following:
Thanks!