Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
laitheyad
@laitheyad
Hi,can anyone explain to me how to connect my instance to a remote database via IP/port (hosting the DB on a server while running the application locally) instead of local ZEO (DB)
NEWAGE-Labs
@NEWAGE-Labs

Hello everyone, has anybody validated SENAITE in a GMP/GLP environment? If you have I'd like to hear about what worked and what didn't, how much effort it took ans so on. If you guys send me comments in private I can summarize your responses and post it here for everyone's benefit, otherwise just comment inline. Thank you very much.

We are an ISO:17025 2017 (and therefore ISO:9001 as well) accredited laboratory which tends to supercede the general GLPs. We use Senaite for the majority of our Quality Control system. However, we have added our own Plone Add-On in order to supplement certain functionality, and will likely continue to do so to meet the needs of our specific analyses.

With some simple HTML/CSS skills, you can accomplish a lot by simply creating custom Senaite Impress templates, and with some basic Python skills you could add callable methods to do pretty much anything in the Reports.

If you would like to use Senaite as a framework to expand into a more robust and customized LIMS for your specific laboratory, then you will likely need at least 1 senior Python developer who understands software development and working with Plone as a Framework. A larger DevOps team would increase the speed and magnitude of customizations you could make. Alternatively, the companies that support the core Senaite project offer customization consultation if you're looking for a vendor to manage your customized LIMS.

NEWAGE-Labs
@NEWAGE-Labs

Hi,can anyone explain to me how to connect my instance to a remote database via IP/port (hosting the DB on a server while running the application locally) instead of local ZEO (DB)

@laitheyad There does not appear to be an official 'Plone' way to do this that is well documented. There is a thread about it, but the poster did not seem to have success. You could also dig around the zope documentation as there are likely multiple ways to move the zeoserver, filestorage, and blobstorage to different drives and get them to interact.

Generally, it seems you would need to change your buildout.cfg file to use new var= and blobstorage= directories. However, we haven't actually done this before, so I'm not sure if IP:Port combos work by default or if you would need a webserver on the Database side to handle the request. I think your question may get a better answer in the Plone Community Forums though since this is more of a Zope/Plone question and there will be more users to help there.

Hello, I am new with senaite. I am installing senaite on Ubuntu 18.04 on Azure. I have installed Plone 4.13.9 and I have started the instance.

@csniculae What does your Buildout.cfg file look like? Also have you installed all of the Senaite and Plone system dependancies?

David Bain
@pigeonflight
@NEWAGE-Labs I would look at relstorage to achieve what you want.
David Bain
@pigeonflight
Just a note... if you're having issues with the installation instructions at https://www.senaite.com/docs/installation.html use this buildout.cfg https://gist.github.com/pigeonflight/bc0488a8f9a550c986ee4118972dc2e0. The issue is that Werkzeug 2.x breaks things
Paul VanderWeele
@faytrow

@NEWAGE-Labs I would look at relstorage to achieve what you want.

@pigeonflight I believe that @laitheyad is the one looking for that information.

Oscar Delgado
@oscaralexanderd_gitlab

Hi all, I am starting to use SENAITE LIMS and I find it great.

I need someone to tell me how to install SENAITE on a web server, that is, I need a hosting provider that supports the technical features of SENAITE. Thank you very much

Joseph
@cyberbytecode
Hey guys... Can someone help point me in the right direction to do a REST call and search by "BatchID".. At the moment I have to loop through all client samples, then after that consolidate samples into their relevant batches? Surely there's an easier way to do this via the API?
Manan2301
@Manan2301
image.png

image.png

