Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Alok Shenoy
@koyanloshe
oh ok.. will wait in that case.. thanks
AlbertDavid
@AlbertDavid94
@ramonski I get the same error but I don't have health installed
Eric Mbuthia
@embuthia_twitter
Is there a projected time for when an updated senaite.health would be released?
Jordi Puiggené
@xispa
Hi @embuthia_twitter , we are working on it. A new version of senaite.health will be released within the following days
AlbertDavid
@AlbertDavid94
I've succesfully installed the newest version of senaite. Hahaha, I've run into the next problem. The assets don't load anymore. With the exception of the starting page, everywhere else the css and js files can't be read
Ramon Bartl
@ramonski
@AlbertDavid94: please read https://community.senaite.org/t/senaite-lims-v1-3-3-has-released/411

Update to 1.3.3
If you have SENAITE LIMS 1.3.2 installed, we’ve also put efforts to make this update as easier as possible. Because we’ve applied architectural changes, you’ll notice the UI skin is lost until you effectively update the system.

… you need to run the upgrade step
AlbertDavid
@AlbertDavid94
@ramonski thanks!
aledeneuquen
@aledeneuquen
Hi @kiwi3007 "[quote] seem to be able to use the {year} variable without issue, but using {client} gives " KeyError: 'client'[/quote] i have the same problem..
could you solve it?
At one point I thought that the function "short name" should be activated and that it took that Id, but the same problem continues...
I added a dummy client with: Short name: B1, Name: B2, Client Id: B3, to see which of these fields the variable {client} in the ID server refers to, but I cannot solve it, in all cases the error "client" appears when I want to create an analysis request..
could someone solve it?
aledeneuquen
@aledeneuquen

Hello again .. reading at title I could find the solution !!!!
On the ID server for the AR, I was trying various combinations for the variable {client}, for example: ClientID, client, client_ID ..., until one worked ..
in my case it was {clientId}

Now I have the AR configured: {clientId} {year} - {seq: 05d} (generated)

Now I take the opportunity to ask you for one more help ... how do I have to configure the server ID so that {seq: 05d} will restart when the year changes?
Thank you very much in advance!!

Jordi Puiggené
@xispa

@aledeneuquen , set a split_lengthof 2 so your id formatting setting looks like this:

{
        "portal_type": "AnalysisRequest",
        "form": "{clientId}{year}-{seq:05d}",
        "prefix": "analysisrequest",
        "sequence_type": "generated",
        "split_length": 2,
    },

Each time the substring made of the number of segments defined by split_length changes, the system will restart the sequence after that substring. In your case, you want {clientId}{year} to be the mentioned substring (call it "prefix"), so each time it changes (e.g. when the year change or the client id), you want the sequence to restart. Since the substring has two segments ({clientId}and {year}), the split_length to accomplish what you want should be 2.

min2great
@min2great
Hey guys! Hope everyone is doing well. I observed an issue in the published report from Senaite LIMS - the Header is displayed on the first page only. Is there some configuration/setting to view header on the top of every page?
min2great
@min2great

Hi All, Fixed the issue using the following code snippet:

@page {
font-size: 20pt;
@top-center {
content: '<span tal:omit-tag="" tal:content="laboratory/Name"/>';
}
}

Ronald
@ronna
Morning, is there a way to easily migrate the Senaite setup data from one instance to another, from the test server to production server?
Ramon Bartl
@ramonski
@ronna: yes, you can do that via the „Export“ tab in portal_setup. But be aware that any existing contents in the target will be overwritten
Add-on and configuration management 2020-03-20 09-30-45.png
Ronald
@ronna
@ramonski thanks for the information
Arjun
@ArjAthreya
Hey everyone, I am trying to run the senaite docker container with the senaite.health addon but the container keeps shutting down. Is there anything other than senaite.health that I need to add to the buildout.cfg other than senaite.health to the eggs?
Jordi Puiggené
@xispa
Hi @ArjAthreya , we haven't published a senaite.health release compatible with senaite 1.3.3 yet. Working on it
Arjun
@ArjAthreya
ah alright, thanks for letting me know @xispa
Has anyone tried or been able to setup senaite on wsl? Is it possible?
Jordi Puiggené
@xispa
I cannot help on this regard, I've never used Windows Subsystem for Linux
maybe others can help. Consider to post the question in https://community.senaite.org
Arjun
@ArjAthreya
@xispa no problem, will do
Jordi Puiggené
@xispa
Thanks!
Muzzammil Hussain
@dexterhussain
hello i am a newbie
who wants to learn senaite for implementation
Muzzammil Hussain
@dexterhussain
unable to install
Installing instance.
Getting distribution for 'cssselect2>=0.1'.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 2266, in main
**kw
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 410, in run
self.easy_install(spec, not self.no_deps)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 646, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 695, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 876, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1115, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1101, in run_setup
run_setup(setup_script, args)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 249, in run_setup
raise
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 197, in setup_context
yield
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 168, in save_modules
saved_exc.resume()
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 143, in resume
six.reraise(type, exc, self._tb)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 156, in save_modules
yield saved
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 197, in setup_context
yield
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 246, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 276, in run
return func()
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 245, in runner
_execfile(setup_script, ns)
File "/home/senaite/miniconda2/envs/senaite/lib/python2.7/site-packages/setuptools/sandbox.py", line 47, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-hV7zqN/cssselect2-0.3.0/setup.py", line 9, in <module>
RuntimeError: cssselect2 does not support Python 2.x anymore. Please use Python 3 or install an older version of cssselect2.
An error occurred when trying to install cssselect2 0.3.0. Look above this message for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for 'cssselect2>=0.1'.
Error: Couldn't install: cssselect2 0.3.0
(senaite) senaite@labssoftware:~/senaitelims$ which buildout
/home/senaite/miniconda2/envs/senaite/bin/buildout
(senaite) senaite@labssoft
Muzzammil Hussain
@dexterhussain
?
Ronald
@ronna
Morning @dexterhussain you have to pin your cssselect2 to a version lower than cssselect2 0.3.0.
Muzzammil Hussain
@dexterhussain
HOW I CAN DO THAT @ronna ?
Muzzammil Hussain
@dexterhussain

