Hi,
The *EOFError* below is caused by an incorrect usage of
*integral.py* from the command line. Some input lines are
missing. The script expects one input line with a printer number
and one line with the expression. For example (the line feeds matter!):
*
echo "2
x³" | python3 /usr/local/bin/integral.py*
should produce:
*
<→WRAPPER-STARTED→>.
<→MODULES-IMPORTED→>.
x⁴
──
4
<→DONE→>. (/usr/local/bin/integral.py)*
The *echo* command inserts a *\n* after the *2* so that
python sees 2 input lines. When the script is started from
GNU APL then*⌹.integral* derives the two input lines from the
arguments of *⌹.integral* and filters the status messages (like
*<→WRAPPER-STARTED→>. *to produce sensible *)MORE*
information about how far the script came.
Best Regards,
Jürgen*
*
On 1/29/26 02:41, Christian Robert wrote:
Exact same error message here but with "Python 3.14.2" on Fedora 43.
Xtian.
On 2026-01-28 14:00, Russtopia wrote:
Hello,
I just verified that
sudo make install
does indeed put integral.py in my /usr/local/bin, with execute perms.
I must still have something wrong with my Python setup, though:
$ echo "2 sqrt(x³)" | python3 /usr/local/bin/integral.py
<→WRAPPER-STARTED→>.
<→MODULES-IMPORTED→>.
Traceback (most recent call last):
File "/usr/local/bin/integral.py", line 133, in <module>
expr = input_filter(input())
EOFError: EOF when reading a line
$ python3 --version
Python 3.9.2
-Russ