[go: up one dir, main page]

Menu

#94 ToFile() failure

1.4
closed
None
fixed
severe
1.3.6+ svn r3187
defect
2015-07-12
2015-07-11
A. Vontobel
No

steps to reproduce:
In> ToFile("out") Echo("Result:")

expected result: file containing "Result:"
> cat out
Result:
>

actual result:

Java-Yacas: error message, no file written
In> ToFile("out") Echo("Result:")
net.sf.yacas.YacasException: In function "ToFile" : generic error
Out>

C-Yacas: empty file written
In> ToFile("out") Echo("Result:")
Out> Echo("Result:");
In> quit
Quitting...
> ls
out
> cat out
>

note
ToFile() did work in C-Yacas 1.3.6 and (at least) Java-Yacas 1.3.5

Discussion

  • Grzegorz Mazur

    Grzegorz Mazur - 2015-07-11

    JavaYacas part of the issue fixed in r3191

    Unfortunately, I'm unable to reproduce the CYacas issue (current trunk/linux). Could you please re-check with current trunk?

     
  • A. Vontobel

    A. Vontobel - 2015-07-11

    Thanks for the ToFile() fix in JavaYacas.

    In CYacas with current trunk I still have the issue described (empty file). I did a clean svn co, ./makemake, ./configure --prefix=...., make, make install.

    Possibly the reason is that make install does not copy the file packages.ys. When I copy the file from the source scripts directory to PREFIX/share/yacas/scripts the issue disappears (the file out contains "Result:". Can you reproduce this?
    As a related note, ./yacas --scripts mypath/scripts fails: terminate called after throwing an instance of 'std::bad_alloc'

     
  • Grzegorz Mazur

    Grzegorz Mazur - 2015-07-12
    • status: accepted --> closed
    • Resolution: --> fixed
     
  • Grzegorz Mazur

    Grzegorz Mazur - 2015-07-12

    fixed in r3193

     

Log in to post a comment.