Unterschiede zwischen den Revisionen 6 und 7
Revision 6 vom 2013-04-18 12:49:26
Größe: 2819
Autor: anonym
Kommentar:
Revision 7 vom 2023-06-30 15:07:32
Größe: 0
Autor: phil
Kommentar:
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 1: Zeile 1:
<<TableOfContents>>

= Tryton Server =
== Tryton 2.6 in Debian wheezy installieren ==
 * erstmal tryton-server 2.4 installieren, damit werden alle Abhängigkeiten aufgelöst
{{{
aptitude install tryton-server
apt-get remove tryton-server
wget -O /tmp/tryton.tgz http://downloads.tryton.org/2.6/trytond-2.6.3.tar.gz
mkdir /usr/local/src/tryton
cd /usr/local/src/tryton
tar zxf /tmp/tryton.tgz
cd tryton-2.6.3
python setup.py install
}}}

=== Nacharbeiten ===
 * in ''/etc/default/tryton-server'' Sprache auf deutsch einstellen:{{{
LANG="de_DE.UTF-8"
}}}
 * in ''/etc/init.d/tryton-server'' aktuellen trytond Pfad eintragen:{{{
DAEMON="/usr/local/bin/trytond"
}}}




== verschiedene Tryton Versionen parallel installieren ==
 * siehe: http://www.bluelightav.org/display/BLUE/Creating+Virtual+Environments+for+different+Tryton+installations
== 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.