health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] No module named pywebdav.lib


From: Bruno M. Villasanti
Subject: Re: [Health-dev] No module named pywebdav.lib
Date: Tue, 18 Jun 2013 10:29:19 -0300

Hi,

2013/6/18 Kaushik <address@hidden>
Hi,
    I installed gnuhealth from source as mentioned in the wiki page.  When I started the tryton client, I am getting an error that  pywebdav.lib is not found. PyWebDav is already present.  Is a newer version required?. 

You can find the `PyWebDav` package required by `Tryton`, in [1].
Also, you can tell us what distribution you're using.




    I am pasting the traceback below. 

Traceback (most recent call last):
  File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
    response['result'] = dispatch_method(method, params)
  File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
    res = dispatch(*args)
  File "/trytond/protocols/dispatcher.py", line 37, in dispatch
    res = security.login(database_name, user, session)
  File "/trytond/security.py", line 19, in login
    pool = _get_pool(dbname)
  File "/trytond/security.py", line 13, in _get_pool
    pool.init()
  File "/trytond/pool.py", line 123, in init
    self.start()
  File "/trytond/pool.py", line 75, in start
    register_classes()
  File "/trytond/modules/__init__.py", line 347, in register_classes
    mod_file, pathname, description)
  File "/trytond/modules/calendar/__init__.py", line 5, in <module>
    from . import caldav
  File "/trytond/modules/calendar/caldav.py", line 7, in <module>
    from pywebdav.lib import propfind
ImportError: No module named pywebdav.lib

Thanks
Kaushik


A way to check the correct installation, is running `python` from your virtual environment:

$ /path/to/python
>> import pywebdav


To perform the test, it is important that you use the same `python` which `trytond` is activated.


Regards.

--
Bruno M. Villasanti
thymbr@

reply via email to

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