health-dev
[Top][All Lists]
Advanced

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

[Health-dev] [bug #62608] health webdav not running


From: Feng Shu
Subject: [Health-dev] [bug #62608] health webdav not running
Date: Tue, 19 Jul 2022 20:15:52 -0400 (EDT)

Follow-up Comment #5, bug #62608 (project health):

Sorry, the error is like below:

```
Traceback (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 870, 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/modules/health_webdav3_server/webdav.py", line 666, in
get_url
    return urllib.parse.urljoin(get_webdav_url(),
  File "/trytond/modules/health_webdav3_server/webdav.py", line 38, in
get_webdav_url
    or str(socket.getfqdn(), 'utf8'))
NameError: name 'socket' is not defined

Fault: name 'socket' is not defined
```


[comment #4 comment #4:]
> When I add a share, the following error is exist:
> 
> ```
> Traceback (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 870, 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/modules/health_webdav3_server/webdav.py", line 666, in
get_url
>     def get_url(self, name):
>   File "/trytond/modules/health_webdav3_server/webdav.py", line 40, in
get_webdav_url
>     hostname = '.'.join(encodings.idna.ToASCII(part) for
> AttributeError: 'NoneType' object has no attribute 'split'
> 
> Fault: 'NoneType' object has no attribute 'split'
> ```


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62608>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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