[SàT dev]Installation on CentOS6.5

Furist Vyacheslav siaffa at gmail.com
Mar 20 Mai 23:47:28 CEST 2014


Hello!

Thank you for valuable information.
Of course I'll try to run it. But according your advice I won't run it in
production until you release stable version.
Because I have about 100 corporate users who are chatting 24/7
You right - better to wait for release.

I wish you good luck in development and will wait for "green light" from
you.

With best regards,
Slava.


2014-05-21 0:19 GMT+03:00 Goffi <goffi at goffi.org>:

> Ah yes indeed, we only support python 2.7 (which is nearly 4 years old now
> !). In Debian SàT is packaged, you should be able to install it with
> apt-get install sat-xmpp-[primitivus,wix,jp].
> Thank you for digging into the code anyway :).
>
> Yes installation of Libervia is tricky now, but packaging is planed,
> things should improve a lot in the next few months. Be careful: Libervia is
> not ready for production yet (except if you just want instant messaging, it
> should be OK for that).
>
> You don't have to install prosody localy, the local server is because if
> you want to create accounts from the interface, they are created using
> "prosodyctl" on the local machine. Actualy if you can run Primitivus, you
> just have to create a "libervia" account, and Libervia should run normaly.
> If you want to use microbloging and group permission (e.g. you want to
> publish a blog only to the member of your "family" group), you'll need to
> install the SàT PubSub component, and modify a prosody module to use it.
>
> It's really tricky because of protocol limitation, we are currently
> working on it to improve the standards.
>
> Keep in mind that Libervia is not ready for production, we give install
> instruction for developers or people who want to try. If you want to use it
> on a daily basis, it's probably better to come back in 1 or 2 months, we
> are planing to have a usable release this summer.
>
> For the record, we'll publish soon a new 0.5 version with encryption
> (https, database encryption and OTR), and the goal for the following
> release will be to move our own blogs to SàT.
>
> Cheers
> Goffi
>
>
> On 20/05/2014 23:01, Furist Vyacheslav wrote:
>
>> Hello.
>>
>> I tried to install latest release I got from
>> ftp://ftp.goffi.org/sat/sat.taz.bz2
>> Today I dived deeper in the code and found where the problem was.
>> Sentences like "{unicode(key): unicode(value) for key, value in
>> extra.items()}" isn't supported by python 2.6
>> It requires python 2.7
>> 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.
>> 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.
>> I propose to include in wiki page a note that python 2.7 is required. It
>> might save time for somebody next.
>>
>> Finally I managed to run primitivus and ran the terminal version.
>> But my final aim - to install Libervia because I need to have HTML Web
>> client.
>> Installation procedure is really tricky....
>> In wiki is written that I have to install local XMPP server (Prosody).
>> 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?
>>
>>
>> With best regards,
>> Slava.
>>
>>
>>
>> 2014-05-20 20:08 GMT+03:00 Goffi <goffi at goffi.org <mailto:goffi at goffi.org
>> >>:
>>
>>
>>     Hi,
>>
>>     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...
>>
>>
>>
>>
>>     On 19/05/2014 15:06, Furist Vyacheslav wrote:
>>
>>         Hello.
>>
>>         I'm trying to run SAT on CentOS 6.5
>>         Installation was done successfully according manual:
>>         http://wiki.goffi.org/wiki/__Salut_%C3%A0_Toi
>>
>>         <http://wiki.goffi.org/wiki/Salut_%C3%A0_Toi>
>>
>>         But it won't run:
>>         ------------------------------__----------------------------
>> --__--------------------
>>
>>         [root at centos ~]# sat
>>         Unhandled Error
>>         Traceback (most recent call last):
>>             File
>>         "/usr/lib64/python2.6/site-__packages/twisted/application/_
>> _app.py",
>>
>>         line 642, in run
>>               runApp(config)
>>             File
>>         "/usr/lib64/python2.6/site-__packages/twisted/scripts/__
>> twistd.py",
>>         line 23, in runApp
>>               _SomeApplicationRunner(config)__.run()
>>             File
>>         "/usr/lib64/python2.6/site-__packages/twisted/application/_
>> _app.py",
>>
>>         line 376, in run
>>               self.application = self.createOrGetApplication()
>>             File
>>         "/usr/lib64/python2.6/site-__packages/twisted/application/_
>> _app.py",
>>
>>         line 441, in createOrGetApplication
>>               application = getApplication(self.config, passphrase)
>>         --- <exception caught here> ---
>>             File
>>         "/usr/lib64/python2.6/site-__packages/twisted/application/_
>> _app.py",
>>         line 452, in getApplication
>>               application = service.loadApplication(__filename, style,
>>         passphrase)
>>             File
>>         "/usr/lib64/python2.6/site-__packages/twisted/application/_
>> _service.py",
>>         line 405, in loadApplication
>>               application = sob.loadValueFromFile(__filename,
>> 'application',
>>         passphrase)
>>             File
>>         "/usr/lib64/python2.6/site-__packages/twisted/persisted/__
>> sob.py",
>>
>>         line 210, in loadValueFromFile
>>               exec fileObj in d, d
>>             File "/usr/lib/python2.6/site-__packages/sat/sat.tac", line
>>
>>         24, in <module>
>>               from sat.core.sat_main import SAT
>>         exceptions.SyntaxError: invalid syntax (sat_main.py, line 475)
>>
>>         Failed to load application: invalid syntax (sat_main.py, line 475)
>>         ------------------------------__----------------------------
>> --__--------------------
>>
>>
>>         [root at centos ~]# cat ~/.sat.conf
>>         [DEFAULT]
>>         media_dir=/home/siaffa/sat___media_dir
>>
>>
>>
>>         Please advice what's wrong?
>>
>>         Thanks.
>>
>>         Slava.
>>
>>
>>         _________________________________________________
>>         dev mailing list
>>         dev at goffi.org <mailto:dev at goffi.org>
>>         http://lists.goffi.org/__listinfo/dev
>>         <http://lists.goffi.org/listinfo/dev>
>>
>>
>>
>>
>
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.goffi.org/pipermail/dev/attachments/20140521/d285c6b6/attachment.html>


Plus d'informations sur la liste de diffusion dev