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