dan rojas escribió:
Hola a continuacion les detallo error que me envia el Gestor....En el primero...trato de crear el usuario ..con el comando que se señala : [EMAIL PROTECTED]:~/pyGestor$ python test_db.py could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? La base de datos no está funcionando Intente crear el usuario daniel con el siguiente comando: #createuser daniel Necesita tener acceso de superusuario para hacer esta operación Posteriormente puede intentar usar test_db.py para probar la conección [EMAIL PROTECTED]:~/pyGestor$ En el siguiente me dice que no tengo ..psycopg... baje un paquete de debian .org....lo instale ([EMAIL PROTECTED]:~/psycopg-1.1.21$) [EMAIL PROTECTED]:~/pyGestor$ python Gestor.py Traceback (most recent call last): File "Gestor.py", line 37, in ? from ctb_frm_main import ctb_frm_main File "/home/daniel/pyGestor/ctb_frm_main.py", line 29, in ? from ctb_def_empresa import * File "/home/daniel/pyGestor/ctb_def_empresa.py", line 27, in ? from ctb_rutinas import * File "/home/daniel/pyGestor/ctb_rutinas.py", line 35, in ? from psycopg import connect ImportError: No module named psycopg [EMAIL PROTECTED]:~/pyGestor$ Por último algo con postgresql... te cuento que lo instale ..por lommenos eso señala la maquina ...que fue instalado satisfactoria : [EMAIL PROTECTED]:~/psycopg-1.1.21$ ./configure checking for python... /usr/bin/python checking python version... 2.4 checking python installation prefix... /usr checking python installation exec_prefix... /usr checking definitions in Python library makefile... sed: can't read /usr/lib/python2.4/config/Makefile: No such file or directory done checking for install... /usr/bin/install checking location of python library... $(prefix)/lib/python2.4/site-packages checking location of python shared modules... $(exec_prefix)/lib/python2.4/site-packages checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for inline... inline checking PostgreSQL version... configure: error: missing PostgreSQL headers [EMAIL PROTECTED]:~/psycopg-1.1.21$ya no se que hacer...estoy a punto de abondonar el tema
normalmente eso pasa, no he encontrado una manera fácil de hacer que la gente pueda usar este engendro, o entiendes algo de linux o no resulta, serías como el número chorrocientos mil que se desiste, incluso yo, tengo que hacer gestor de nuevo...
-- Fernando San Martín Woerner Galilea S.A. -- Este mensaje ha sido analizado por nuestros servidores en busca de virus y otros contenidos peligrosos, y se considera que est� limpio.
begin:vcard fn;quoted-printable:Fernando San Mart=C3=ADn Woerner n;quoted-printable:San Mart=C3=ADn Woerner;Fernando email;internet:[EMAIL PROTECTED] tel;work:56-71-514400 tel;fax:56-71-514450 x-mozilla-html:FALSE version:2.1 end:vcard
