Bug#656956: [geogebra] Many commands yield to undefined results

2012-02-15 Thread Giovanni Mascellani
tag 656956 + confirmed
thanks

Hi.

On 23/01/2012 09:18, Lorenz Wenner wrote:
 $ geogebra 
 GeoGebra 3.2.46.0, Debian package 3.2.46.0+dfsg1-1, December 17, 2010, Java 
 1.6.0_24
 codebase: file:/usr/share/geogebra/
 Fonts used: sans: SansSerif, serif: Serif
 Fonts used: sans: SansSerif.plain, serif: Serif.plain
 Exception: could not load bundle: /geogebra/properties/javaui_de.properties
 java.lang.NullPointerException
 at 
 org.mathpiper.builtin.BuiltinFunction.addOptionalFunctions(BuiltinFunction.java:234)
 
 at 
 org.mathpiper.interpreters.SynchronousInterpreter.init(SynchronousInterpreter.java:83)
 
 at 
 org.mathpiper.interpreters.SynchronousInterpreter.getInstance(SynchronousInterpreter.java:219)
   
 at 
 org.mathpiper.interpreters.Interpreters.getSynchronousInterpreter(Interpreters.java:83)
  
 at geogebra.cas.GeoGebraCAS.getMathPiper(GeoGebraCAS.java:135)
  
 at geogebra.cas.GeoGebraCAS.initCAS(GeoGebraCAS.java:38)  
  
 at geogebra.cas.GeoGebraCAS.init(GeoGebraCAS.java:33)   
  
 at geogebra.kernel.Kernel.getGeoGebraCAS(Kernel.java:353) 
  
 at geogebra.gui.app.GeoGebraFrame$1.run(GeoGebraFrame.java:310)   
  
 java.lang.Exception: Error during system script initialization.
 at 
 org.mathpiper.interpreters.SynchronousInterpreter.init(SynchronousInterpreter.java:175)
 at 
 org.mathpiper.interpreters.SynchronousInterpreter.getInstance(SynchronousInterpreter.java:219)
 at 
 org.mathpiper.interpreters.Interpreters.getSynchronousInterpreter(Interpreters.java:83)
 at geogebra.cas.GeoGebraCAS.getMathPiper(GeoGebraCAS.java:135)
 at geogebra.cas.GeoGebraCAS.initCAS(GeoGebraCAS.java:38)
 at geogebra.cas.GeoGebraCAS.init(GeoGebraCAS.java:33)
 at geogebra.kernel.Kernel.getGeoGebraCAS(Kernel.java:353)
 at geogebra.gui.app.GeoGebraFrame$1.run(GeoGebraFrame.java:310)
 java.lang.Exception: Error during system script initialization.
 MathPiper creation failed with scriptbase: 
 jar:file:/usr/share/geogebra/geogebra_cas.jar!/
 MathPiper creation failed again with null scriptbase
 
 typing x^2 followed by f'(x) yields to the following lines on the console

I can reproduce the bug, thanks for reporting. It is a problem that I
already found and that I thought to have fixed, but probably I were
wrong. I think the error is due to mathpiper, but I'll investigate better.

Thanks, Giovanni.
-- 
Giovanni Mascellani mascell...@poisson.phc.unipi.it
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org



signature.asc
Description: OpenPGP digital signature


Bug#656956: [geogebra] Many commands yield to undefined results

2012-01-23 Thread Lorenz Wenner
Package: geogebra
Version: 3.2.46.0+dfsg1-1
Severity: important

--- Please enter the report below this line. ---

Hello,

recently i recognized, that geogebra does not seem to be able to calculate e.g. 
the derivative of f(x)=x^2. I launched the program form the console and got 
this:

$ geogebra 
GeoGebra 3.2.46.0, Debian package 3.2.46.0+dfsg1-1, December 17, 2010, Java 
1.6.0_24
codebase: file:/usr/share/geogebra/
Fonts used: sans: SansSerif, serif: Serif
Fonts used: sans: SansSerif.plain, serif: Serif.plain
Exception: could not load bundle: /geogebra/properties/javaui_de.properties
java.lang.NullPointerException
at 
org.mathpiper.builtin.BuiltinFunction.addOptionalFunctions(BuiltinFunction.java:234)

at 
org.mathpiper.interpreters.SynchronousInterpreter.init(SynchronousInterpreter.java:83)

at 
org.mathpiper.interpreters.SynchronousInterpreter.getInstance(SynchronousInterpreter.java:219)
  
at 
org.mathpiper.interpreters.Interpreters.getSynchronousInterpreter(Interpreters.java:83)
 
at geogebra.cas.GeoGebraCAS.getMathPiper(GeoGebraCAS.java:135)  
   
