On 07 Jul 00:31, David Bruchmann wrote: > Hello Cédric, > > thanks the link at least was helpful. > > In my opinion it's a bad behavior of Tryton that it tries to correct the > data even from administrators.
I don't understand. > Instead of that I'd prefer a message why something is not working (i.e > user-rights, missing paths, whatever). > The INFO of the commandline is just INFO:database:connect to > "database-name" even nothing happens. That's what it should do if the database connection are wrong. > Problem in the moment is that I'm unable to connect to pgsql and I know it > must be possible but if not everything is right the config is ignored and > just a sqlite-database is created. You never talked about this sqlite database. Could you explain what is happening? > I think that's really not helpful and *if* the parameter db_type is set to > postgresql it should be reported that something is wrong instead just > creating a sqlite-database. I can not see how this could happen. > And if paths are not configured properly the sqlite-database is created at > an unknown place which isn't even reported - "configured properly" refers > to the scenario that I really want to use sqlite but if not then the > configuration paths are reasonable. I doubt this is the case. The sqlite database are stored in the data_path. > The function socket.getfqdn() is changing the administrative settings too. I don't understand what you mean. > In Windows Vista the wildcard-domain "*" is not accepted by TRYTON for > host and instead "localhost" or "127.0.0.1" the name of the computer is > taken, without further configuration this isn't working. Of course 'getfqdn' is used to have an hostname. "*" is not a valid hostname so Tryton tries to guess if you don't set a 'hostname_jsonrpc' in the configuration. > Actually Windows > itself is just reporting [::] or [::1] as host, just Tryton doesn't handle > it right. Why? -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpFNIUMG8EJ5.pgp
Description: PGP signature
