Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote

After updating to the latest v2.3.2, some trouble arises. Here are some error messages

picture

in Installation trouble by (2.2k points)

1 Answer

+1 vote
 
Best answer

What happens with cadabra2 (the command-line client)? On which system is this, and I assume you installed from source?

by (82.6k points)
selected by

Can you see the picture?

Yes, I installed from source, the system is Ubuntu 18.04 in WLS. The error message is as follows

  ~$ cadabra2-gtk 
    terminate called after throwing an instance of 'std: truntime_error"
    too short
    At:
    cadabra2_defaults.py(12): \langlemodule> <string>(2) ;< module>
    terminate called after throwing an instance of 'std: : logic_error what (): Failed to read port fron server. 
    Aborted (core dumped)

Tell me what 'cadabra2' spits out; I need to know if this is a problem with the python module or with the cadabra server.

I cannot open 'cadabra2' standalone. When I input cadabra2 in the command line, and the error messages as following:

Traceback (most recent call last):
  File "/usr/local/bin/cadabra2", line 29, in <module>
    from cadabra2 import *
ImportError: /usr/local/lib/python3.6/site-packages/cadabra2.so: file too short

If you cannot start cadabra2 at all ('command not found') then you have other problems which you need to sort out first.

The command cadabra2 can be found, but It doesn't work. The error messages have been updated above.

That suggests that /usr/local/lib/python3.6/site-packages/cadabra2.so is corrupt; it's about 30M on my machine. Did something go wrong during sudo make install?

I have deleted the file 'cadabra2', and reinstalled from the source. After this, the command cadabra2' work fine in the command line, but when I input something like 'ex:=1+1;` in standalone, the following errors arise:

Generic typesetting error; LaTeX failed. Please report a bug.


! Emergency stop.
<read *> 

l.12 \usepackage
                {etoolbox}^^M
No pages of output.
Transcript written on fileadLFBc.log.
. See fileadLFBc.tex to debug this.

TEXINPUTS = /usr/local/share/cadabra2/latex/:
TMPDIR = /tmp/

I don't know what's wrong.

Your LaTeX installation does not have the etoolbox package installed.

The package etoolbox has been installed, but Cadabra couldn't seem to find it. It's so strange, after all, in the previous version, everything is perfect,

If you do

cd /tmp
pdflatex fileadLFBc.tex

from the terminal, does that complain about the same etoolbox?

(that filename was taken from the error message above).

The error massage is

! LaTeX Error: File `ytableau.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

So you need the ytableau package (that's a new requirement for 2.3.2).

Ok, problem solved, thanks.

...