[Pharo-project] Rome and Rome plugin
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
RomePlugin is present in none of listLoadedModules and listBuiltinModules 2010/4/14 Stéphane Ducasse <stephane.ducasse@inria.fr>
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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
But mike the romePlugin is in the resources folder. Stef On Apr 14, 2010, at 11:16 AM, Michael Rueger wrote:
On 4/14/2010 10:06 AM, Cyrille Delaunay wrote:
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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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. On 2010-04-14, at 2:45 AM, Stéphane Ducasse wrote:
But mike the romePlugin is in the resources folder.
Stef
On Apr 14, 2010, at 11:16 AM, Michael Rueger wrote:
On 4/14/2010 10:06 AM, Cyrille Delaunay wrote:
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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
On Apr 14, 2010, at 6:09 PM, John M McIntosh wrote:
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
On 2010-04-14, at 2:45 AM, Stéphane Ducasse wrote:
But mike the romePlugin is in the resources folder.
Stef
On Apr 14, 2010, at 11:16 AM, Michael Rueger wrote:
On 4/14/2010 10:06 AM, Cyrille Delaunay wrote:
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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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 On Apr 14, 2010, at 6:09 PM, John M McIntosh wrote:
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.
On 2010-04-14, at 2:45 AM, Stéphane Ducasse wrote:
But mike the romePlugin is in the resources folder.
Stef
On Apr 14, 2010, at 11:16 AM, Michael Rueger wrote:
On 4/14/2010 10:06 AM, Cyrille Delaunay wrote:
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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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 On Apr 15, 2010, at 3:20 PM, Stéphane Ducasse wrote:
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
On Apr 14, 2010, at 6:09 PM, John M McIntosh wrote:
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.
On 2010-04-14, at 2:45 AM, Stéphane Ducasse wrote:
But mike the romePlugin is in the resources folder.
Stef
On Apr 14, 2010, at 11:16 AM, Michael Rueger wrote:
On 4/14/2010 10:06 AM, Cyrille Delaunay wrote:
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@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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
participants (4)
-
Cyrille Delaunay -
John M McIntosh -
Michael Rueger -
Stéphane Ducasse