at geogebra.cas.GeoGebraCAS.initCAS(GeoGebraCAS.java:38)
   
at geogebra.cas.GeoGebraCAS.init(GeoGebraCAS.java:33) 
   
at geogebra.kernel.Kernel.getGeoGebraCAS(Kernel.java:353)   
   
at geogebra.gui.app.GeoGebraFrame$1.run(GeoGebraFrame.java:310) 
   
java.lang.Exception: Error during system script initialization.
at 
org.mathpiper.interpreters.SynchronousInterpreter.init(SynchronousInterpreter.java:175)
at 
org.mathpiper.interpreters.SynchronousInterpreter.getInstance(SynchronousInterpreter.java:219)
at 
org.mathpiper.interpreters.Interpreters.getSynchronousInterpreter(Interpreters.java:83)
at geogebra.cas.GeoGebraCAS.getMathPiper(GeoGebraCAS.java:135)
at geogebra.cas.GeoGebraCAS.initCAS(GeoGebraCAS.java:38)
at geogebra.cas.GeoGebraCAS.init(GeoGebraCAS.java:33)
at geogebra.kernel.Kernel.getGeoGebraCAS(Kernel.java:353)
at geogebra.gui.app.GeoGebraFrame$1.run(GeoGebraFrame.java:310)
java.lang.Exception: Error during system script initialization.
MathPiper creation failed with scriptbase: 
jar:file:/usr/share/geogebra/geogebra_cas.jar!/
MathPiper creation failed again with null scriptbase

typing x^2 followed by f'(x) yields to the following lines on the console

*** BEGIN Message from [geogebra.cas.GeoGebraCAS.evaluateMathPiper] at 8:30:58 
free memory: 22368KB
String for MathPiper: D(x) (x)^(2)
Exception from MathPiper: Error encountered during initialization or parsing: 
Error parsing expression, near token (.
*** END Message from [geogebra.cas.GeoGebraCAS.evaluateMathPiper] at 8:30:58 
free memory: 22368KB

but on the oter hand integrating x^2 does work. does this look like a geogebra 
bug or more like a mathpiper bug?

Thank you for your effort

Lorenz

--- System information. ---
Architecture: i386
Kernel:   Linux 3.1.0-1-486

Debian Release: wheezy/sid
  500 testing www.debian-multimedia.org 
  500 testing security.debian.org 
  500 testing ftp.de.debian.org 
  500 squeeze www.lamaresh.net 

--- Package information. ---
Depends   (Version) | Installed
===-+-===
default-jre | 1:1.6-46
 OR java5-runtime   | 
mathpiper   | 0.81f+svn4469+dfsg2-1
libcommons-math-java| 2.2-2
libjama-java| 1.0.2-4
libfreehep-io-java  | 2.0.2-4
libfreehep-graphicsio-tests-java| 2.1.1+dfsg1-3
libfreehep-export-java  | 2.1.1-2
libfreehep-swing-java   | 2.0.3-3
libfreehep-xml-java | 2.1.2+dfsg1-3
libfreehep-util-java| 2.0.2-5
libfreehep-graphics2d-java  | 2.1.1-3
libfreehep-graphicsio-java  | 2.1.1-2
libfreehep-graphicsio-svg-java  | 2.1.1-3
libfreehep-graphicsio-pdf-java  | 2.1.1+dfsg-1
libfreehep-graphicsio-emf-java  | 2.1.1-emfplus+dfsg1-1


Recommends(Version) | Installed
===-+-===
icedtea6-plugin | 6b21.1.4-1
 OR sun-java6-plugin  

Bug#656956: [geogebra] Many commands yield to undefined results

2012-01-23 Thread Niels Thykier
On 2012-01-23 09:18, Lorenz Wenner wrote:
 Package: geogebra
 Version: 3.2.46.0+dfsg1-1
 Severity: important
 
 --- Please enter the report below this line. ---
 
 Hello,
 
 recently i recognized, that geogebra does not seem to be able to calculate 
 e.g. the derivative of f(x)=x^2. I launched the program form the console and 
 got this:
 
 [...]
 
 but on the oter hand integrating x^2 does work. does this look like a 
 geogebra bug or more like a mathpiper bug?
 
 Thank you for your effort
 
   Lorenz
 
 [...]
 
 
 __
 This is the maintainer address of Debian's Java team
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers.
  Please use
 debian-j...@lists.debian.org for discussions and questions.



Hi,

There is a chance this is due to a regression in javahelper/0.38 and
0.39 (#656872).  The bug caused FTBFS source in the uploaded version,
but I suspect geogebra was built with a git checkout.  In this case, it
is very likely that jh_build may have silently discarded the contents of
the manifest (notably the classpath).

If so, a rebuild against javahelper/0.40 should solve this issue.

~Niels




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org