Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Ronald
@ronna
error during connect: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/senaite/start: EOF
Error: failed to start containers: senaite
I have deleted the image and pulled the image again and still getting the same error
tux@lenovo:~$ docker pull ramonski/senaite
Using default tag: latest
latest: Pulling from ramonski/senaite
7568c21980bd: Pull complete
4a9f2207c812: Pull complete
6fe350d2b140: Pull complete
d95a2fdc8b3d: Pull complete
760eb225f9e8: Pull complete
4acc342562b4: Pull complete
a7903e427e3f: Pull complete
44360edd3f02: Pull complete
d7721ae168a3: Pull complete
875de669dc5f: Pull complete
4ab114946f93: Pull complete
4945ecb76cc6: Pull complete
a43c4968b05d: Pull complete
a1d23c096a37: Pull complete
670fca71599c: Pull complete
1435bdb9a825: Pull complete
978f70e8a7b1: Pull complete
Digest: sha256:8d4e3ef79828adb0ea0ea6acf35ce64e85d43476e0b2f195580c12485a542147
Status: Downloaded newer image for ramonski/senaite:latest
docker.io/ramonski/senaite:latest
Ramon Bartl
@ramonski
Hi @ronna, it seems to work in PWD (https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/senaite/senaite.docker/master/stack.yml), so I guess it is related with your environment and your local docker installation.
I’m using this version:
$ docker --version
Docker version 19.03.13, build 4484c46d9d
Yes, I just built one with PWD and it works w/o problems: http://ip172-18-0-13-buhrclhqckh000e25spg-8080.direct.labs.play-with-docker.com/
Ronald
@ronna
Hi @ramonski thanks for the response, when I pull iamges from docker hub, its not working using the file from https://raw.githubusercontent.com/senaite/senaite.docker/master/stack.yml it works fine
Ronald
@ronna
Hi @ramonski I think when I pull from rocker hub the visualiser image is not been pulled
Valerio
@valeriozhang__twitter
hi everyone
can anyone show me how to build my own plugins/addons for senaite?
is it the same as building a plone addon? thanks1
Pau Soliva
@Espurna
Yes, it is as creating a Plone addon. You can have a look at one small SENAITE addon for guidance
elirabalison
@elirabalison
Hi everyone, how can I add a field or edit field in senaite.lims?
elirabalison
@elirabalison

I tried also to import senaite config but I got this error:Traceback (innermost last):

Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module bika.lims.exportimport.dataimport, line 96, in __call__
Module bika.lims.exportimport.load_setup_data, line 123, in __call__
Module bika.lims.exportimport.setupdata, line 111, in __call__
Module bika.lims.exportimport.setupdata, line 527, in Import
Module Products.Archetypes.BaseObject, line 428, in update
Module Products.Archetypes.Schema, line 528, in updateAll
Module Products.Archetypes.ClassGen, line 76, in generatedMutator
Module wicked.fieldevent, line 34, in store
Module zope.event, line 31, in notify
Module zope.component.event, line 24, in dispatch
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module wicked.fieldevent, line 24, in notifyFieldEvent
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 589, in subscribers
Module wicked.fieldevent.meta, line 83, in field_value_set
Module Products.Archetypes.Field, line 1140, in set
Module Products.Archetypes.Field, line 1422, in _process_input

TextFieldException: Value is not File or String (<type 'float'> - <type 'float'>) Note that I use senaite 1.3.4 and the config file is from https://docs.google.com/spreadsheets/d/1m56tIL24f-cBqMoWouzgtoRAyzNBPTUgbW9GHYMFdfY/edit#gid=936537807

Jordi Puiggené
@xispa
@elirabalison the introduction of setup data by means of that sheet is obsolete. At a first glance, you introduced non-numeric values in "Volume" column in sheet "Lab Products". Might be others.
This said, better run a fresh instance, setup all the baseline data and export that with the export handler from Generic Setup. senaite/senaite.core#1463 . You'll be able then to import that data later to other instances.
BrandonYZY
@BrandonYZY
Has anyone ran senaite.docker with zeo cluster inside a docker swarm?
Valerio
@valeriozhang__twitter
doing an instrument import with a 2-d csv but im getting the following errors
No analyses 'unassigned, assigned, to_be_verified' states found for QC20-009
No Reference Sample found for QC20-009
any ideas on what is missing?
here's my test csv
ckgathi
@ckgathi
@here
anyone who can help me with this
Requirement of senaite.lims: setuptools
Requirement of senaite.lims: senaite.jsonapi>=1.2.2
Requirement of senaite.lims: senaite.impress>=1.2.3
Requirement of senaite.lims: senaite.core.spotlight>=1.0.2
Requirement of senaite.lims: senaite.core.listing>=1.4.0
Requirement of senaite.lims: senaite.core>=1.3.3.1
Requirement of bhp.lims: senaite.lims==2.0.0rc1
Requirement of senaite.storage: senaite.lims>=2.0.0rc1
While:
Installing instance.
Error: There is a version conflict.
We already have: senaite.lims 1.3.3.2
but bhp.lims 1.0.0 requires 'senaite.lims==2.0.0rc1'.
Jordi Puiggené
@xispa
@ckgathi we published the SENAITE RC v2.0. Your add-on is probably not compatible with 2.x.
You have to add this requirement in your add-on's setup.pyand re-run bin/buildout
    install_requires=[
        "senaite.lims<2.0",
    ],
