Unterschiede zwischen den Revisionen 1 und 2
Revision 1 vom 2013-01-17 12:44:34
Größe: 356
Autor: anonym
Kommentar:
Revision 2 vom 2013-01-17 12:49:10
Größe: 1559
Autor: anonym
Kommentar:
Gelöschter Text ist auf diese Art markiert. Hinzugefügter Text ist auf diese Art markiert.
Zeile 3: Zeile 3:
= Tryton Server Konfiguration = = Tryton Server =
Zeile 10: Zeile 10:

----

= 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 Server

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

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