close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 13 years ago

#1415 closed defect (fixed)

Error al clickear con el botón secundario

Reported by: Javier Gallardo Owned by: Jorge
Priority: high Milestone: TOLBase Revitalization
Component: Interface Version: 2.0.2
Severity: blocker Keywords:
Cc:

Description

Si evaluamos el siguiente código tol:

Set For(1, 10, Set(Real k){
  [[k]]
});

E intentamos tabular el Set nos dará el siguiente error:

Warning: [9] GetObjectFromAddress function failed at : 
GetObjectFromAddress("907EF48:0:66B01F8:0:245A460:0:2:4:B268")

ERROR: [72] obj could not be created.

ERROR: [73] obj is not a valid object for type Anything.

ERROR: [74] Wrong arguments in call to Text Grammar (Anything var)

ERROR: [75] theGrammar could not be created.

ERROR: [76] theGrammar is not a valid object for type Anything.

ERROR: [77] Wrong arguments in call to Real == var1 == var2 {Anything var1, Anything var2}

ERROR: [78] theGrammar is not a valid object for type Anything.

ERROR: [79] Wrong arguments in call to Real == var1 == var2 {Anything var1, Anything var2}

ERROR: [80] theGrammar is not a valid object for type Text.

ERROR: [81] __getTypeOfObject__ could not be created.


También pasa con el EvalSet, sin embargo con otras funciones como

Set Range(1, 10, 1);
Set [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]];

no pasa.

Un saludo

Change History (7)

comment:1 Changed 13 years ago by Jorge

Priority: normalhigh
Status: newaccepted

No logro reproducirlo. Puedes probarlo en un tolbase limpio, que sea la primera instrucción que ejecutes después de abrir tolbase?

comment:2 Changed 13 years ago by Víctor de Buen Remiro

Si haces primero

#Require MMS;

entonces se reproduce el error.

comment:3 Changed 13 years ago by Jorge

Ya lo he reproducido, debe estar cargado GuiTools antes

#Require GuiTools;

Set For(1, 10, Set(Real k){
  [[k]]
});

comment:4 Changed 13 years ago by Víctor de Buen Remiro

(In [4063]) Refs #1416
Refs #1415

comment:5 Changed 13 years ago by Víctor de Buen Remiro

(In [4064]) Refs #1416
Refs #1415

comment:6 Changed 13 years ago by Víctor de Buen Remiro

(In [4065]) Refs #1416
Refs #1415

comment:7 Changed 13 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.