GithubHelp home page GithubHelp logo

Comments (6)

BenTopping avatar BenTopping commented on September 26, 2024

Line 5 of the shell script is: send -- "$env(CUPSD_PASSWORD)\n"
I would suspect the instance the script was running on did not have the CUPSD_PASSWORD environmental variable set and it could not find it so error'd. Need to find where CUPSD_PASSWORD is being set and make sure it is set before the script is run.
Should also probably be wrapping the send in a try/or statement.

from print_my_barcode.

KatyTaylor avatar KatyTaylor commented on September 26, 2024

Moving this to the UAT column for someone to test if it's still an issue.
Restart PMB and check the error logs.

from print_my_barcode.

sdjmchattie avatar sdjmchattie commented on September 26, 2024

I logged into pmb-uat and ran docker restart on the print my barcode container and I saw only one error message when it was restarting mkdir: cannot create directory ‘/etc/cups/’: File exists which I think is fine. I would say this looks fixed, but I didn't see it broken.

from print_my_barcode.

BenTopping avatar BenTopping commented on September 26, 2024

SUSPECTED issue: running the script deploy_samples_extraction.yml in the deployment project also deployed / affected PMB since they are in the same stack, potentially it deployed PMB without the CUPS password which caused the error.

from print_my_barcode.

BenTopping avatar BenTopping commented on September 26, 2024

Another possible cause is the docker start-up order for the saex pmb stack. PMB depends on the cupsd instance to be available for the command to execute correctly, so if its not available (PMB container spins up before the cupsd one) it could cause an error like this

from print_my_barcode.

harrietc52 avatar harrietc52 commented on September 26, 2024

There is a script somewhere, which sometimes fails. As PMB is in a docker container, may require extra config?

from print_my_barcode.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.