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

Hello! I tried to use an example from the manual page, but get the following error:
enter image description here

asked in Bug reports by (660 points)

1 Answer

0 votes

This is a recent addition; make sure you are running a current version of Cadabra.

answered by (61.7k points)

Today I have built the latest available version for Ubuntu 18 from the source

I can't reproduce it, can you copy the full text of the error message, not just a cut screenshot?

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/cadabra2_jupyter/kernel.py", line 54, in do_execute
    self._execute_python(pycode)
  File "/usr/local/lib/python3.6/site-packages/cadabra2_jupyter/kernel.py", line 108, in _execute_python
    self._sandbox_context(pycode)
  File "/usr/local/lib/python3.6/site-packages/cadabra2_jupyter/context.py", line 51, in __call__
    exec(code, self._sandbox)
  File "<string>", line 7, in <module>
AttributeError: module 'cdb.core.component' has no attribute 'components_to_subrule'

I don't want to be intrusive, but I reinstalled cadabra again today but this function still doesn't work :(

...