Unterschiede zwischen den Revisionen 3 und 4
Revision 3 vom 2013-02-05 19:34:31
Größe: 1993
Autor: anonym
Kommentar:
Revision 4 vom 2013-02-05 19:38:05
Größe: 2170
Autor: anonym
Kommentar:
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 4: Zeile 4:

== verschiedene Tryton Versionen parallel installieren ==
 * siehe: http://www.bluelightav.org/display/BLUE/Creating+Virtual+Environments+for+different+Tryton+installations

Tryton Server

verschiedene Tryton Versionen parallel installieren

session timeout

Im Standard werden Benutzer nach 10 Minuten Inaktivität nach ihrem Passwort gefragt. das ist im Tagesbetrieb zu häufig. Der Timeout lässt sich in trytond.conf einstellen:

# Configure the session timeout (inactivity of the client in sec)
session_timeout = 40000


Tryton Client

Tryton Client 2.4 in Debian 6 (squeeze) installieren

  • wget http://downloads.tryton.org/2.4/tryton-2.4.1.tar.gz

  • entpacken und im neuen verzeichnis aufrufen: sudo python setup.py install wirft fehlermeldung raus:

    File "/usr/local/lib/python2.6/dist-packages/tryton-2.4.1-py2.6.egg/tryton/common/common.py", line 259, in get_toplevel_window and x.get_window_type() == gtk.WINDOW_TOPLEVEL]
    AttributeError: 'gtk.Window' object has no attribute 'get_window_type'
  • Quickfix (siehe https://bugs.tryton.org/issue2743):

    diff -r b2cc6f966070 tryton/common/common.py
    --- a/tryton/common/common.py   Mon Jul 30 23:34:31 2012 +0200
    +++ b/tryton/common/common.py   Wed Aug 08 14:18:16 2012 +0200
    @@ -291,8 +291,8 @@
     
     def get_toplevel_window():
         windows = [x for x in gtk.window_list_toplevels()
    -        if x.window and x.props.visible
    -        and x.get_window_type() == gtk.WINDOW_TOPLEVEL]
    +        if x.window and x.props.visible]
    +#        and x.get_window_type() == gtk.WINDOW_TOPLEVEL]
         trans2windows = dict((x.get_transient_for(), x) for x in windows)
         for window in set(windows) - set(trans2windows.iterkeys()):
             return window

Tryton Client 2.4 in Debian 7 (wheezy) installieren

  • anstehende Abhängikeiten im System installieren

    aptitude install python-setuptools python-gtk2 python-dateutil 
     * runterladen und entpacken {{{
    wget http://downloads.tryton.org/2.4/tryton-2.4.1.tar.gz
  • im neu angelegten Verzeichnis die Installation mittels setup.py starten

    cd tryton-2.4.1 
    python setup.py install 
  • starten mit tryton


Creative Commons Lizenzvertrag
This page is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.