chat.freenode.net #tryton log beginning Tue Oct 23 00:00:02 CEST 2012 | ||
zodman | i see on pypi the new release :) | 00:52 |
---|---|---|
zodman | can build neso 2.6 for win ? | 00:55 |
pokoli | cedk: release new is on draft state. Are you aware of that? | 11:33 |
cedk | pokoli: they are not | 11:42 |
pokoli | cedk: French there is | 11:43 |
pokoli | cedk: but they were both some time ago | 11:43 |
shomon | hi, I'm trying to install tryton in a virtualenv... | 12:33 |
shomon | but how do you install psycopg2 - or can I give it the regular one installed generally? | 12:33 |
shomon | somehow... | 12:34 |
nicoe | shomon: you can tell shomon to use distributed packages | 12:37 |
nicoe | s/shomon/virtualenv | 12:37 |
shomon | ? aah | 12:38 |
shomon | :) | 12:38 |
shomon | okay.. I will look that up.. I'm on debian and I see lots of people have problems with psyco and virtualenv | 12:39 |
shomon | but in windows, old ubuntus etc | 12:39 |
shomon | thanks | 12:39 |
nicoe | shomon: you must use the --system-site-packages command line switch when creating the virtualenv | 12:40 |
nicoe | shomon: I use virtualenv on a debian without problems | 12:40 |
shomon | but might that mess with the tryton modules I install in each one? | 12:40 |
shomon | ah that gives me hope.. But I thought debian would be okay | 12:40 |
nicoe | shomon: I don't install trytond in a virtualenv, I usually run from the sources | 12:41 |
nicoe | shomon: I only install trytond in virtualenv when developping on proteus | 12:41 |
shomon | hmm.. well my problem is I have only one server, and I have to run gnuhealth on one and regular tryton on the other | 12:43 |
shomon | well I mean I have to add gnuhealth to this now that another instance is already doing regular accounting | 12:43 |
nicoe | shomon: well you can indeed use virtualenv to separate both install | 12:44 |
shomon | I was just looking at proteus.. I wonder if it's the fastest way to make a web interface for a tryton server... | 12:46 |
shomon | thanks nicoe | 12:47 |
mdnss | hi rmu | 14:36 |
mdnss | can I ask you about modules installation? | 14:37 |
mdnss | or anyone could help about it? | 14:37 |
udono | mdnss: Hi, just ask. We will see if someone can help. | 14:48 |
mdnss | hi udono, I've installed some modules but I don't see them on the client interface | 14:49 |
udono | mdnss: you probably need to 'announce' them to the database with: trytond -i all -d <database_name> | 14:52 |
mdnss | udono, I get this message: "psycopg2.OperationalError: could not connect to server: No such file or directory" | 14:53 |
udono | mdnss: then you need to call the server with the user id which usually runs the tryton server, like sudo su tryton -c "trytond -i all -d <database_name>" | 14:54 |
mdnss | the thing is my server only works in verbose mode | 14:55 |
udono | mdnss: or tryton can not connect to your database, because it is not configured in Tryton. Or at least postgresql is not running. | 14:55 |
mdnss | both are running | 14:56 |
udono | /tryton/trytond/ | 14:56 |
mdnss | sorry udono, what do you mean? | 14:57 |
udono | mdnss: I meant: or trytond can not connect to your database, because it is not configured in the trytond.conf. | 14:57 |
udono | mdnss: do you see any module in the tryton client? | 14:58 |
udono | mdnss: Or is the module list empty? | 14:59 |
mdnss | I restarted the server and now they appear ¬¬ | 14:59 |
udono | mdnss: so it works? | 15:00 |
mdnss | let me see, I couldn't see the modules before | 15:00 |
mdnss | udono, is there a way to set a calendar alarm so I can know when I have a meeting ie | 15:03 |
udono | mdnss: I don't know. | 15:04 |
udono | mdnss: maybe calendar_scheduling module is what you are looking for?! | 15:07 |
mdnss | I've installed it udono | 15:20 |
shomon | hi does anyone know why a tryton running in a virtual env would show up all the modules that are installed outside it's env? | 15:30 |
udono | shomon: yes, it is because of the http://www.virtualenv.org/en/latest/#the-system-site-packages-option | 15:33 |
shomon | oh so if I want psycopg I can't separate the modules in different tryton instances? | 15:35 |
shomon | or is there a way to install psycopg without using system-site-packages? | 15:36 |
shomon | I used system-site-packages because psycopg hadn't installed properly you see | 15:36 |
udono | shomon: you can install and control every dependency inside the virtualenv. | 15:36 |
udono | shomon: psychopg and lxml at least must be compiled. | 15:37 |
udono | shomon: which os you are using? | 15:37 |
shomon | debian | 15:37 |
shomon | I already have those two on the system wide tryton install I already have.. but as I need to have two trytons on the same server, maybe I need to compile them again from inside a virtualenv | 15:38 |
udono | shomon: You can try it with aptitude install python-dev libpq-dev libsasl2-dev libxml2-dev libxslt-dev | 15:40 |
udono | shomon: then pip will compile psychopg and lxml at least. | 15:41 |
udono | shomon: and libldap2-dev when you use the ldap modules of tryton. | 15:41 |
shomon | okay | 15:48 |
shomon | thanks! | 15:48 |
shomon | ah great, I did want to use them at some point | 15:48 |
shomon | udono, sorry but do you know how to exit a virtualenv ? | 15:53 |
udono | shomon: try deactivate | 15:59 |
shomon | thanks udono | 16:04 |
shomon | aah | 16:04 |
shomon | :) | 16:04 |
mdnss | anyone using caldav? | 16:23 |
shomon | I have psycopg2 installed.. but it's now saying "no module named psyco" | 16:26 |
shomon | is it a separate one? I'm pip installing it but it seems to hang | 16:27 |
udono | shomon: I have not installed it. An I have deactiveted it in tryton.conf. So, I don't know. | 16:28 |
shomon | aah.. maybe it wasn't so important | 16:30 |
mdnss | cedk, have you tried caldav? | 16:55 |
mdnss | udono, did you use caldav? | 17:01 |
udono | mdnss: using is too much to say, but I test it sometimes. | 17:02 |
mdnss | udono, could you use the calendar from another soft with caldav? iethunderbird | 17:08 |
udono | mdnss: thunderbird needs AFAIK a plugin. But it should work: https://docs.google.com/spreadsheet/ccc?key=0AmlePWQYEUqZdGNQMzdtM3d4VUFVQ19weGN0MnhZcVE#gid=0 | 17:12 |
mdnss | udono, yes I know, I'm using lightning | 17:12 |
mdnss | I made every step | 17:13 |
mdnss | but it never asks for user or password (in thunderbird) | 17:13 |
udono | mdnss: Which steps? Do you have a link? | 17:13 |
mdnss | no udono, I mean the way to configure thunderbird | 17:14 |
udono | mdnss: ah, ok. understand. | 17:14 |
mdnss | creating a calendar, on the network, then http://localhost:8080/prueba/Calendars/calendar_name | 17:14 |
udono | mdnss: Is webdav activated in trytond.conf and is it listening on a port? | 17:15 |
mdnss | udono, let me check that | 17:15 |
mdnss | udono, I have no line about caldav | 17:17 |
mdnss | not even as a comment | 17:17 |
udono | mdnss: Its controlled via webdav. | 17:17 |
udono | mdnss: You need to activate webdav to use caldav. | 17:18 |
mdnss | thanks udono | 17:58 |
mdnss | I have another question | 17:58 |
mdnss | I'm installing new modules, then I make the sudo su tryton -c "trytond -i all -d prueba" | 17:59 |
mdnss | after login, new modules are not in modules list | 17:59 |
udono | mdnss: maybe you need to restart the tryton-server? | 18:00 |
mdnss | I already did it | 18:01 |
mdnss | udono, I also restarted postgres | 18:01 |
udono | mdnss: maybe the new modules have other permissions or owner then the others? | 18:01 |
mdnss | sorry about my bad english, but I don't understand what do you mean with "or owner then the others" | 18:03 |
udono | mdnss: sorry, was my bad english: I meant: maybe the new modules have other filesystem permissions or owner then the other modules. So that user tryton can not load them. | 18:05 |
mdnss | but I'm using admin user | 18:05 |
mdnss | udono, maybe I'm not understanding... | 18:05 |
udono | mdnss: but you use sudo su tryton -c "trytond -i all -d prueba" ? So you start the initialisation (-i) in the context of user tryton. This user needs to have access to the new modules and their files. | 18:07 |
mdnss | udono, ohhh right, now I get what you said | 18:07 |
udono | mdnss: my bad :-) | 18:08 |
mdnss | udono, no, no, you were making a good explanation, it's my mix of amateur and having a little rusty english :) | 18:09 |
rmu | aaargl | 18:14 |
rmu | mdnss: remember, your postgresql runs on port 5433 | 18:14 |
rmu | so trytond will only connect, if it uses the right trytond.conf | 18:14 |
rmu | where you configured to use port 5432 | 18:15 |
rmu | s/5432/5433/ sorry | 18:15 |
rmu | mdnss: use something like trytond -c /path/to/trytond/etc/trytond.conf -i all -d <database_name> | 18:16 |
-!- plantian(~ian@c-67-161-75-111.hsd1.ca.comcast.net) has left #tryton | 18:43 | |
-!- scrapper(~scrapper@80-121-30-44.adsl.highway.telekom.at) has left #tryton | 21:01 | |
zodman | cedk: http://hg.tryton.org/2.6/modules/account/file/aa51fff8e43b/MANIFEST.in#l7 trytond.cfg ? the http://downloads1.tryton.org/2.6/trytond_account-2.6.0.tar.gz broken! | 23:13 |
zodman | install from pip | 23:13 |
zodman | others packages have the same issue | 23:16 |
zodman | im goint to create a issue | 23:17 |
cedk | zodman: for me there is only account with the issue | 23:44 |
zodman | https://bugs.tryton.org/issue2850 | 23:50 |
zodman | trytond_account_stock_continental missing too | 23:50 |
zodman | only find two | 23:50 |
cedk | zodman: ok I will do a fix release tomorrow | 23:53 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!