<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hello.<br><br></div>I tried to install latest release I got from <a href="ftp://ftp.goffi.org/sat/sat.taz.bz2">ftp://ftp.goffi.org/sat/sat.taz.bz2</a><br>
</div>Today I dived deeper in the code and found where the problem was.<br></div>Sentences like "{unicode(key): unicode(value) for key, value in extra.items()}" isn't supported by python 2.6<br></div><div>It requires python 2.7<br>
</div>But latest CentOS 6.5 contains only 2.6 and I couldn't upgrade it using yum. I could only build it from the source and install in parallel with 2.6. But two pythons 2.6 and 2.7 in parallel also made me troubles.<br>
</div>I wasted a lot of time today with it, and finally removed CentOS6.5 and installed latest Debian 7.5 what is delivered with python 2.7 and installation of sat went fine.<br></div>I propose to include in wiki page a note that python 2.7 is required. It might save time for somebody next.<br>
</div><div><br>Finally I managed to run primitivus and ran the terminal version.<br></div><div>But my final aim - to install Libervia because I need to have HTML Web client.<br></div><div>Installation procedure is really tricky....<br>
</div><div>In wiki is written that I have to install local XMPP server (Prosody).<br></div><div>Do I really need to install it if I already have XMPP server in my LAN and I need only Web frontend to my existing XMPP server?<br>
<br><br></div><div>With best regards,<br></div><div>Slava.<br></div></div></div></div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-20 20:08 GMT+03:00 Goffi <span dir="ltr"><<a href="mailto:goffi@goffi.org" target="_blank">goffi@goffi.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
did you install the last release or the development version ? If it is the development version, when exactly did you install it ? If you still have the mercurial clone you can try "hg sum" to have the exact version, but as you follow the installation instruction which use pip, you probably don't have it anymore...<div>
<div class="h5"><br>
<br>
<br>
<br>
On 19/05/2014 15:06, Furist Vyacheslav wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hello.<br>
<br>
I'm trying to run SAT on CentOS 6.5<br>
Installation was done successfully according manual:<br>
<a href="http://wiki.goffi.org/wiki/Salut_%C3%A0_Toi" target="_blank">http://wiki.goffi.org/wiki/<u></u>Salut_%C3%A0_Toi</a><br>
<br>
But it won't run:<br>
------------------------------<u></u>------------------------------<u></u>--------------------<br>
[root@centos ~]# sat<br>
Unhandled Error<br>
Traceback (most recent call last):<br>
   File "/usr/lib64/python2.6/site-<u></u>packages/twisted/application/<u></u>app.py",<br>
line 642, in run<br>
     runApp(config)<br>
   File "/usr/lib64/python2.6/site-<u></u>packages/twisted/scripts/<u></u>twistd.py",<br>
line 23, in runApp<br>
     _SomeApplicationRunner(config)<u></u>.run()<br>
   File "/usr/lib64/python2.6/site-<u></u>packages/twisted/application/<u></u>app.py",<br>
line 376, in run<br>
     self.application = self.createOrGetApplication()<br>
   File "/usr/lib64/python2.6/site-<u></u>packages/twisted/application/<u></u>app.py",<br>
line 441, in createOrGetApplication<br>
     application = getApplication(self.config, passphrase)<br>
--- <exception caught here> ---<br>
   File "/usr/lib64/python2.6/site-<u></u>packages/twisted/application/<u></u>app.py",<br>
line 452, in getApplication<br>
     application = service.loadApplication(<u></u>filename, style, passphrase)<br>
   File<br>
"/usr/lib64/python2.6/site-<u></u>packages/twisted/application/<u></u>service.py",<br>
line 405, in loadApplication<br>
     application = sob.loadValueFromFile(<u></u>filename, 'application',<br>
passphrase)<br>
   File "/usr/lib64/python2.6/site-<u></u>packages/twisted/persisted/<u></u>sob.py",<br>
line 210, in loadValueFromFile<br>
     exec fileObj in d, d<br>
   File "/usr/lib/python2.6/site-<u></u>packages/sat/sat.tac", line 24, in <module><br>
     from sat.core.sat_main import SAT<br>
exceptions.SyntaxError: invalid syntax (sat_main.py, line 475)<br>
<br>
Failed to load application: invalid syntax (sat_main.py, line 475)<br>
------------------------------<u></u>------------------------------<u></u>--------------------<br>
<br>
[root@centos ~]# cat ~/.sat.conf<br>
[DEFAULT]<br>
media_dir=/home/siaffa/sat_<u></u>media_dir<br>
<br>
<br>
Please advice what's wrong?<br>
<br>
Thanks.<br>
<br>
Slava.<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
dev mailing list<br>
<a href="mailto:dev@goffi.org" target="_blank">dev@goffi.org</a><br>
<a href="http://lists.goffi.org/listinfo/dev" target="_blank">http://lists.goffi.org/<u></u>listinfo/dev</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>