ckgathi
@ckgathi
thank you @xispa
ckgathi
@ckgathi
The error now shows for a adiff addon
Installing instance.
Error: There is a version conflict.
We already have: senaite.lims 1.3.3.2
but senaite.storage 2.0.0 requires 'senaite.lims>=2.0.0rc1'.
the storage module
Jordi Puiggené
@xispa
Do the same for senaite.storage as you've done for senaite.lims
RaabJoh
@RaabJoh
Hello everyone,
We added some wildcards in analysisrequest.py based on the BikaSelectionWidget with the wildcard "MyField" having vocabulary in the form of ("ShortCut", "FullName"). I tried to get it searchable by adding it to metadata column as explained here :point_up: 26. Juli 2019 17:47 and here :point_up: 23. September 2019 16:35
Unfortunately it did not work with getMyField whereas only MyField did work, but only for the ShortCut. Is it possible to get the FullName from the BikaSelectionWidget? Or did I make mistakes with getMyField and if done correctly it would show the FullName?
Best Regards
Jordi Puiggené
@xispa
Morning @RaabJoh , not sure I understand correctly what you mean. Vocabularies used by these widgets are instances of DisplayList, so yours should look like similar to DisplayList((('shortcut', 'Shortcut'), ('fullname', 'FullName')))) though. Can you paste how you've delcared this field?
RaabJoh
@RaabJoh
StringField(
     'MyField',
     #some stuff happening
     vocabulary=[
          ('ShortCut - invisible during addition of a new AR', 'full Name Which is visible during addition of a new AR'),
          #and some more things to choose from
    widget=BikaSelectionWidget,
         # details of the widget
I did not write that part of code myself due to missing knowledge and the person responsible is no longer part of the team. I just inherited this project without any knowledge of coding and I'm trying to get behind it.
I hope it is understandable, which problem I'm facing ^^
Sunny-work-stack
@Sunny-work-stack
Hi there, i have question regarding senaite, how to install senaite in go daddy server with docker
Sunny-work-stack
@Sunny-work-stack
like i have to install senaite in sub-domains
Sunny-work-stack
@Sunny-work-stack
following this page will work for me
Latest and stable version of senaite is 1.3.3 ?
RaabJoh
@RaabJoh
@Sunny-work-stack as far as I know, the latest stable senaite.core version is 1.3.4 (August 11th)
And pre-release is right now at senaite.core 2.0.0.rc2 (October 13th)
Sunny-work-stack
@Sunny-work-stack
as per as docs that i followed they give link to 1.3.3 https://medevel.com/senaite/
Sunny-work-stack
@Sunny-work-stack

That's why i am asking, well one more why we use the seniate cms.

problem:- Each time when docker start they told me to install seniate why so ?

RaabJoh
@RaabJoh
on github it is 1.3.4
I usually follow this documentation which is really helpful.
Sunny-work-stack
@Sunny-work-stack
@RaabJoh Thanks for way
Sunny-work-stack
@Sunny-work-stack
Hi there is there any one know, how to make build of docker project ?
Jordi Puiggené
@xispa

@RaabJoh better you add a vocabulary like this in the top of your class:

MYFIELD_VOCAB = DisplayList((
    ('shortcut', 'ShortCut - invisible during addition of a new AR'), 
    ('fullname', 'full Name Which is visible during addition of a new AR')
))

And declare your field as follows:

StringField(
     'MyField',
     vocabulary=MYFIELD_VOCAB
    ...
@Sunny-work-stack latest public and stable release of SENAITE LIMS is 1.3.4: https://pypi.org/project/senaite.lims/
Sunny-work-stack
@Sunny-work-stack
@xispa yeah i got it, now i am thinking of making build of new release , but no idea how to achieve this thing
Jordi Puiggené
@xispa
However, note there is the Release Candidate RC2 already. If you plan to install a new instance, I would suggest to use RC
RC works with Plone 5.2 and latest Zope. This is the version where new functionalities and improvements will be added. We will keep maintaining 1.x series with fixes, but no additional functionalities will be added. So basically, think about 1.3.4 as an LTS version
Sunny-work-stack
@Sunny-work-stack
For running docker image in centos is there any need of docker in centos ?
Sunny-work-stack
@Sunny-work-stack
?