health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] Upgrading GNU Health


From: Mathias Behrle
Subject: Re: [Health] Upgrading GNU Health
Date: Fri, 30 Aug 2019 21:26:55 +0200

* Raformatico Rodgom: " Re: [Health] Upgrading GNU Health" (Fri, 30 Aug 2019
  16:44:14 +0100):

> Hi Axel,
> 
> Thank you!
> 
> The folder trytond_purchase_request-4.6.1 exists and it is
> inside /home/gnuhealth/gnuhealth/tryton/server/modules
> 
> I've executed also:
> ./trytond-admin -u purchase_request

You must add the configuration path and database name to the command, i.e.

trytond-admin -c /path/to/trytond.conf -u purchase_request -d <database_name>

HTH,
Mathias

> 
> And after that I run into the same error. I'm not really sure if with these
> steps I've checked if the module is installed, any hint?
> 
> On Fri, Aug 30, 2019 at 3:00 PM Axel Braun <address@hidden> wrote:
> 
> > Hello Rafa,
> >
> > please check if you have the Tryton-module purchase_request installed.
> >
> > HTH
> > Axel
> > *Gesendet:* Freitag, 30. August 2019 um 13:34 Uhr
> > *Von:* "Raformatico Rodgom" <address@hidden>
> > *An:* "General GNU Health discussion and help" <address@hidden>
> > *Betreff:* [Health] Upgrading GNU Health
> > Hi all!
> >
> > I’m doing the upgrade of GNU Health:
> > - Gnuhealth-3.0.6
> > - Tryton-3.8.9
> >
> > I followed the steps of the wiki but I am having some troubles. As
> > suggested, I’m doing this procedure in a virtual machine with the backup
> > files I extracted previously (I propose that this should be explained in
> > the wiki also, for instance the importation of the sql database).
> >
> > In the step of updating the database (./trytond-admin --all
> > --database=your_database_name) firstly I get the error:
> >
> >   File
> > "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/tools/misc.py",
> > line 78, in file_open
> >     raise IOError('File not found : %s ' % name)
> > OSError: File not found :
> > /home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/bikop/tryton.cfg
> >
> > This was caused by a missing symbolic link (related to a custom local
> > module). After creating the link I relaunch the command and I’m getting an
> > error I don’t know how to handle:
> > Traceback (most recent call last):
> >   File "./trytond-admin", line 21, in <module>
> >     admin.run(options)
> >   File
> > "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/admin.py",
> > line 54, in run
> >     installdeps=options.installdeps)
> >   File
> > "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/pool.py",
> > line 153, in init
> >     lang=lang, installdeps=installdeps)
> >   File
> > "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/__init__.py",
> > line 462, in load_modules
> >     _load_modules(update)
> >   File
> > "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/__init__.py",
> > line 426, in _load_modules
> >     graph = create_graph(module_list)[0]
> >   File
> > "/home/gnuhealth/gnuhealth/tryton/server/trytond-4.6.19/trytond/modules/__init__.py",
> > line 191, in create_graph
> >     - set((p[0] for p in packages))))
> > trytond.exceptions.MissingDependenciesException: ['purchase_request']
> >
> > Best regards!
> >
> >
> >
> > --
> > Rafa
> >  
> 
> 



-- 

    Mathias Behrle
    MBSolutions
    Gilgenmatten 10 A
    D-79114 Freiburg

    Tel: +49(761)471023
    Fax: +49(761)4770816
    http://www.m9s.biz
    UStIdNr: DE 142009020
    PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
    AC29 7E5C 46B9 D0B6 1C71  7681 D6D0 9BE4 8405 BBF6

Attachment: pgpcca7k7Af2K.pgp
Description: Digitale Signatur von OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]