Package: tryton-server
version: 1.8.2-1
Debian Version: Wheezy 2.6.38-2.686

Installation process creates /var/lib/tryton folder, but default folder
for files attached is /var/lib/trytond.
Configuration file /etc/trytond.conf has the commented line 

# Configure the path to store attachments and sqlite database
# data_path = /var/lib/trytond 

but this folder doesn't exist and was never created.

With the current error, Tryton raises an exception when adding an
attached file to a product, indicating that it cannot write in the
folder /var/lib/trytond, that is the default folder.

Solutions:
1) Create the right folder /var/lib/trytond instead of /var/lib/tryton

OR 

2) change the configuration file to point to /var/lib/tryton even when
line is commented.

I guess this first solution is preferred, as Tryton assumes by default
that /var/lib/trytond folder exists, even when commented line appears in
config file. 


Reply via email to