Hello all! I was trying to create a Plone site within an already running Zope Instance. I followed the steps given here: (http://web.archive.org/web/20080611061803/http://plone.org/documentation/how-to/multiple-plone-sites-per-zope-instance-using-separate-data-fs-files-for-each-one). I was able to add group1 mount point given in 2nd step but when I create a Plone site as given in 3rd step, I face this error:
Error Type: APIError
Error Value: No tool named 'auditlog_catalog' found.
Will appreciate your help!

toropok
@toropok
hi! does anyone know what happend with community senaite site?
Have somebody experience using: plone.app.z3cform.widget.AjaxSelectFieldWidget or
plone.formwidget.autocomplete.AutocompleteFieldWidget widgets within your add-ons? we're encountering following problem: python code works fine, but js elements undefined or non-initialized - looks like an issue while importing js libraries (missing select-2 library). where to configure this?
MrEinstin
@MrEinstin
@pigeonflight Thank you for the info regarding the buildout config. I spent the entire weekend trying to install this as a demo.
I am building a demo server (non-public facing) on a fresh Ubuntu 18.04LTS install. With regards to the installation what eggs are the most popularly used that may be useful to a microbiology lab?
Campbell
@rockfruit
How many eggs are there? I suppose start with just senaite.lims in eggs. Unless you have some way that the microbio lab is very different from other service labs. At that point, you'd probably be writing a bit of python and html, not installing eggs :)
Did you get it running?
MrEinstin
@MrEinstin
@rockfruit Thank you for the quick reply! I'm doing a fresh load now on the server. Even though its a demo, I like a clean slate now that I have found out about the configuration issue.
Campbell
@rockfruit
@toropok this isn't a senaite issue, it's a Plone issue. Including third-party JS in Plone is not usually difficult, but I recall that they have very specific ways that you can do it, so that you don't mess with the JS of Plone itself
if you throw out the "var" folder and run buildout again, it's essentially a "fresh load".
MrEinstin
@MrEinstin
I'm not at all familiar with Senaite itself or its usage. I do know that in reading the older pages at Bikalims that there was an Equestrian version at one time. Looking through the current projects I didn't see anything like that so I was curious what the options were today.
Campbell
@rockfruit
I'm not familiar with that product. To me it makes a lot of sense to exhaust the functionalities in senaite.lims and and become accustomed to it's behaviours and APIs before confusing the issue further. I'm not familiar with this Equestrian story you mention, though I can imagine that it was built for a customer/customers who may or may not have done things in an "industry" standard way, at all.. or maybe it wasn't completed, or didn't keep pace with the senaite.lims core.... If it was removed, then it's having been removed was almost certainly a public good :)
And if you do need some small functionality or changes, it may very well be more sensible to bolt it on yourself than to cargo in some stuff that another lab did a year or two ago !
Ronald Munjoma
@ronna
@ramonski and @Espurna heads up the SSL certificate for https://community.senaite.org/ expired on the 18th.
Ronald Munjoma
@ronna
Hi @MrEinstin

I'm not at all familiar with Senaite itself or its usage. I do know that in reading the older pages at Bikalims that there was an Equestrian version at one time. Looking through the current projects I didn't see anything like that so I was curious what the options were today.

Please have a look at https://github.com/bikalims/bika.equine I am not sure if that what you are referring to.

Campbell
@rockfruit
OMW is 2.0 released!?!
Jordi Puiggené
@xispa
Only senaite.lims metapackage remaining :)
Campbell
@rockfruit
I'm bursting a smile out of my ears
Jordi Puiggené
@xispa
Also, 2.x becomes now the default branch!

I'm bursting a smile out of my ears

Smiling myself too!

Has been a long time
Campbell
@rockfruit
I've got some trivial stuff in branches here, taken from the senaite github tracker, just to get myself into the code. I will submit tiny PRs against 2.x. What's the procedure for changes that will modify strings in catalog, and cause translations to be dropped? Do we just "do them whenever" and let the languages catch up?
Yeah it's been a minute.
Jordi Puiggené
@xispa
Now that 2.x becomes the "de facto" default branch, we will probably update transifex's translations with the ones that come with 2.0.0 and drop the 1.x ones. But pick this with a grain of salt, we haven't discussed this thoroughly yet

Yeah it's been a minute.

Has been more than a minute.... hope the pandemic didn't got you! - although have to say your eyes look quite tired :)

Campbell
@rockfruit
In meanwhile for any trivial little PR I make, I will just try to avoid changing strings unless it's for a great good.
Maybe I should take selfie in the morning :)
Jordi Puiggené
@xispa
Hehehe, willing to see and maybe review your PRs!
Re eyes, well keep them hidrated and yes, better a selfie in the morning
Campbell
@rockfruit
:P maybe I'll do a 3AM "morning" selfie, in "malicious compliance".
Jordi Puiggené
@xispa
will be here to double-check :P
toropok
@toropok

@toropok this isn't a senaite issue, it's a Plone issue. Including third-party JS in Plone is not usually difficult, but I recall that they have very specific ways that you can do it, so that you don't mess with the JS of Plone itself

@rockfruit we found that original plone JS-sripts disabled in the Senaite file main_template.pt:
<!-- Disable all Plone JS/CSS -->
<!-- <div tal:replace="structure provider:plone.scripts" /> -->
<!-- <metal:javascriptslot define-slot="javascript_head_slot" /> -->
<!-- <link tal:replace="structure provider:plone.htmlhead.links" /> -->
<!-- <metal:styleslot define-slot="style_slot" /> -->

