User talk:Rmyers: Difference between revisions
No edit summary |
(removed my calc error log. This bug has been fixed.) |
||
Line 37: | Line 37: | ||
LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory] |
LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory] |
||
LoadPlugin: failed to initialize shared library /usr/java/jre1.5.0_13/plugin/i386/ns7/libjavaplugin_oji.so [/usr/java/jre1.5.0_13/plugin/i386/ns7/libjavaplugin_oji.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE] |
LoadPlugin: failed to initialize shared library /usr/java/jre1.5.0_13/plugin/i386/ns7/libjavaplugin_oji.so [/usr/java/jre1.5.0_13/plugin/i386/ns7/libjavaplugin_oji.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE] |
||
== calc error == |
|||
--------------------------------------------------------------------------- |
|||
<type 'exceptions.TypeError'> Traceback (most recent call last) |
|||
/usr/share/activities/Calculate.activity/calculate.py in keypress_cb(self=<Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>, widget=<Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>, event=<GdkEvent at 0x8912e88>) |
|||
702 self.button_pressed(self.TYPE_TEXT, f) |
|||
703 else: |
|||
--> 704 return f(self) |
|||
f = <function <lambda> at 0x881bed4> |
|||
self = <Calculate object at 0x848cdec (SugarActivity at 0x8a18800)> |
|||
705 |
|||
706 return True |
|||
/usr/share/activities/Calculate.activity/calculate.py in <lambda>(o=<Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>) |
|||
110 |
|||
111 KEYMAP = { |
|||
--> 112 'Return': lambda o: o.process(), |
|||
o = <Calculate object at 0x848cdec (SugarActivity at 0x8a18800)> |
|||
o.process = <bound method Calculate.process of <Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>> |
|||
113 'period': '.', |
|||
114 'equal': '=', |
|||
/usr/share/activities/Calculate.activity/calculate.py in process(self=<Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>) |
|||
327 label = unicode(self.label_entry.get_text()) |
|||
328 _logger.debug('process(): parsing %r, label: %r', s, label) |
|||
--> 329 res = self.parser.parse(s) |
|||
res = undefined |
|||
self.parser.parse = <bound method EqnParser.parse of <eqnparser.EqnParser instance at 0x8548cac>> |
|||
s = u'pi*4^2' |
|||
330 |
|||
331 ansvar = self.parser.get_var('Ans') |
|||
/usr/share/activities/Calculate.activity/eqnparser.py in parse(self=<eqnparser.EqnParser instance at 0x8548cac>, eqn=u'pi*4^2', reset=True) |
|||
615 oldps = self.ps |
|||
616 self.ps = ParserState(eqn) |
|||
--> 617 ret = self._parse(self.ps) |
|||
ret = undefined |
|||
self._parse = <bound method EqnParser._parse of <eqnparser.EqnParser instance at 0x8548cac>> |
|||
self.ps = <eqnparser.ParserState instance at 0x884976c> |
|||
618 if oldps is not None: |
|||
619 oldps.copy_error(self.ps) |
|||
/usr/share/activities/Calculate.activity/eqnparser.py in _parse(self=<eqnparser.EqnParser instance at 0x8548cac>, ps=<eqnparser.ParserState instance at 0x884976c>, presedence=None) |
|||
545 return None |
|||
546 |
|||
--> 547 res = of([left_val, right_val]) |
|||
res = undefined |
|||
of = <function <lambda> at 0x882bcdc> |
|||
left_val = Decimal("3.1415926535") |
|||
right_val = 16.0 |
|||
548 _logger.debug('OP: %s, %s ==> %s', self.ml.format_number(left_val), self.ml.format_number(right_val), self.ml.format_number(res)) |
|||
549 left_val = res |
|||
/usr/share/activities/Calculate.activity/eqnparser.py in <lambda>(x=[Decimal("3.1415926535"), 16.0]) |
|||
208 self.register_operator('-', self.OP_DIADIC, 0, lambda x: self.ml.sub(x[0], x[1])) |
|||
209 self.register_operator('-', self.OP_PRE, 1, lambda x: self.ml.negate(x[0])) |
|||
--> 210 self.register_operator('*', self.OP_DIADIC, 1, lambda x: self.ml.mul(x[0], x[1])) |
|||
global self.register_operator = undefined |
|||
global self.OP_DIADIC = undefined |
|||
x = [Decimal("3.1415926535"), 16.0] |
|||
global self.ml.mul = undefined |
|||
211 self.register_operator(u'⨯', self.OP_DIADIC, 1, lambda x: self.ml.mul(x[0], x[1])) |
|||
212 self.register_operator(u'×', self.OP_DIADIC, 1, lambda x: self.ml.mul(x[0], x[1])) |
|||
/usr/share/activities/Calculate.activity/mathlib.py in mul(self=<mathlib.MathLib instance at 0x854894c>, x=Decimal("3.1415926535"), y=16.0) |
|||
200 |
|||
201 def mul(self, x, y): |
|||
--> 202 return x * y |
|||
x = Decimal("3.1415926535") |
|||
y = 16.0 |
|||
203 |
|||
204 def div(self, x, y): |
|||
<type 'exceptions.TypeError'>: unsupported operand type(s) for *: 'Decimal' and 'float' |
|||
--------------------------------------------------------------------------- |
|||
<type 'exceptions.TypeError'> Traceback (most recent call last) |
|||
/usr/share/activities/Calculate.activity/calculate.py in keypress_cb(self=<Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>, widget=<Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>, event=<GdkEvent at 0x8912ca8>) |
|||
702 self.button_pressed(self.TYPE_TEXT, f) |
|||
703 else: |
|||
--> 704 return f(self) |
|||
f = <function <lambda> at 0x881bed4> |
|||
self = <Calculate object at 0x848cdec (SugarActivity at 0x8a18800)> |
|||
705 |
|||
706 return True |
|||
/usr/share/activities/Calculate.activity/calculate.py in <lambda>(o=<Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>) |
|||
110 |
|||
111 KEYMAP = { |
|||
--> 112 'Return': lambda o: o.process(), |
|||
o = <Calculate object at 0x848cdec (SugarActivity at 0x8a18800)> |
|||
o.process = <bound method Calculate.process of <Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>> |
|||
113 'period': '.', |
|||
114 'equal': '=', |
|||
/usr/share/activities/Calculate.activity/calculate.py in process(self=<Calculate object at 0x848cdec (SugarActivity at 0x8a18800)>) |
|||
327 label = unicode(self.label_entry.get_text()) |
|||
328 _logger.debug('process(): parsing %r, label: %r', s, label) |
|||
--> 329 res = self.parser.parse(s) |
|||
res = undefined |
|||
self.parser.parse = <bound method EqnParser.parse of <eqnparser.EqnParser instance at 0x8548cac>> |
|||
s = u'pi*x^2' |
|||
330 |
|||
331 ansvar = self.parser.get_var('Ans') |
|||
/usr/share/activities/Calculate.activity/eqnparser.py in parse(self=<eqnparser.EqnParser instance at 0x8548cac>, eqn=u'pi*x^2', reset=True) |
|||
615 oldps = self.ps |
|||
616 self.ps = ParserState(eqn) |
|||
--> 617 ret = self._parse(self.ps) |
|||
ret = undefined |
|||
self._parse = <bound method EqnParser._parse of <eqnparser.EqnParser instance at 0x8548cac>> |
|||
self.ps = <eqnparser.ParserState instance at 0x8753fec> |
|||
618 if oldps is not None: |
|||
619 oldps.copy_error(self.ps) |
|||
/usr/share/activities/Calculate.activity/eqnparser.py in _parse(self=<eqnparser.EqnParser instance at 0x8548cac>, ps=<eqnparser.ParserState instance at 0x8753fec>, presedence=None) |
|||
545 return None |
|||
546 |
|||
--> 547 res = of([left_val, right_val]) |
|||
res = undefined |
|||
of = <function <lambda> at 0x882bcdc> |
|||
left_val = Decimal("3.1415926535") |
|||
right_val = 25.0 |
|||
548 _logger.debug('OP: %s, %s ==> %s', self.ml.format_number(left_val), self.ml.format_number(right_val), self.ml.format_number(res)) |
|||
549 left_val = res |
|||
/usr/share/activities/Calculate.activity/eqnparser.py in <lambda>(x=[Decimal("3.1415926535"), 25.0]) |
|||
208 self.register_operator('-', self.OP_DIADIC, 0, lambda x: self.ml.sub(x[0], x[1])) |
|||
209 self.register_operator('-', self.OP_PRE, 1, lambda x: self.ml.negate(x[0])) |
|||
--> 210 self.register_operator('*', self.OP_DIADIC, 1, lambda x: self.ml.mul(x[0], x[1])) |
|||
global self.register_operator = undefined |
|||
global self.OP_DIADIC = undefined |
|||
x = [Decimal("3.1415926535"), 25.0] |
|||
global self.ml.mul = undefined |
|||
211 self.register_operator(u'⨯', self.OP_DIADIC, 1, lambda x: self.ml.mul(x[0], x[1])) |
|||
212 self.register_operator(u'×', self.OP_DIADIC, 1, lambda x: self.ml.mul(x[0], x[1])) |
|||
/usr/share/activities/Calculate.activity/mathlib.py in mul(self=<mathlib.MathLib instance at 0x854894c>, x=Decimal("3.1415926535"), y=25.0) |
|||
200 |
|||
201 def mul(self, x, y): |
|||
--> 202 return x * y |
|||
x = Decimal("3.1415926535") |
|||
y = 25.0 |
|||
203 |
|||
204 def div(self, x, y): |
|||
<type 'exceptions.TypeError'>: unsupported operand type(s) for *: 'Decimal' and 'float' |
Revision as of 21:50, 29 April 2008
welcome to the OLPC wiki
Welcome to the One Laptop per Child wiki. Please make yourself at home; read through the Table of Contents and FAQ, and take a look around. If you need a general wiki-tutorial, Wikieducator has some excellent ones.
Some possible pages of interest:
Check your preferences and be sure you verify your email address and turn on email notification if you'd like it -- you can find out when your talk page, or any page on your watchlist, is modified. You may want to upload a photo or information about yourself to your userpage (examples: 1, 2).
in reply to "response to Java comment in Browse page"
Nope, it was'nt about JRE vs JDK. Feel free to add an addendum to my comment, prefacing your's with :
ie:
The rain in spain... User:Alice 18:42, 5 February 2008 (EST)
- Falls mainly in the plain! The rain in spain... User:Bob 18:42, 5 February 2008 (EST)
Oh, and one more thing: Please sign your comments with ~~~~, it automagicaly adds your name as well as a link to your talk page. Your signature can be modified at Special:Preferences. ffm 18:42, 5 February 2008 (EST)
Java load error
LoadPlugin: failed to initialize shared library /usr/java/jdk1.5.0_13/jre/plugin/i386/ns7/libjavaplugin_oji.so [/usr/java/jdk1.5.0_13/jre/plugin/i386/ns7/libjavaplugin_oji.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE]
LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory] LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory] LoadPlugin: failed to initialize shared library /usr/java/jre1.5.0_13/plugin/i386/ns7/libjavaplugin_oji.so [/usr/java/jre1.5.0_13/plugin/i386/ns7/libjavaplugin_oji.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE]