Discussion:
[Pharo-project] Rome and Rome plugin
(too old to reply)
Stéphane Ducasse
2010-04-14 07:30:34 UTC
Permalink
Hi mike and john

We started to play with Rome with cyrille. Alain published a version that he started to clean in the Miro repository on squeaksource
and we got the following behavior

When we tried the car demo with sophie dev it works

When we tried the car demo on the latest untable on mac with 4.2.2 it does not work
we get a RomePlugin primitive
Apparently it works with alain on linux

Now if we take the sophie image and execute it with 4.2.2 it works.

So do you have any idea how to fix that?

Cyrille can you execute

Smalltalk listLoadedModules
SmalltalkImage listBuiltinModules

Stef
Cyrille Delaunay
2010-04-14 08:06:49 UTC
Permalink
RomePlugin is present in none of listLoadedModules and listBuiltinModules

2010/4/14 St?phane Ducasse <stephane.ducasse at inria.fr>
Post by Stéphane Ducasse
Hi mike and john
We started to play with Rome with cyrille. Alain published a version that
he started to clean in the Miro repository on squeaksource
and we got the following behavior
When we tried the car demo with sophie dev it works
When we tried the car demo on the latest untable on mac with 4.2.2 it does not work
we get a RomePlugin primitive
Apparently it works with alain on linux
Now if we take the sophie image and execute it with 4.2.2 it works.
So do you have any idea how to fix that?
Cyrille can you execute
Smalltalk listLoadedModules
SmalltalkImage listBuiltinModules
Stef
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20100414/cb242716/attachment.html>
Michael Rueger
2010-04-14 09:16:42 UTC
Permalink
Post by Cyrille Delaunay
RomePlugin is present in none of listLoadedModules and listBuiltinModules
that would explain the problem.
You need the external plugin then.

MIchael
Stéphane Ducasse
2010-04-14 09:45:23 UTC
Permalink
But mike the romePlugin is in the resources folder.

Stef
Post by Michael Rueger
Post by Cyrille Delaunay
RomePlugin is present in none of listLoadedModules and listBuiltinModules
that would explain the problem.
You need the external plugin then.
MIchael
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
John M McIntosh
2010-04-14 16:09:01 UTC
Permalink
There should be a rome plugin RomePlugin.bundle v 1.2.1 in the resource folder of the macintosh V4.x VMs...
You'll need to chase why it doesn't load.
Adjust the info.plist 'SqueakDebug' to 1 in the VM, start and then use apple's console application to check for messages
in the system log to see what happens when it attempts to load the plugin.
Post by Stéphane Ducasse
But mike the romePlugin is in the resources folder.
Stef
Post by Michael Rueger
Post by Cyrille Delaunay
RomePlugin is present in none of listLoadedModules and listBuiltinModules
that would explain the problem.
You need the external plugin then.
MIchael
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2445 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20100414/e7dd3c3e/attachment.p7s>
Stéphane Ducasse
2010-04-14 16:43:39 UTC
Permalink
Post by John M McIntosh
There should be a rome plugin RomePlugin.bundle v 1.2.1 in the resource folder of the macintosh V4.x VMs...
You'll need to chase why it doesn't load.
Adjust the info.plist 'SqueakDebug' to 1 in the VM, start and then use apple's console application to check for messages
in the system log to see what happens when it attempts to load the plugin.
Thanks. I will check that.

Stef
Post by John M McIntosh
Post by Stéphane Ducasse
But mike the romePlugin is in the resources folder.
Stef
Post by Michael Rueger
Post by Cyrille Delaunay
RomePlugin is present in none of listLoadedModules and listBuiltinModules
that would explain the problem.
You need the external plugin then.
MIchael
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Stéphane Ducasse
2010-04-15 13:20:48 UTC
Permalink
Hi john

Smalltalk listLoadedModules

#('Matrix2x3Plugin 13 March 2010 (i)' 'FloatArrayPlugin 13 March 2010 (i)' 'SurfacePlugin Mar 13 2010 (i)' 'RomePlugin dg.40 4 February 2008 (e)' 'UUIDPlugin 13 March 2010 (i)' 'ClipboardExtendedPlugin 20 August 2009 (e)' 'ZipPlugin 13 March 2010 (i)' 'SocketPlugin 13 March 2010 (i)' 'LocalePlugin 9 June 2005 (e)' 'InternetConfigPlugin 13 March 2010 (i)' 'B2DPlugin 13 March 2010 (i)' 'BitBltPlugin 13 March 2010 (i)' 'LargeIntegers v1.5 13 March 2010 (i)' 'MacMenubarPlugin 13 March 2010 (i)' 'SecurityPlugin 13 March 2010 (i)' 'FilePlugin 13 March 2010 (i)' 'DropPlugin 13 March 2010 (i)' 'MiscPrimitivePlugin 13 March 2010 (i)')

