problème d'installation de tinyERP

2007-01-11 Par sujet Marc Schulthess
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

En réponse à

"Boby K" <[EMAIL PROTECTED]>

Bonjour,

A priori les choses se passent plutôt bien : le serveur est connecté à
ta base et attends que tu te connectes à lui par l'intermédiaire du
client TinyERP...

Il faut installer le client et le lancer. Il demande alors les
paramètres de connexion et le login.

Bon courage

- --
Marc Schulthess
- -
[EMAIL PROTECTED]   +41 (0)79 276 37 29
Ch. du Crêt-Ministre 13 1090 La Croix s/Lutry
http://www.Quod.ch Skype: marc-schulthess
- -
The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient
is prohibited. If you receive this in error, please contact the sender
and delete the material from the computer.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iQEVAwUBRaVP8dOykqpqxNrsAQIlmQf/dhFwWplZ+71yUFQTmPbMnb0qJrX0YEOt
2vLXVf1+K2Le2sWaRRuOu4LXZ8tt2Uc3TpvK1oL1fgNCtmPhxbvd9h5YuIEw6FUS
159jkHuswaO1ny8wf3SkJfOh3zxnj/MM5pz6Fad1TCw6NkbQsfWEQ6xOnw1QRpRr
wf5UGh1qNOzd50fJU6UwKGSur9mNjAKxZzgnfCnLnW9rTJYPo3x95WxfEfEE2fvP
AfTZN7bF0yhIl5SqMtI7yreC82Q/6mab/9FjsI01bb3Z7wzjk7NEdhoErbmd4Qu0
sGltbk1zHe4lIa3Y9wAUJrykAGTkJfNoNT+RvhYVjF0pr6Jjuf1RCg==
=Fbky
-END PGP SIGNATURE-


-- 
ubuntu-fr mailing list
ubuntu-fr@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr


problème d'installation de tinyERP

2007-01-10 Par sujet Boby K
Bonjour,

Je suis bénévole dans une association dans laquelle je m'occupe du parc 
informatique. Je dois installer tinyERP sur une machine ubuntu.
J'ai trouvé sur le net les indications d'installations suivantes mais 
rencontre un pb dans la dernière étape.
J'ai mis en REMARQUE des commentaires sur les étapes



2.1.9 Ubuntu



1.Modify the /etc/apt/source.lists

(using a text editor like gedit, kate or nano

(in this example gedit is used -

if you don`t have it - just replace gedit with the name of your programm 
of choice))



sudo gedit /etc/apt/sources.list

(then you`ll be asked to enter the root password)

 - Uncomment these two lines or add it if it does not exist:

deb http://fr.archive.ubuntu.com/ubuntu breezy universe multiverse

deb-src http://fr.archive.ubuntu.com/ubuntu breezy universe 
multiverse

 - Save the file and launch the apt command



REMARQUE : je n'ai pas brezy mais dapper; j'ai donc fait la même chose 
mais avec dapper.



2.Update the repository by typing



   $sudo apt-get update



in command lines or GUI (ubuntu 5.10)



  >System>administration>synaptic package manager



(if you`re using kubutu or other ubuntu-based distributions you may have 
another package manager (like adept for kubuntu)



3.Install the required packages and postgresql database by typing (in 
command line)



$sudo apt-get install python2.4-xml python2.4-libxml2 
python2.4-libxslt1 python2.4-psycopg python2.4-imaging 
python2.4-pyparsing python2.4-reportlab graphviz postgresql-7.4



or with a GUI /package manager (Synaptic/Adept) (ubuntu 5.10)



select the following packages from the list and choose install

  python2.4-xml

  python2.4-libxml2

  python2.4-libxslt1

  python2.4-psycopg

  python2.4-imaging

  python2.4-pyparsing

  python2.4-reportlab

  graphviz

  postgresql-7.4



then commit the changes



Normally at this step the required packages are installed and the 
postgresql server is launched. You will now go to the STEP 4.1 (You are 
now in 2.1.9.4 to configure your Postgresql database.)



REMARQUE : il m'a annoncé que

  postgresql-7.4

était une vieille version. Je l'ai désinstallé complétement et ai choisi 
dans le synaptic la verrsion 8.1



5.Download the Tinyerp Server Package.



6.Decompress it (* means: enter the full path here of your download);



   $ cd /

   $tar xzvf /home/.../tinyerp-server-v...tgz*

   $sudo chown -R postgres server



REMARQUE : la commande tar n'a pas marché, il m'a affiché une erreur. Je 
suis arrivé à décompresser le fichier dans l'environnement ubuntu sur 
mon bureau. J'ai ensuite copié le répertoire obtenu dans le /.

la commande  sudo chown -R postgres server me renvoyait une erreur en me 
disant qu'elle ne trouvait pas le fichier ou répertoire server. J'ai 
recommencé avec :

sudo chown -R postgres et le nom de mon répertoire décompressé dans /, 
il ne m'a alors pas renvoyé d'erreur



7. Start tinyerp server



   $sudo su postgres

   $cd server

   $./bin/tinyerp-server.py -d terp -r postgres -w postgres



REMARQUE : de nouveau, j'ai remplacé "server" par le nom de mon 
répertoire tiny et la dernière commande m'a alors lancé tout un bla bla 
(copié ci dessous) finissant par :

Wed, 10 Jan 2007 18:48:39 INFO:web-services:the server is running, 
waiting for connections...

puis plus rien, il reste là et attend...



Que faire ? Ai-je râté une étape ? Pouvez-vous m'aider

Merci !



After shutting down the server, next time you only need to redo step 7





-





 Ci dessous, l'ensemble des manips que j'ai faites dans le terminal pour 
la fin de l'étape 6 et  l'étape 7





[EMAIL PROTECTED]:~$ cd /

[EMAIL PROTECTED]:/$ ls

bindev   lib mnt   root  sys   usr

boot   etc   lost+found  opt   sbin  tinyerp-server-4.0.1  var

cdrom  home  media   proc  srv   tmp

[EMAIL PROTECTED]:/$ sudo chown -R postgres server

Password:

chown: ne peut accéder `server': Aucun fichier ou répertoire de ce type

[EMAIL PROTECTED]:/$ sudo chown -R postgres tinyerp-server-4.0.1

[EMAIL PROTECTED]:/$ sudo su postgres

[EMAIL PROTECTED]:/$ cd server

bash: cd: server: Aucun fichier ou répertoire de ce type

[EMAIL PROTECTED]:/$ ls

*bindev   libmnt   root  sys   usr

boot   etc   lost+found  opt   sbin  tinyerp-server-4.0.1  var

cdrom  home  media   proc  srv   tmp

[EMAIL PROTECTED]:/$ cd tinyerp-server-4.0.1/

[EMAIL PROTECTED]:/tinyerp-server-4.0.1$ ./bin/tinyerp-server.py -d 
terp -r postgres -w postgres

Wed, 10 Jan 2007 18:48:29 INFO:objects:initialising distributed objects 
services

Wed, 10 Jan 2007 18:48:29 INFO:init:connecting to database

Wed, 10 Jan 2007 18:48:29 INFO:init:could not connect to database 
'terp'!

Wed, 10 Jan 2007 18:48:32 INFO:init:addon:base:registering classes

Wed, 10 Jan 2007 18:48:3