Giter Club home page Giter Club logo

Comments (3)

stefjoosten avatar stefjoosten commented on July 26, 2024

Analysis

On my laptop, I can generate Hawaii.adl from within RAP3. As a result, a web application called "Hawaii" appears in the web server documents directory (D:\htdocs\Hawaii\index.php). Part of that application is a directory called "lib", in which the file autoload.php lives. The file bootstrap.php, from which this error originates, claims that autoload.php is the autoloader of Composer.
On Wolfram, which is being deployed on Azure by means of docker, that directory is missing.

I noticed that the lib directory is not in the static directory of the Ampersand compiler. That explains why docker did not make it.

Diagnosis

It appears that the environment variable "COMPOSER_HOME=/usr/local/bin/" should be set.
This solves the problem.

This environment variable has been added to the Dockerfile of Ampersand, so that this bug should not reappear.

from rap.

stefjoosten avatar stefjoosten commented on July 26, 2024

I closed this issue, because it is solved (with thanks to John Wentink)

from rap.

stefjoosten avatar stefjoosten commented on July 26, 2024

Somehow, adding the environment variable to the Dockerfile of Ampersand, did not work. This bug has reappeared. I checked the rap3-container and the environment variable is NOT set. Somehow the docker command ENV COMPOSER_HOME /usr/local/bin/ is located in the wrong place or is misformulated.

@wentinkj, ik heb jou even aangehaakt, maar ik bel je er nog over op. Groetjes, Stef

from rap.

Related Issues (20)

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.