Updating instance.
Updating repozo.
Updating backup.
Updating zopepy.
Updating unifiedinstaller.
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
Chameleon = 3.6.2
Products.ATExtensions = 1.1
Pyphen = 0.9.5
Werkzeug = 1.0.0
cairocffi = 0.9.0
cffi = 1.14.0
html5lib = 1.0.1
more-itertools = 5.0.0
pdfrw = 0.4
senaite.core.supermodel = 1.2.3
senaite.lims = 1.3.3.2
sourcecodegen = 0.6.14
z3c.pt = 3.2.0

Required by:

senaite.core==1.3.3.1

Products.DataGridField = 1.9.6

Required by:

senaite.core==1.3.3.1

Products.TextIndexNG3 = 3.4.14

Required by:

senaite.impress==1.2.3

beautifulsoup4 = 4.8.2

Required by:

senaite.core==1.3.3.1

collective.indexing = 2.1

Required by:

senaite.core==1.3.3.1

collective.progressbar = 0.5

Required by:

plone.jsonapi.core==0.6

dicttoxml = 1.7.4

Required by:

senaite.core==1.3.3.1

jarn.jsi18n = 1.1

Required by:

senaite.core==1.3.3.1

magnitude = 0.9.4

Required by:

senaite.core==1.3.3.1

plone.jsonapi.core = 0.6

Required by:

cffi==1.14.0

pycparser = 2.20

Required by:

senaite.core==1.3.3.1

z3c.jbot = 0.8

Required by:

Products.TextIndexNG3==3.4.14

zopyx.txng3.core = 3.6.2

now error coming
Muzzammil Hussain
@dexterhussain
I managed to resolve all the issues
(senaite) senaite@labssoftware:~/senaitelims$ PYTHONHTTPSVERIFY=0 buildout
Uninstalling instance.
Installing instance.
Generated script '/home/senaite/senaitelims/bin/instance'.
Generated interpreter '/home/senaite/senaitelims/parts/instance/bin/interpreter'.
Updating repozo.
Updating backup.
Updating zopepy.
Updating unifiedinstaller.
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
Products.ATExtensions = 1.1
Pyphen = 0.9.5
cairocffi = 0.9.0
html5lib = 1.0.1
more-itertools = 5.0.0
pdfrw = 0.4
senaite.core.supermodel = 1.2.3
senaite.lims = 1.3.3.2
sourcecodegen = 0.6.14
but still it is not working
(senaite) senaite@labssoftware:~/senaitelims$ bin/instance fg
Traceback (most recent call last):
File "bin/instance", line 284, in <module>
import plone.recipe.zope2instance.ctl
ImportError: No module named recipe.zope2instance.ctl
(senaite) senaite@labssoftware:~/senaitelims$
Muzzammil Hussain
@dexterhussain
I removed and resintalled everything
(senaite) senaite@labssoftware:~/senaitelims$ bin/instance fg
Traceback (most recent call last):
File "bin/instance", line 284, in <module>
import plone.recipe.zope2instance.ctl
ImportError: No module named recipe.zope2instance.ctl
(senaite) senaite@labssoftware:~/senaitelims$
but still
Muzzammil Hussain
@dexterhussain
anyone there to help me?
kiwi3007
@kiwi3007
Is there a way to add samples to a worksheet using the JSON api?
T. Kim Nguyen
@tkimnguyen
post questions in https://community.senaite.org
ckgathi
@ckgathi
@here

anyone to assist with this error:

<h2>Site Error</h2> <p>An error was encountered while publishing this resource. </p> <p><strong>Resource not found</strong></p> Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> senaite GET</p> <hr noshade="noshade"/> <p>Troubleshooting Suggestions</p> <ul> <li>The URL may be incorrect.</li> <li>The parameters passed to this resource may be incorrect.</li> <li>A resource that this resource relies on may be encountering an error.</li> </ul> <p>For more detailed information about the error, please refer to the error log. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p>

Jordi Puiggené
@xispa
Hi @ckgathi this is HTTP 404 error, the resource you are trying to reach does not exist. You basically entered a wrong url.
mateoke
@mateoke
When is senaite.health ready?
NEWAGE-Labs
@NEWAGE-Labs

Hi there! We noticed with our lower detection limits that we cannot display non-zero decimal places. We wanted the limit to read "< 5.0" but it only reads "< 5". We tried to work around it by setting the analysis to report 1 decimal place and setting the LDL to 5.01, but it did not work and showed both decimal places instead.

We're still on Senaite.core 1.3.1. Would upgrading to 1.3.3 solve this issue?

NEWAGE-Labs
@NEWAGE-Labs
Cannot display decimal places if the post-radix value is zero*