void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

sage-logger: not found

Open Eloitor opened this issue 3 years ago • 1 comments

Is this a new report?

Yes

System Info

Void 5.18.19_1 x86_64 GenuineIntel uptodate rFFFFFF

Package(s) Affected

sagemath-9.5_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

I installed nbgrader for sagemath using sage -pip install --user nbgrader

To autograde a jupyter notebook using it

$ sage -p ~/.sage/local/bin/nbgrader autograde "Entrega0"

The notebook is automatically graded.

Actual behaviour

When running

$ sage -p ~/.sage/local/bin/nbgrader autograde "Entrega0"

It broke with the following error message:

/bin/sage: línia 1047: sage-logger: no s'ha trobat l'ordre

Running sage -p ~/.sage/local/bin/nbgrader without any other argument results in the same issue.

Steps to reproduce

  1. Install sagemath
  2. Run sage -pip install --user nbgrader
  3. Run sage -p ~/.sage/local/bin/nbgrader

Eloitor avatar Sep 30 '22 16:09 Eloitor

I build the package from source using xbps-src, and sage-logger is in build/bin/. I can add this binary to the template, but I'm not sure where should it go.

Eloitor avatar Sep 30 '22 20:09 Eloitor

Solved, the correct command to execute it is sage -python ~/.sage/local/bin/nbgrader.

Eloitor avatar Oct 03 '22 12:10 Eloitor