health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] ImportError: cannot import name 'InvalidRecurrence' fro


From: tumashu
Subject: Re: [Health-dev] ImportError: cannot import name 'InvalidRecurrence' from 'trytond.modules.calendar.exceptions' (/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/calendar/exceptions.py
Date: Thu, 13 Jan 2022 08:40:52 +0800 (CST)




At 2022-01-12 22:09:13, "Luis Falcon" <falcon@gnuhealth.org> wrote:
>Greetings, Tumashu!
>
>On 1/12/22 01:25, tumashu wrote:
>> I have try last code, and find:
>> 
>> ```
>> trytond.exceptions.MissingDependenciesException: Missing dependencies: 
>> calendar
>
>Probably because you had health_calendar in the list, and it had not 
>been migrated yet.
>Make sure you test packages with the version 3.9.0, those are the one 
>that have been migrated and are ready for testing.
>
>Also, both gnuhealth-setup and gnuhealth-control are now ready to be 
>tested. The installation program now does not create the old symlinks to 
>"calendar" or "webdsav".

 OK, maybe have another issue:  modules list can not be opened for:

```
raceback (most recent call last):
  File "/trytond/wsgi.py", line 117, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 46, in rpc
    return methods.get(request.rpc_method, _dispatch)(
  File "/trytond/wsgi.py", line 84, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 159, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 180, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/model/modelsql.py", line 867, in read
    getter_results = field.get(
  File "/trytond/model/fields/function.py", line 105, in get
    return dict((name, call(name)) for name in names)
  File "/trytond/model/fields/function.py", line 105, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/trytond/model/fields/function.py", line 100, in call
    return dict((r.id, method(r, name)) for r in records)
  File "/trytond/model/fields/function.py", line 100, in <genexpr>
    return dict((r.id, method(r, name)) for r in records)
  File "/trytond/ir/module.py", line 137, in get_version
    return get_module_info(self.name).get('version', '')
  File "/trytond/modules/__init__.py", line 85, in get_module_info
    with tools.file_open(os.path.join(name, 'tryton.cfg')) as fp:
  File "/trytond/tools/misc.py", line 78, in file_open
    raise IOError('File not found : %s ' % name)
OSError: File not found : /trytond/modules/webdav/tryton.cfg 

Fault: File not found : 
/home/feng/gnuhealth/tryton/server/trytond-6.0.13/trytond/modules/webdav/tryton.cfg
 
```


>
>Best
>Luis

reply via email to

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