Topez Setup Issues

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

Topez Setup Issues

Reg Krock
I am getting the following error when I attempt to use topaz and I cannot determine what I have not setup correctly,

 tode 1 > edit Array
Topez ERROR: Error: External module not found

I have been able to log in to Topaz. The topaz login info is at the bottom of the message.

Regards,

Reg

======== Environment:  ========
Pharo-1.4 on MAC

And this is the contents of  /Applications/Pharo-1.4

-rw-r--r--@  1 regkrock  staff      6148  4 Apr 03:34 .DS_Store
-rw-r--r--@  1 regkrock  staff  15019925  4 Apr 04:27 Pharo-1.4.changes
-rw-r--r--@  1 regkrock  staff  20236428 19 Jul  2012 Pharo-1.4.image
drwxr-xr-x   3 regkrock  staff       102 13 Mar 18:25 Pharo.app
-rw-r--r--@  1 regkrock  staff  16235372 19 Oct  2009 PharoV10.sources
-r--r--r--   1 root      staff     11936  4 Apr 03:43 gcirtlobj.o
drwxr-xr-x   3 regkrock  staff       102  4 Apr 04:20 github-cache
drwxrwxrwx   4 root      staff       136  4 Apr 04:25 lib32
-rwxrwxrwx   1 root      staff   1107676  4 Apr 03:43 libgcirpc-3.1.0.1-32.dylib
-rwxrwxrwx   1 root      staff   1946288  4 Apr 03:43 libssl-3.1.0.1-32.dylib
drwxr-xr-x  29 regkrock  staff       986  4 Apr 04:21 package-cache


====== Loaded into Pharo:  =============

Gofer new
 gemsource: 'metacello';
 package: 'ConfigurationOfMetacello';
 load.

