Installing senaite lims 2.0

After installation configuration of senaite.lims 2.0, I get an error when adding an initial lab site. The error from the browser

Internal Server Error
The server encountered an unexpected internal server error
(generated by waitress)

In debug mode the error below shows up:

2021-10-05 13:08:06,194 ERROR   [waitress:358][waitress-1] Exception while serving /@@senaite-addsite
Traceback (most recent call last):
File "/home/senaite/buildout-cache/eggs/cp27mu/waitress-1.4.4-py2.7.egg/waitress/", line 350, in service task.service()
File "/home/senaite/buildout-cache/eggs/cp27mu/waitress-1.4.4-py2.7.egg/waitress/", line 171, in service self.execute() 
File "/home/senaite/buildout-cache/eggs/cp27mu/waitress-1.4.4-py2.7.egg/waitress/", line 441, in execute app_iter =, start_response)
File "/home/senaite/buildout-cache/eggs/cp27mu/Paste-3.5.0-py2.7.egg/paste/", line 69, in __call__return self.application(environ, replacement_start_response)
File "/home/senaite/buildout-cache/eggs/cp27mu/Zope-4.5.5-py2.7.egg/ZPublisher/", line 30, in __call__return self.application(environ, start_response)
File "/home/senaite/buildout-cache/eggs/cp27mu/Zope-4.5.5-py2.7.egg/ZPublisher/", line 390, in publish_module start_response(status, headers)
File "/home/senaite/buildout-cache/eggs/cp27mu/Paste-3.5.0-py2.7.egg/paste/", line 67, in replacement_start_response self.write_log(environ, method, req_uri, start, status, bytes)
File "/home/senaite/buildout-cache/eggs/cp27mu/Paste-3.5.0-py2.7.egg/paste/", line 99, in write_log message = self.format % d
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 3: ordinal not in range(128)

Please, any help?

1 Like

I have exactly the same issue. Did you resolve it? Regards, Daniel

Same problem. Linux Ubuntu 18.04.6 LTS, install Senaite LIMS 2 on instruction: Complete setup guide, step-by-step - #22 by Jeff-DFWEnv

How fix it?

Just in case, here’s the solution: Complete setup guide, step-by-step - #37 by dietervdwes

1 Like