health
[Top][All Lists]
Advanced

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

Re: [Health] Upgrade problem


From: Luis Falcon
Subject: Re: [Health] Upgrade problem
Date: Thu, 14 Nov 2019 17:04:59 +0000

Hi Mike !

On Thu, 14 Nov 2019 16:36:55 +0000
mike via Health <address@hidden> wrote:

> The cleaning queries helped us to repair many fault in database. We
> still have a problem with calendar data when running the script, se
> below:
> > ------ > ryton@Tryton-Server:/home/m2s> /usr/bin/trytond-admin -c
> > /etc/tryton/trytond.conf --all -d Hospital > Traceback (most recent
> > call last): > File "/usr/bin/trytond-admin", line 21, in <module> >
> > admin.run(options) > File
> > "/usr/lib/python3.6/site-packages/trytond/admin.py", line 54, in
> > run > installdeps=options.installdeps) > File
> > "/usr/lib/python3.6/site-packages/trytond/pool.py", line 153, in
> > init > lang=lang, installdeps=installdeps) > File
> > "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py",
> > line 462, in load_modules > _load_modules(update) > File
> > "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py",
> > line 426, in _load_modules > graph = create_graph(module_list)[0] >
> > File
> > "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py",
> > line 191, in create_graph > - set((p[0] for p in packages)))) >
> > trytond.exceptions.MissingDependenciesException: ['calendar'] >
> > tryton@Tryton-Server:/home/m2s> > ----------  
> 
> The calendar_calendar is empty.
> What can we do to handle the calendar issue?
> We have got following information: "calendar is not a standard Tryton
> module. Maybe it is health_calendar ?"
> 
> How to solve our problem?

To which version are you migrating ? 3.6.0 ? 

Did you follow the upgrade instructions in the "doc" directory and 
announcements ?

The webDAV and calDAV functionality is available in GNU Health, but no
longer in Tryton.

It seems to me that you probably deleted the "calendar" module
following the Tryton upgrade directions, and that is why you get the
missing dependencies error (MissingDependenciesException: ['calendar']) 

Check in ir_module if the entry "calendar" exists.

Try:
health36=# select id, name from ir_module where name='calendar';
 id |   name   
----+----------
 41 | calendar
(1 row)

The actual module is health_calendar, but to be
downward compatible with the original, it links to "calendar".


Best
Luis



reply via email to

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