((Smalltalk at: #ConfigurationOfMetacello) project 
 version: '1.0-beta.32') load.

(Smalltalk at: #Metacello) new
 configuration: 'MetacelloPreview';
 version: #stable;
 repository: '<a href="github://dalehenrich/metacello-work:configuration'">github://dalehenrich/metacello-work:configuration';
 load.

Metacello new
   baseline: 'Topez';
   repository: '<a href="github://dalehenrich/topez:master/repository'">github://dalehenrich/topez:master/repository';
   load: 'Dev'.

| sessionDescription |
sessionDescription := OGCustomSessionDescription new
   name: '3.1.0.1';
   gemstoneVersion: '3.1.0.1';
   gciLibraryName: 'libgcirpc-3.1.0.1-32.dylib';
   adornmentColor: Color lightGreen;
   stoneHost: 'localhost';
   stoneName: 'seaside';
   gemHost: 'localhost';
   netLDI: '50377';
   gemTask: 'gemnetobject';
   userId: 'DataCurator';
   password: 'swordfish';
   osUserId: '';
   osPassword: '';
   backupDirectory: '';
   dataDirectory: '';
   yourself.
TDTopezClient sessionMap 
   at: sessionDescription name
   put: sessionDescription.

TDShell open: '3.1.0.1'

====== gslist ===========

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
 OK    3.1.0.1   regkrock    461 50377 Apr 02 21:31 Netldi      gs64ldi
 OK    3.1.0.1   regkrock    464 49524 Apr 02 21:31 Stone       seaside
 OK    3.1.0.1   regkrock    465 49516 Apr 02 21:31 cache       seaside~be08d96ee410655a

==== TOPAZ Login =====

_____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System             |
|                    Copyright (C) VMware, Inc. 1986-2012                     |
|                            All rights reserved.                             |
+-----------------------------------------------------------------------------+
|    PROGRAM: topaz, Linear GemStone Interface (Remote Session)               |
|    VERSION: 3.1.0.1, Fri Aug 24  9:42:50 2012                               |
|      BUILD: gss64_3_1_0_x_branch-28937                                      |
|  BUILT FOR: Darwin (Mac)                                                    |
|       MODE: 64 bit                                                          |
| RUNNING ON: 8-CPU rk.home x86_64 (Darwin 12.3.0 ) 2600MHz MacBookPro10,1 2048MB
| PROCESS ID: 10602     DATE: 04/04/2013 04:52:52 EDT                         |
|   USER IDS: REAL=regkrock (501) EFFECTIVE=regkrock (501)                    |
| DATEFORMAT: %d/%m/%Y %H:%M:%S %Z                                            |
|_____________________________________________________________________________|
neither .topazini nor $HOME/.topazini were found
topaz> set gemstone seaside
topaz> set gemnetid gemnetobject
topaz> set username DataCurator
topaz> set password swordfish
topaz> login
[Info]: libssl-3.1.0.1-64.dylib: loaded
[04/04/2013 04:53:30.565 EDT]
 gci login: currSession 1 rpc gem processId 10607 OOB keep-alive interval 0
successful login
topaz 1> 
Reply | Threaded
Open this post in threaded view
|

Re: Topez Setup Issues

Dale Henrichs
Hey Reg,

I'm afraid that my instructions for installing things on the mac were incorrect (what _was_ I thinking?). On the mac the library files need to be located with the vm. For the cog vm, the libraries go into the Plugins directory:

  ../Contents/MacOS/Plugins

Sorry about that ...

For completeness sake, you can arrange to bring up the client-side debugger when topez errors occur by executing the following expression:

  TDShell debugMode: true.

The documentation for tode/topez is still pretty sparse ... I need to add .bin and .keymap "halos" so that you can get a quick view of the available commands and an view of the keyboard commands ... I sent mail to Paul the other day with a little more information about getting started. i'll resurrect that mail and save it in the docs directory in the checkout ...

Just yesterday I renamed the `packages` directory to `repository` so you might be in for a surprise when you update ... I made the change because github ignores the contents of  directories named `packages` for language statistics so it wasn't recognizing projects as smalltalk projects ...

If you have issues and comments let's put them up on the topez issue list[1].

[1] https://github.com/dalehenrich/topez/issues

----- Original Message -----
| From: "Reg Krock" <[hidden email]>
| To: "GemStone Seaside beta discussion" <[hidden email]>
| Sent: Thursday, April 4, 2013 2:00:52 AM
| Subject: [GS/SS Beta] Topez Setup Issues
|
| I am getting the following error when I attempt to use topaz and I cannot
| determine what I have not setup correctly,
|
|  tode 1 > edit Array
| Topez ERROR: Error: External module not found
|
| I have been able to log in to Topaz. The topaz login info is at the bottom of
| the message.
|
| Regards,
|
| Reg
|
| ======== Environment:  ========
| Pharo-1.4 on MAC
|
| And this is the contents of  /Applications/Pharo-1.4
|
| -rw-r--r--@  1 regkrock  staff      6148  4 Apr 03:34 .DS_Store
| -rw-r--r--@  1 regkrock  staff  15019925  4 Apr 04:27 Pharo-1.4.changes
| -rw-r--r--@  1 regkrock  staff  20236428 19 Jul  2012 Pharo-1.4.image
| drwxr-xr-x   3 regkrock  staff       102 13 Mar 18:25 Pharo.app
| -rw-r--r--@  1 regkrock  staff  16235372 19 Oct  2009 PharoV10.sources
| -r--r--r--   1 root      staff     11936  4 Apr 03:43 gcirtlobj.o
| drwxr-xr-x   3 regkrock  staff       102  4 Apr 04:20 github-cache
| drwxrwxrwx   4 root      staff       136  4 Apr 04:25 lib32
| -rwxrwxrwx   1 root      staff   1107676  4 Apr 03:43
| libgcirpc-3.1.0.1-32.dylib
| -rwxrwxrwx   1 root      staff   1946288  4 Apr 03:43 libssl-3.1.0.1-32.dylib
| drwxr-xr-x  29 regkrock  staff       986  4 Apr 04:21 package-cache
|
|
| ====== Loaded into Pharo:  =============
|
| Gofer new
|  gemsource: 'metacello';
|  package: 'ConfigurationOfMetacello';
|  load.
|
| ((Smalltalk at: #ConfigurationOfMetacello) project
|  version: '1.0-beta.32') load.
|
| (Smalltalk at: #Metacello) new
|  configuration: 'MetacelloPreview';
|  version: #stable;
|  repository: 'github://dalehenrich/metacello-work:configuration';
|  load.
|
| Metacello new
|    baseline: 'Topez';
|    repository: 'github://dalehenrich/topez:master/repository';
|    load: 'Dev'.
|
| | sessionDescription |
| sessionDescription := OGCustomSessionDescription new
|    name: '3.1.0.1';
|    gemstoneVersion: '3.1.0.1';
|    gciLibraryName: 'libgcirpc-3.1.0.1-32.dylib';
|    adornmentColor: Color lightGreen;
|    stoneHost: 'localhost';
|    stoneName: 'seaside';
|    gemHost: 'localhost';
|    netLDI: '50377';
|    gemTask: 'gemnetobject';
|    userId: 'DataCurator';
|    password: 'swordfish';
|    osUserId: '';
|    osPassword: '';
|    backupDirectory: '';
|    dataDirectory: '';
|    yourself.
| TDTopezClient sessionMap
|    at: sessionDescription name
|    put: sessionDescription.
|
| TDShell open: '3.1.0.1'
|
| ====== gslist ===========
|
| Status   Version    Owner    Pid   Port   Started     Type       Name
| ------- --------- --------- ----- ----- ------------ ------      ----
|  OK    3.1.0.1   regkrock    461 50377 Apr 02 21:31 Netldi      gs64ldi
|  OK    3.1.0.1   regkrock    464 49524 Apr 02 21:31 Stone       seaside
|  OK    3.1.0.1   regkrock    465 49516 Apr 02 21:31 cache
|  seaside~be08d96ee410655a
|
| ==== TOPAZ Login =====
|
| _____________________________________________________________________________
| |             GemStone/S64 Object-Oriented Data Management System
| |             |
| |                    Copyright (C) VMware, Inc. 1986-2012
| |                    |
| |                            All rights reserved.
| |                            |
| +-----------------------------------------------------------------------------+
| |    PROGRAM: topaz, Linear GemStone Interface (Remote Session)
| |    |
| |    VERSION: 3.1.0.1, Fri Aug 24  9:42:50 2012
| |    |
| |      BUILD: gss64_3_1_0_x_branch-28937
| |      |
| |  BUILT FOR: Darwin (Mac)
| |  |
| |       MODE: 64 bit
| |       |
| | RUNNING ON: 8-CPU rk.home x86_64 (Darwin 12.3.0 ) 2600MHz MacBookPro10,1
| | 2048MB
| | PROCESS ID: 10602     DATE: 04/04/2013 04:52:52 EDT
| | |
| |   USER IDS: REAL=regkrock (501) EFFECTIVE=regkrock (501)
| |   |
| | DATEFORMAT: %d/%m/%Y %H:%M:%S %Z
| | |
| |_____________________________________________________________________________|
| neither .topazini nor $HOME/.topazini were found
| topaz> set gemstone seaside
| topaz> set gemnetid gemnetobject
| topaz> set username DataCurator
| topaz> set password swordfish
| topaz> login
| [Info]: libssl-3.1.0.1-64.dylib: loaded
| [04/04/2013 04:53:30.565 EDT]
|  gci login: currSession 1 rpc gem processId 10607 OOB keep-alive interval 0
| successful login
| topaz 1>
|
Reply | Threaded
Open this post in threaded view
|

Re: Topez Setup Issues

Reg Krock
Dale,

Thanks. It worked perfectly.

Regards,

Reg

On 2013-04-04, at 11:13 AM, Dale Henrichs <[hidden email]> wrote:

> Hey Reg,
>
> I'm afraid that my instructions for installing things on the mac were incorrect (what _was_ I thinking?). On the mac the library files need to be located with the vm. For the cog vm, the libraries go into the Plugins directory:
>
>  ../Contents/MacOS/Plugins
>
> Sorry about that ...
>
> For completeness sake, you can arrange to bring up the client-side debugger when topez errors occur by executing the following expression:
>
>  TDShell debugMode: true.
>
> The documentation for tode/topez is still pretty sparse ... I need to add .bin and .keymap "halos" so that you can get a quick view of the available commands and an view of the keyboard commands ... I sent mail to Paul the other day with a little more information about getting started. i'll resurrect that mail and save it in the docs directory in the checkout ...
>
> Just yesterday I renamed the `packages` directory to `repository` so you might be in for a surprise when you update ... I made the change because github ignores the contents of  directories named `packages` for language statistics so it wasn't recognizing projects as smalltalk projects ...
>
> If you have issues and comments let's put them up on the topez issue list[1].
>
> [1] https://github.com/dalehenrich/topez/issues
>
> ----- Original Message -----
> | From: "Reg Krock" <[hidden email]>
> | To: "GemStone Seaside beta discussion" <[hidden email]>
> | Sent: Thursday, April 4, 2013 2:00:52 AM
> | Subject: [GS/SS Beta] Topez Setup Issues
> |
> | I am getting the following error when I attempt to use topaz and I cannot
> | determine what I have not setup correctly,
> |
> |  tode 1 > edit Array
> | Topez ERROR: Error: External module not found
> |
> | I have been able to log in to Topaz. The topaz login info is at the bottom of
> | the message.
> |
> | Regards,
> |
> | Reg
> |
> | ======== Environment:  ========
> | Pharo-1.4 on MAC
> |
> | And this is the contents of  /Applications/Pharo-1.4
> |
> | -rw-r--r--@  1 regkrock  staff      6148  4 Apr 03:34 .DS_Store
> | -rw-r--r--@  1 regkrock  staff  15019925  4 Apr 04:27 Pharo-1.4.changes
> | -rw-r--r--@  1 regkrock  staff  20236428 19 Jul  2012 Pharo-1.4.image
> | drwxr-xr-x   3 regkrock  staff       102 13 Mar 18:25 Pharo.app
> | -rw-r--r--@  1 regkrock  staff  16235372 19 Oct  2009 PharoV10.sources
> | -r--r--r--   1 root      staff     11936  4 Apr 03:43 gcirtlobj.o
> | drwxr-xr-x   3 regkrock  staff       102  4 Apr 04:20 github-cache
> | drwxrwxrwx   4 root      staff       136  4 Apr 04:25 lib32
> | -rwxrwxrwx   1 root      staff   1107676  4 Apr 03:43
> | libgcirpc-3.1.0.1-32.dylib
> | -rwxrwxrwx   1 root      staff   1946288  4 Apr 03:43 libssl-3.1.0.1-32.dylib
> | drwxr-xr-x  29 regkrock  staff       986  4 Apr 04:21 package-cache
> |
> |
> | ====== Loaded into Pharo:  =============
> |
> | Gofer new
> |  gemsource: 'metacello';
> |  package: 'ConfigurationOfMetacello';
> |  load.
> |
> | ((Smalltalk at: #ConfigurationOfMetacello) project
> |  version: '1.0-beta.32') load.
> |
> | (Smalltalk at: #Metacello) new
> |  configuration: 'MetacelloPreview';
> |  version: #stable;
> |  repository: 'github://dalehenrich/metacello-work:configuration';
> |  load.
> |
> | Metacello new
> |    baseline: 'Topez';
> |    repository: 'github://dalehenrich/topez:master/repository';
> |    load: 'Dev'.
> |
> | | sessionDescription |
> | sessionDescription := OGCustomSessionDescription new
> |    name: '3.1.0.1';
> |    gemstoneVersion: '3.1.0.1';
> |    gciLibraryName: 'libgcirpc-3.1.0.1-32.dylib';
> |    adornmentColor: Color lightGreen;
> |    stoneHost: 'localhost';
> |    stoneName: 'seaside';
> |    gemHost: 'localhost';
> |    netLDI: '50377';
> |    gemTask: 'gemnetobject';
> |    userId: 'DataCurator';
> |    password: 'swordfish';
> |    osUserId: '';
> |    osPassword: '';
> |    backupDirectory: '';
> |    dataDirectory: '';
> |    yourself.
> | TDTopezClient sessionMap
> |    at: sessionDescription name
> |    put: sessionDescription.
> |
> | TDShell open: '3.1.0.1'
> |
> | ====== gslist ===========
> |
> | Status   Version    Owner    Pid   Port   Started     Type       Name
> | ------- --------- --------- ----- ----- ------------ ------      ----
> |  OK    3.1.0.1   regkrock    461 50377 Apr 02 21:31 Netldi      gs64ldi
> |  OK    3.1.0.1   regkrock    464 49524 Apr 02 21:31 Stone       seaside
> |  OK    3.1.0.1   regkrock    465 49516 Apr 02 21:31 cache
> |  seaside~be08d96ee410655a
> |
> | ==== TOPAZ Login =====
> |
> | _____________________________________________________________________________
> | |             GemStone/S64 Object-Oriented Data Management System
> | |             |
> | |                    Copyright (C) VMware, Inc. 1986-2012
> | |                    |
> | |                            All rights reserved.
> | |                            |
> | +-----------------------------------------------------------------------------+
> | |    PROGRAM: topaz, Linear GemStone Interface (Remote Session)
> | |    |
> | |    VERSION: 3.1.0.1, Fri Aug 24  9:42:50 2012
> | |    |
> | |      BUILD: gss64_3_1_0_x_branch-28937
> | |      |
> | |  BUILT FOR: Darwin (Mac)
> | |  |
> | |       MODE: 64 bit
> | |       |
> | | RUNNING ON: 8-CPU rk.home x86_64 (Darwin 12.3.0 ) 2600MHz MacBookPro10,1
> | | 2048MB
> | | PROCESS ID: 10602     DATE: 04/04/2013 04:52:52 EDT
> | | |
> | |   USER IDS: REAL=regkrock (501) EFFECTIVE=regkrock (501)
> | |   |
> | | DATEFORMAT: %d/%m/%Y %H:%M:%S %Z
> | | |
> | |_____________________________________________________________________________|
> | neither .topazini nor $HOME/.topazini were found
> | topaz> set gemstone seaside
> | topaz> set gemnetid gemnetobject
> | topaz> set username DataCurator
> | topaz> set password swordfish
> | topaz> login
> | [Info]: libssl-3.1.0.1-64.dylib: loaded
> | [04/04/2013 04:53:30.565 EDT]
> |  gci login: currSession 1 rpc gem processId 10607 OOB keep-alive interval 0
> | successful login
> | topaz 1>
> |