Jordi Puiggené
@xispa
@rockfruit @toropok , there were tons of complains and heated discussions about Plone 5's JS resource registry approach (just do a search on Plone's community and you'll see). After struggling with JS registry machinery while porting SENAITE from Pone 4.3 to Plone 5, we decided to simply not use that and go ahead with webpack instead. We basically followed same strategy as hvelarde's (see https://hvelarde.blogspot.com/2018/09/look-ma-no-resource-registries.html). Have to say that we are pretty happy with the decision we took on this regard. The first advantage is that we are not stacked with Plone's js versions (i.e ES2015 at that time was something important to not dismiss on SENAITE's roadmap). Second is that It gives us all the flexibility we need without having to stumble upon plone's JS libraries and versions over and over.
toropok
@toropok
@xispa thanks a lot for this clarification, it really makes sense now! I would suggest adding that somehow to Senaite manual that will save a lot of time for newbies like us. If we want to change color theme for Senaite instance would you recommend making changes in senaite.core or someway override it in our add-on?
Jordi Puiggené
@xispa
I always recommend to never change senaite.core (and other senaite.*) but create your own add-on and apply the changes in there. You won't be able to update/upgrade safely anymore otherwise. core and others have plenty of hooks, adapters and others that allow you to change/modify almost everything that comes with a vanilla installation of senaite, The learning curve is steep though . You may need to feel comfortable with plone and zope frameworks first. Also, https://community.senaite.org/t/using-ajaxselectfieldwidget-in-senaite/813
Wits
@WangWits
@xispa How do we learn to develop our own add-ons? How do we learn about plone and zope frameworks?
yomarbuzz
@yomarbuzz
Hi guys, where can I find the latest working install instructions? the one on the webpage doesn't work.
Also, I'm looking for an open source middleware app that will pass the results from lab analyzers to the HIS through the API; Is this a possible use case for Senaite or would you recommend something else?
MohamedEisa01
@MohamedEisa01

Hello guys, I'm trying to install senaite.lims but it always gets this error, can you please help

Got senaite.core 2.0.0.
Version and requirements information containing plone:
[versions] constraint on plone: 4.3.19
Base installation request: 'Plone', 'Pillow', 'senaite.lims', 'simplejson', 'plone.recipe.zope2instance'
Requirement of plone.recipe.zope2instance==4.4.1: ZODB3>=3.9
Requirement of plone.recipe.zope2instance==4.4.1: Zope2>=2.12.1
Requirement of plone.recipe.zope2instance==4.4.1: zc.recipe.egg
Requirement of plone.recipe.zope2instance==4.4.1: mailinglogger
Requirement of plone.recipe.zope2instance==4.4.1: setuptools
Requirement of plone.recipe.zope2instance==4.4.1: zc.buildout
Requirement of senaite.lims: Plone==5.2.4
Requirement of Plone==4.3.19: wicked
Requirement of Plone==4.3.19: plone.app.theming
Requirement of Plone==4.3.19: plone.app.openid
Requirement of Plone==4.3.19: plone.app.iterate
Requirement of Plone==4.3.19: plone.app.dexterity
Requirement of Plone==4.3.19: plone.app.caching
Requirement of Plone==4.3.19: Products.CMFPlone
Requirement of Plone==4.3.19: Products.CMFPlacefulWorkflow
Requirement of Plone==4.3.19: setuptools
Requirement of senaite.core==2.0.0: plone.app.jquerytools
Requirement of senaite.core==2.0.0: plone.subrequest
Requirement of senaite.core==2.0.0: plone.resource
Requirement of senaite.core==2.0.0: plone.jsonapi.core
Requirement of senaite.core==2.0.0: plone.app.z3cform
Requirement of senaite.core==2.0.0: plone.app.relationfield
Requirement of senaite.core==2.0.0: plone.app.referenceablebehavior
Requirement of senaite.core==2.0.0: plone.app.iterate
Requirement of senaite.core==2.0.0: plone.app.dexterity
Requirement of senaite.core==2.0.0: plone.api
While:
Installing instance.
Error: The requirement ('Plone==5.2.4') is not allowed by your [versions] constraint (4.3.19)

==========================

buildout.cfg file

eggs =
Plone
Pillow
senaite.lims
simplejson

[versions]
zc.buildout =
setuptools =
Pillow = 5.1.0
cssselect2 = 0.2.2
soupsieve = 1.9.5

buildout.sanitycheck = 1.0.2
collective.recipe.backup = 4.0