So the RomePlugin is loaded. But I still get

primOpen
<primitive: 'primitiveOpen' module: 'RomePlugin'>
^self primitiveFailed

when I try the demoMovingCar

I will try to put the info.plist to 1
Post by John M McIntosh
There should be a rome plugin RomePlugin.bundle v 1.2.1 in the resource folder of the macintosh V4.x VMs...
You'll need to chase why it doesn't load.
Adjust the info.plist 'SqueakDebug' to 1 in the VM, start and then use apple's console application to check for messages
in the system log to see what happens when it attempts to load the plugin.
Post by Stéphane Ducasse
But mike the romePlugin is in the resources folder.
Stef
Post by Michael Rueger
Post by Cyrille Delaunay
RomePlugin is present in none of listLoadedModules and listBuiltinModules
that would explain the problem.
You need the external plugin then.
MIchael
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Stéphane Ducasse
2010-04-15 20:20:24 UTC
Permalink
Hi

We need help.
Can you execute

Gofer new
squeaksource: 'PharoTaskForces';
version: 'Rome-StephaneDucasse.4';
load

RomeDemo demoMovingCar

And let me know if you get an error?

Then can you let us know what is the value of Smalltalk listLoadedModules

I do not understand why the prim failed even if the plugin is loaded.
Stef
Post by Stéphane Ducasse
Hi john
Smalltalk listLoadedModules
#('Matrix2x3Plugin 13 March 2010 (i)' 'FloatArrayPlugin 13 March 2010 (i)' 'SurfacePlugin Mar 13 2010 (i)' 'RomePlugin dg.40 4 February 2008 (e)' 'UUIDPlugin 13 March 2010 (i)' 'ClipboardExtendedPlugin 20 August 2009 (e)' 'ZipPlugin 13 March 2010 (i)' 'SocketPlugin 13 March 2010 (i)' 'LocalePlugin 9 June 2005 (e)' 'InternetConfigPlugin 13 March 2010 (i)' 'B2DPlugin 13 March 2010 (i)' 'BitBltPlugin 13 March 2010 (i)' 'LargeIntegers v1.5 13 March 2010 (i)' 'MacMenubarPlugin 13 March 2010 (i)' 'SecurityPlugin 13 March 2010 (i)' 'FilePlugin 13 March 2010 (i)' 'DropPlugin 13 March 2010 (i)' 'MiscPrimitivePlugin 13 March 2010 (i)')
So the RomePlugin is loaded. But I still get
primOpen
<primitive: 'primitiveOpen' module: 'RomePlugin'>
^self primitiveFailed
when I try the demoMovingCar
I will try to put the info.plist to 1
Post by John M McIntosh
There should be a rome plugin RomePlugin.bundle v 1.2.1 in the resource folder of the macintosh V4.x VMs...
You'll need to chase why it doesn't load.
Adjust the info.plist 'SqueakDebug' to 1 in the VM, start and then use apple's console application to check for messages
in the system log to see what happens when it attempts to load the plugin.
Post by Stéphane Ducasse
But mike the romePlugin is in the resources folder.
Stef
Post by Michael Rueger
Post by Cyrille Delaunay
RomePlugin is present in none of listLoadedModules and listBuiltinModules
that would explain the problem.
You need the external plugin then.
MIchael
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project at lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Stéphane Ducasse
2010-04-15 20:31:24 UTC
Permalink
With UNSTABLE 11317

Smalltalk listLoadedModules #('ClipboardExtendedPlugin 20 August 2009 (e)' 'LocalePlugin 9 June 2005 (e)' 'InternetConfigPlugin 13 March 2010 (i)' 'B2DPlugin 13 March 2010 (i)' 'BitBltPlugin 13 March 2010 (i)' 'LargeIntegers v1.5 13 March 2010 (i)' 'MacMenubarPlugin 13 March 2010 (i)' 'SecurityPlugin 13 March 2010 (i)' 'FilePlugin 13 March 2010 (i)' 'DropPlugin 13 March 2010 (i)' 'MiscPrimitivePlugin 13 March 2010 (i)')


