chat.freenode.net #tryton log beginning Sun Jun 20 00:00:02 CEST 2010 | ||
2010-06-20 01:32 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2010-06-20 02:37 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | ||
2010-06-20 03:13 -!- juanfer(~juanfer@190.25.54.252) has joined #tryton | ||
2010-06-20 05:19 -!- yangoon(~mathiasb@p549F6CCA.dip.t-dialin.net) has joined #tryton | ||
2010-06-20 05:46 -!- gremly(~gremly@190.26.158.25) has joined #tryton | ||
2010-06-20 06:20 -!- sharoon(~sharoon@122.176.50.143) has joined #tryton | ||
2010-06-20 07:44 -!- mr_amit(~amit@117.254.25.190) has joined #tryton | ||
2010-06-20 08:09 -!- sharoon(~sharoon@122.176.50.143) has joined #tryton | ||
2010-06-20 09:35 -!- janmalte(~quassel@188.110.111.153) has joined #tryton | ||
2010-06-20 09:36 -!- janmalte(~quassel@188.110.111.153) has left #tryton | ||
2010-06-20 10:08 -!- enlightx(~enlightx@dynamic-adsl-84-220-82-224.clienti.tiscali.it) has joined #tryton | ||
2010-06-20 10:45 -!- Timitos(~timitos@88.217.184.172) has joined #tryton | ||
2010-06-20 11:06 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton | ||
2010-06-20 11:19 -!- wedo(~wedo@87.101.168.114) has joined #tryton | ||
2010-06-20 11:19 <wedo> hello | ||
2010-06-20 11:22 <wedo> what does this message mean "need more than 1 value to unpack" | ||
2010-06-20 11:24 <mr_amit> wedo: you are trying to assign values to more then one variable from a list or tuple | ||
2010-06-20 11:24 <mr_amit> but not having more then one item | ||
2010-06-20 11:24 <mr_amit> like | ||
2010-06-20 11:24 <mr_amit> a, b = (100,) | ||
2010-06-20 11:25 <wedo> i want to change account type | ||
2010-06-20 11:25 <wedo> when I change it and try to save i got this message | ||
2010-06-20 11:29 <mr_amit> have you made any changes in any of the module? | ||
2010-06-20 11:31 <wedo> mr_amit: no but I think I did a mistake through SQL | ||
2010-06-20 11:31 <mr_amit> hm | ||
2010-06-20 11:32 <mr_amit> I don't know much about Tryton | ||
2010-06-20 11:33 <mr_amit> but in OpenERP | ||
2010-06-20 11:33 <mr_amit> such errors are most probably coming from M2O values | ||
2010-06-20 11:33 <wedo> mr_amit: in the account_accounts table i have inserted some accounts into it using SQL, these account does not appear in the accounts chart in tryton | ||
2010-06-20 11:34 <mr_amit> the records must be active | ||
2010-06-20 11:35 <mr_amit> make sure `active` field is 1 | ||
2010-06-20 11:35 <wedo> mr_amit: the id is unique, isn't it? | ||
2010-06-20 11:35 <mr_amit> yes | ||
2010-06-20 11:35 <wedo> i have some id's repeated | ||
2010-06-20 11:37 <wedo> no no sorry there are no id's repeated | ||
2010-06-20 11:38 <wedo> and all accounts in the table has 1 in the active field | ||
2010-06-20 12:10 <wedo> is there anyway to undo the last SQL sentence executed? | ||
2010-06-20 12:17 <cedk> wedo: did you link inserted accounts to the company? | ||
2010-06-20 12:19 <cedk> wedo: send a copy paste of the server log | ||
2010-06-20 12:22 <wedo> hello cedk :) | ||
2010-06-20 12:22 <wedo> where can i find the log file cedk ? | ||
2010-06-20 12:23 <cedk> wedo: in the console or the logfile defined in the configuration file | ||
2010-06-20 12:27 -!- paepke(~paepke@p5B32F6FC.dip.t-dialin.net) has joined #tryton | ||
2010-06-20 12:29 <wedo> cedk: i'm using SQLite Database browser and i have a file called db_name.sqlite-journal created now, is it what u meant? | ||
2010-06-20 12:30 <cedk> wedo: no | ||
2010-06-20 12:49 <cedk> wedo: you are still using Neso? | ||
2010-06-20 12:51 <cedk> wedo: if yes, then you should considered to use server/client (with SQLite backend) if you plan to customize and experiment with Tryton | ||
2010-06-20 12:52 <cedk> wedo: Neso is no the right tool to dev on Tryton | ||
2010-06-20 12:52 <cedk> wedo: because there is no way to debug (easily) | ||
2010-06-20 12:54 <wedo> cedk: i have installed the server client but i can not connect to any database though it | ||
2010-06-20 12:55 <wedo> Could not connect to server | ||
2010-06-20 12:55 <wedo> the server option is localhost:8070 | ||
2010-06-20 12:56 <cedk> wedo: did you start the server? | ||
2010-06-20 12:59 <wedo> cedk: yes its started | ||
2010-06-20 12:59 <cedk> wedo: what is in the consol output? | ||
2010-06-20 13:03 <wedo> cedk: when i try to start it i got "socket.error: [Errno 98] Address already in use" | ||
2010-06-20 13:05 <cedk> wedo: you get already a process that use the same port | ||
2010-06-20 13:08 <wedo> cedk: this is the full output http://paste.ubuntu.com/452422/ | ||
2010-06-20 13:15 <cedk> wedo: yes, you have something else that already run on port 8070 | ||
2010-06-20 13:16 <cedk> wedo: you must stop it or change the default port of tryton in /etc/trytond.conf | ||
2010-06-20 13:18 <wedo> cedk: in netport section? | ||
2010-06-20 13:19 <cedk> wedo: yes | ||
2010-06-20 13:19 <cedk> wedo: and you should change it also in the client | ||
2010-06-20 13:21 <wedo> cedk: how to restart the server? | ||
2010-06-20 13:29 <wedo> cedk: for the client the Server is : localhost and the port is: port_no ? | ||
2010-06-20 13:51 <wedo> [Sun Jun 20 14:50:27 2010] ERROR:database:CREATE DB: 360_db failed | ||
2010-06-20 13:51 <wedo> [Sun Jun 20 14:50:27 2010] ERROR:database:Exception in call: | ||
2010-06-20 13:51 <wedo> Traceback (most recent call last): | ||
2010-06-20 13:51 <wedo> File "/usr/lib/pymodules/python2.6/trytond/protocols/dispatcher.py", line 167, in create | ||
2010-06-20 13:51 <wedo> database.create(cursor, database_name) | ||
2010-06-20 13:51 <wedo> File "/usr/lib/pymodules/python2.6/trytond/backend/sqlite/database.py", line 138, in create | ||
2010-06-20 13:51 <wedo> conn = sqlite.connect(path) | ||
2010-06-20 13:51 <wedo> OperationalError: unable to open database file | ||
2010-06-20 13:55 -!- juanfer(~juanfer@190.25.54.252) has joined #tryton | ||
2010-06-20 13:57 <cedk> wedo: the server must not have access write to the data_path | ||
2010-06-20 13:58 <wedo> how do give the access to the server | ||
2010-06-20 13:59 <cedk> wedo: like on any UNIX system | ||
2010-06-20 13:59 <cedk> wedo: with chmod | ||
2010-06-20 13:59 <wedo> cedk: when i change the db_type in the trytond.conf to sqlite it connects to server but is i used postgresql it does not connect | ||
2010-06-20 14:10 -!- wedo_(~wedo@87.101.171.101) has joined #tryton | ||
2010-06-20 14:16 <wedo_> hi again\ | ||
2010-06-20 14:18 <cedk> wedo_: I don't understand | ||
2010-06-20 14:18 -!- gremly(~gremly@190.26.158.25) has joined #tryton | ||
2010-06-20 14:28 <wedo_> cedk: there are two options in the trytond.conf file for the db_type, isn't it? | ||
2010-06-20 14:29 <wedo_> postgresql and sqlite | ||
2010-06-20 14:39 <cedk> wedo_: 3 in 1.6 | ||
2010-06-20 14:40 -!- sharoon(~sharoon@122.176.50.143) has joined #tryton | ||
2010-06-20 14:40 <wedo_> i have 1.4 | ||
2010-06-20 14:40 <cedk> wedo_: so yes 2 options | ||
2010-06-20 14:40 <wedo_> when i use postgresql it does not connect | ||
2010-06-20 14:42 <cedk> wedo_: do you have postresql running? Is the connection to postgresql configured? | ||
2010-06-20 14:43 <wedo_> i referred to the postgresql log file it says, "user tryton not allowed to connect" | ||
2010-06-20 14:43 <wedo_> cedk: yes its running | ||
2010-06-20 14:47 <cedk> wedo_: so you must configure postgresl to allow tryton to connect | ||
2010-06-20 14:47 <cedk> wedo_: but I don't understand why you want to connect to postgresql, your database is on SQLite? | ||
2010-06-20 14:48 <wedo_> cedk: ok I will use SQLite, but with it i cannot create the new databse | ||
2010-06-20 14:57 <cedk> wedo_: the user running the server must have write access to the data_path directory defined in trytond.conf | ||
2010-06-20 14:57 <cedk> wedo_: but if you start from a scratched database, I will suggest you to use postgresql except if you want to keep sqlite to use later with neso | ||
2010-06-20 14:59 <cedk> wedo_: read this to configure postgresql http://www.debianhelp.co.uk/postgresql.htm | ||
2010-06-20 14:59 <wedo_> cedk: the user running the server is 'tryton' and i gave it administration access | ||
2010-06-20 15:08 -!- wedo__(~wedo@87.101.158.35) has joined #tryton | ||
2010-06-20 15:16 <cedk> wedo__: I don't know what means administration access | ||
2010-06-20 15:49 <paepke> cedk, exists a matrix which widgets works with the field types? like field: one2many, widget many2many ? | ||
2010-06-20 15:51 <cedk> paepke: no | ||
2010-06-20 15:51 <cedk> paepke: you can start to write one | ||
2010-06-20 15:52 <paepke> cedk, yes, on the wiki. i assume there is no automatic way to determine it? | ||
2010-06-20 15:54 <cedk> paepke: no | ||
2010-06-20 15:54 <cedk> paepke: better to write a patch for the doc | ||
2010-06-20 15:55 <cedk> paepke: but you can start on wiki and later go to doc | ||
2010-06-20 15:55 <paepke> cedk, ok, but where to put? on the views-part of trytond? | ||
2010-06-20 15:56 <paepke> cedk, agree with starting in the wiki. it will take some time for me to take a deeper look into the different types. | ||
2010-06-20 15:57 <cedk> paepke: doc/topics/views/widgets.rst | ||
2010-06-20 15:58 <cedk> paepke: as you want | ||
2010-06-20 15:58 <cedk> paepke: and it will be good to test it also because all combinasions have not been | ||
2010-06-20 16:00 <paepke> cedk, i'll only document what i have tested. cause of that it will take some time. | ||
2010-06-20 16:09 -!- juanfer(~juanfer@190.25.54.252) has joined #tryton | ||
2010-06-20 16:25 -!- luka(~luka@5ac9fb65.bb.sky.com) has joined #tryton | ||
2010-06-20 16:31 <luka> hi. i am trying to create an account and when i try to save it i get this error: "you try to bypass an access rule! (Document type: Account) | ||
2010-06-20 16:31 <luka> does anyone know why? | ||
2010-06-20 16:34 <sharoon> make sure your default company is the same as the company of the account you are trying to create | ||
2010-06-20 16:34 <luka> how do i make a company be the default one | ||
2010-06-20 16:35 <sharoon> goto your user account in administration > Users > Users | ||
2010-06-20 16:35 <sharoon> and then you will see current company there | ||
2010-06-20 16:35 <luka> ok | ||
2010-06-20 16:35 <luka> thanks alot | ||
2010-06-20 16:37 <sharoon> welcome :) | ||
2010-06-20 16:37 <luka> umm there is no company in users | ||
2010-06-20 16:37 <luka> is't just the users i've created | ||
2010-06-20 16:38 <sharoon> have u installed the company module? | ||
2010-06-20 16:39 <sharoon> open the user name | ||
2010-06-20 16:39 <sharoon> in that you will find two fields | ||
2010-06-20 16:39 <sharoon> main company | ||
2010-06-20 16:39 <sharoon> and current company | ||
2010-06-20 16:40 <luka> i see. let me have a look | ||
2010-06-20 16:41 -!- sharkcz(~sharkcz@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2010-06-20 16:44 <luka> nope. i don't have that | ||
2010-06-20 16:45 <luka> i only have security and preferences | ||
2010-06-20 16:45 <luka> after i open the username | ||
2010-06-20 16:46 <cedk> luka: you must setup the company with the admin user in Administration>Users>Users | ||
2010-06-20 16:50 <luka> oh ok | ||
2010-06-20 16:50 <luka> thanks | ||
2010-06-20 16:50 -!- luka(~luka@5ac9fb65.bb.sky.com) has left #tryton | ||
2010-06-20 17:21 <paepke> on development: on updating a view via the xml file i have to restart the server. is there any other way i don't see? just restarting the client doesn't help. | ||
2010-06-20 17:21 <cedk> paepke: no | ||
2010-06-20 17:22 <paepke> cedk, so updating the py works on runtime. xml not? | ||
2010-06-20 17:22 <cedk> paepke: yes | ||
2010-06-20 17:23 <cedk> paepke: but you can run the update without stopping the server | ||
2010-06-20 17:24 -!- ikks(~ikks@200.118.243.193) has joined #tryton | ||
2010-06-20 17:26 <paepke> cedk, i tried that with -u module -d database, but doesn't work. have multi_server enabled | ||
2010-06-20 17:26 <cedk> paepke: what is not working? | ||
2010-06-20 17:27 <paepke> cedk, for example changing the col's in a form from 2 to 4 | ||
2010-06-20 17:29 <cedk> paepke: but what is not working? | ||
2010-06-20 17:29 <paepke> the col's doesn't change on the client. i have to restart the server. | ||
2010-06-20 17:30 <paepke> cedk, after restart (not update) the client gets the right columns. | ||
2010-06-20 17:32 <cedk> paepke: fill an issue | ||
2010-06-20 17:32 <paepke> cedk, ok. | ||
2010-06-20 17:38 -!- enlightx(~enlightx@dynamic-adsl-84-220-82-224.clienti.tiscali.it) has joined #tryton | ||
2010-06-20 19:43 -!- eLBati(~elbati@94.160.61.108) has joined #tryton | ||
2010-06-20 20:20 -!- enlightx(~enlightx@dynamic-adsl-84-220-82-224.clienti.tiscali.it) has joined #tryton | ||
2010-06-20 20:59 -!- tekknokrat(~lila@dslb-094-223-095-014.pools.arcor-ip.net) has joined #tryton | ||
2010-06-20 21:09 -!- heg(~heg@75-202.62-188.cust.bluewin.ch) has joined #tryton | ||
2010-06-20 21:15 -!- sharoon(~sharoon@115.242.113.122) has joined #tryton | ||
2010-06-20 21:43 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton | ||
2010-06-20 22:35 -!- gremly(~gremly@190.26.158.25) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!