siyuan icon indicating copy to clipboard operation
siyuan copied to clipboard

AttributeError("'NoneType' object has no attribute 'ipath'",)

Open bubblefish432 opened this issue 5 years ago • 2 comments

Hallo,

Yesterday i become the error:

Sorry, the requested URL 'http://omv2:8088/results?query=trapez&dir=%3Call%3E&after=&before=&sort=relevancyrating&ascending=0&page=1' caused an error:

Internal Server Error

Exception:

AttributeError("'NoneType' object has no attribute 'ipath'",)

Traceback:

Traceback (most recent call last):
  File "/media/53db9167-314a-44c9-ba9a-d29ea28404f6/www/recoll-webui/bottle.py", line 744, in _handle
    return route.call(**args)
  File "/media/53db9167-314a-44c9-ba9a-d29ea28404f6/www/recoll-webui/bottle.py", line 1479, in wrapper
    rv = callback(*a, **ka)
  File "/media/53db9167-314a-44c9-ba9a-d29ea28404f6/www/recoll-webui/bottle.py", line 2850, in wrapper
    result = func(*args, **kwargs)
  File "/media/53db9167-314a-44c9-ba9a-d29ea28404f6/www/recoll-webui/webui.py", line 252, in results
    res, nres, timer = recoll_search(query)
  File "/media/53db9167-314a-44c9-ba9a-d29ea28404f6/www/recoll-webui/webui.py", line 216, in recoll_search
    v = getattr(doc, f)
AttributeError: 'NoneType' object has no attribute 'ipath'

Can anyone help me ?

bubblefish432 avatar May 29 '19 23:05 bubblefish432

I think that this is fixed in: https://opensourceprojects.eu/p/recollwebui/code/ which is where I (recoll dev) maintain the webui until koniu reappears.

ghost avatar Oct 02 '19 16:10 ghost

I confirm that the fix in the mentioned source location above works for me (I am not the author of this bug).

bheorcnh avatar Oct 01 '20 10:10 bheorcnh