no romePlugin

Gofer new
squeaksource: 'PharoTaskForces';
version: 'Rome-StephaneDucasse.4';
load


Smalltalk listLoadedModules

#('ZipPlugin 13 March 2010 (i)' 'SocketPlugin 13 March 2010 (i)' 'ClipboardExtendedPlugin 20 August 2009 (e)' 'LocalePlugin 9 June 2005 (e)' 'InternetConfigPlugin 13 March 2010 (i)' 'B2DPlugin 13 March 2010 (i)' 'BitBltPlugin 13 March 2010 (i)' 'LargeIntegers v1.5 13 March 2010 (i)' 'MacMenubarPlugin 13 March 2010 (i)' 'SecurityPlugin 13 March 2010 (i)' 'FilePlugin 13 March 2010 (i)' 'DropPlugin 13 March 2010 (i)' 'MiscPrimitivePlugin 13 March 2010 (i)')

no romePlugin

RomeDemo demoMovingCar

#('SurfacePlugin Mar 13 2010 (i)' 'RomePlugin dg.40 4 February 2008 (e)' 'ZipPlugin 13 March 2010 (i)' 'SocketPlugin 13 March 2010 (i)' 'ClipboardExtendedPlugin 20 August 2009 (e)' 'LocalePlugin 9 June 2005 (e)' 'InternetConfigPlugin 13 March 2010 (i)' 'B2DPlugin 13 March 2010 (i)' 'BitBltPlugin 13 March 2010 (i)' 'LargeIntegers v1.5 13 March 2010 (i)' 'MacMenubarPlugin 13 March 2010 (i)' 'SecurityPlugin 13 March 2010 (i)' 'FilePlugin 13 March 2010 (i)' 'DropPlugin 13 March 2010 (i)' 'MiscPrimitivePlugin 13 March 2010 (i)')

Rome plugin but still the primitive fails
Now if I take the sophie dev image then it works on the vm.

Any idea where I can come from?


15/4/10 10:27:30 PM [0x0-0x97097].org.squeak.Squeak[1034]
15/4/10 10:27:30 PM [0x0-0x97097].org.squeak.Squeak[1034] VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
15/4/10 10:27:30 PM [0x0-0x97097].org.squeak.Squeak[1034]
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] tryLoading /Applications/Squeak/Squeak 4.2.3beta1U.app/Contents/Resources/RomePlugin.bundle/Contents/MacOS/RomePlugin
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] ioFindExternalFunctionIn(getModuleName, 3368144)
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] ioFindExternalFunctionIn(setInterpreter, 3368144)
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] ioFindExternalFunctionIn(initialiseModule, 3368144)
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] ioFindExternalFunctionIn(primitivePluginVersion, 3368144)
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] ioFindExternalFunctionIn(primitiveCreateFormHandle, 3368144)
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] tryLoading /Applications/Squeak/Squeak 4.2.3beta1U.app/Contents/Resources/SurfacePlugin.bundle/Contents/MacOS/SurfacePlugin
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] tryLoading /Applications/Squeak/Squeak 4.2.3beta1U.app/Contents/Resources/SurfacePlugin
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] tryLoading /Applications/Squeak/Plugins/SurfacePlugin.bundle/Contents/MacOS/SurfacePlugin
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] tryLoading /Applications/Squeak/Plugins/SurfacePlugin
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] ioFindExternalFunctionIn(primitiveOpen, 3368144)
15/4/10 10:27:31 PM [0x0-0x97097].org.squeak.Squeak[1034] Squeak-Rome: canvas oop invalid!
15/4/10 10:27:32 PM [0x0-0x97097].org.squeak.Squeak[1034] VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
15/4/10 10:27:32 PM [0x0-0x97097].org.squeak.Squeak[1034]
15/4/10 10:27:32 PM [0x0-0x97097].org.squeak.Squeak[1034] VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
15/4/10 10:27:32 PM [0x0-0x97097].org.squeak.Squeak[1034]
15/4/10 10:27:33 PM [0x0-0x97097].org.squeak.Squeak[1034] VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
15/4/10 10:27:33 PM [0x0-0x97097].org.squeak.Squeak[1034]
15/4/10 10:27:33 PM [0x0-0x97097].org.squeak.Squeak[1034] VM: MouseModifierStateCarbon buttonStateBits 1 modifiers 0i
Continue reading on narkive:
Loading...