Topaz question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Topaz question

GLASS mailing list
Ciao,

i have a Gemstone 3.4.3 run on Ubuntu system.

With Tode i add a message to String class.

dtr
^ 'test'

In the tode ws  it work fine:

String dtr answer:   'test'

But when i run the command from topaz session

the system answer the error :

topaz> login
[Info]: Loaded /opt/GsDKb/GsDevKit_home/server/stones/base_343/product/lib/libfloss-3.4.3-64.so
[09/01/19 18:18:10.003 CET]
  gci login: currSession 1  rpc gem processId 14272 socket 7
successful login
 fileformat is now utf8
sourcestringclass is now Unicode16
topaz 1> run
String dtr
%
ERROR 2010 , a MessageNotUnderstood occurred (error 2010), a String class does not understand  #'dtr' (MessageNotUnderstood

Considerations ?

Thanks,

Dario

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Topaz question

GLASS mailing list

Dario,

I don't see which user you've logged in as ... if you are logging in as SystemUser, then the #dtr method is not available to SystemUser ... If you log in as DataCurator, you should see #dtr ...

For tODE/GLASS/GsDevKit, when you add methods to base classes like String, the method is not added to the method dictionary of String, because DataCurator does not have permission for adding the method (you have to be logged in as SystemUser to modify base classes) ...

All extension methods for base GemStone classes are added to a session method dictionary that arranges to install the extension methods into a session-specific method dictonary for those classes ... the session methods are installed when you log in as DataCurator ...

I can provide more details, if you'd like ...

Dale

On 1/9/19 9:21 AM, Trussardi Dario Romano via Glass wrote:
Ciao,

i have a Gemstone 3.4.3 run on Ubuntu system.

With Tode i add a message to String class.

dtr
^ 'test'

In the tode ws  it work fine:

String dtr answer:   'test'

But when i run the command from topaz session

the system answer the error :

topaz> login
[Info]: Loaded /opt/GsDKb/GsDevKit_home/server/stones/base_343/product/lib/libfloss-3.4.3-64.so
[09/01/19 18:18:10.003 CET]
  gci login: currSession 1  rpc gem processId 14272 socket 7
successful login
 fileformat is now utf8
sourcestringclass is now Unicode16
topaz 1> run
String dtr
%
ERROR 2010 , a MessageNotUnderstood occurred (error 2010), a String class does not understand  #'dtr' (MessageNotUnderstood

Considerations ?

Thanks,

Dario

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass