So, I tried to load Phratch in multiple VM versions.
MIDIPlugins does not load if I use a one-click.

Else, If I use the vm + an image, it works fine.
Where is the problem ?

Here is the report of the latest one-click i found on pharo-project.org:

===
Image
-----
/Users/janniklaval/Desktop/Pharo2.0 3.app/Contents/Resources/Pharo2.0.image
Pharo2.0
Latest update: #20607
Unnamed

Virtual Machine
---------------
/Users/janniklaval/Desktop/Pharo2.0 3.app/Contents/MacOS/Pharo
NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
git://gitorious.org/cogvm/blessed.git Commit: 412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50 +0100 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14535

Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB<
VMMaker versionString git://gitorious.org/cogvm/blessed.git Commit: 412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50 +0100 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14535
NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013

Loaded VM Modules
-----------------
B2DPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
BitBltPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
FilePlugin VMMaker-oscog-EstebanLorenzano.236 (i)
LargeIntegers v1.5 VMMaker-oscog-EstebanLorenzano.236 (i)
LocalePlugin 9 June 2005 (e)
MiscPrimitivePlugin VMMaker-oscog-EstebanLorenzano.236 (i)
SecurityPlugin VMMaker-oscog-EstebanLorenzano.236 (i)

VM Built-in Modules
-------------------
ADPCMCodecPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
AioPlugin VMConstruction-Plugins-AioPlugin-EstebanLorenzano.13 (i)
B2DPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
BMPReadWriterPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
BitBltPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
ClipboardExtendedPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
DSAPrims VMMaker-oscog-EstebanLorenzano.236 (i)
DropPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
FFTPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
FilePlugin VMMaker-oscog-EstebanLorenzano.236 (i)
FloatArrayPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
GeniePlugin v2.0 13 March 2013 VMMaker-oscog-EstebanLorenzano.236 (i)
HostWindowPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
JPEGReadWriter2Plugin VMMaker-oscog-EstebanLorenzano.236 (i)
JPEGReaderPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
Klatt VMMaker-oscog-EstebanLorenzano.236 (i)
LargeIntegers v1.5 VMMaker-oscog-EstebanLorenzano.236 (i)
Matrix2x3Plugin VMMaker-oscog-EstebanLorenzano.236 (i)
MiscPrimitivePlugin VMMaker-oscog-EstebanLorenzano.236 (i)
NativeBoostPlugin NativeBoost-CogPlugin-EstebanLorenzano.18 (i)
RePlugin VMMaker-oscog-EstebanLorenzano.236 (i)
SecurityPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
SocketPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
SoundCodecPrims VMMaker-oscog-EstebanLorenzano.236 (i)
SoundPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
StarSqueakPlugin VMMaker-oscog-EstebanLorenzano.236 (i)
SurfacePlugin Mar 13 2013 (i)
UnixOSProcessPlugin VMConstruction-Plugins-OSProcessPlugin.oscog-eem.32 (i)
ZipPlugin VMMaker-oscog-EstebanLorenzano.236 (i)

===


On Jun 19, 2013, at 10:40 PM, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com> wrote:

At some point, I remember that there have been a mess when merging changes from interpreter-VM in cog-vm branch.
This might have infected the Pharo-branch and this plugin may have been retracted at that time.
I'm not really sure, but that would be my starting point for inquiring about MIDIPlugin status (that's what a CI server can serve well).


2013/6/19 jannik.laval <jannik.laval@gmail.com>
MIDIPlugin is loaded in a prvious PharoVM version (7.zip in the file directory).
Here is the system report, probably something has change since this version:

===
Image
-----
/Users/janniklaval/Desktop/Pharo-2.0/Pharo-2.0.image
Pharo2.0
Latest update: #20593
Unnamed

Virtual Machine
---------------
/Users/janniklaval/Desktop/Pharo-2.0/Pharo.app/Contents/MacOS/Pharo
NBCoInterpreter NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Dec 12 2012
NBCogit NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Dec 12 2012
git://gitorious.org/cogvm/blessed.git Commit: 452863bdfba2ba0b188e7b172e9bc597a2caa928 Date: 2012-12-07 16:49:46 +0100 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #5922

Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB<
VMMaker versionString git://gitorious.org/cogvm/blessed.git Commit: 452863bdfba2ba0b188e7b172e9bc597a2caa928 Date: 2012-12-07 16:49:46 +0100 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #5922
NBCoInterpreter NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Dec 12 2012
NBCogit NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Dec 12 2012
===

Jannik

On Jun 19, 2013, at 10:05 PM, NISHIHARA Satoshi <goonsh@gmail.com> wrote:

caseOf: MacOSX

1. MIDIPlugin in Pharo vm requires SerialPlugin (see sqMacMIDI.c). 
2. source of SerialPlugin is sqUnixSerial.c (see MacOSConfig>>configureSerialPlugin: in vmmaker-image).
3. at midiInit() of sqMacMIDI.c, it checks the functions of SerialPlugin, but functions below ware missing.
  serialPortIsOpen
  serialPortSetControl
  serialPortNames
  serialPortCount
So midiInit() returns interpreterProxy success: false. it causes primitive error while loading.

2013/05/03, i'd tried to build vm after these ioLoadFunctionFrom 4 functions comment out, and load sound package from PharoExtras, it could use ScorePlayer. yes, checked midi-out only.

at least up to Pharo 1.2 MIDIPlugin was loaded.

regards.




2013/6/20 jannik.laval <jannik.laval@gmail.com>
In a previous version it was loaded, but I don't remember which one.

Jannik

On Jun 19, 2013, at 9:24 PM, St�phane Ducasse <stephane.ducasse@inria.fr> wrote:

yes.

On Jun 19, 2013, at 6:56 PM, NISHIHARA Satoshi <goonsh@gmail.com> wrote:

Mac OS X?


2013/6/19 jannik laval <jannik.laval@gmail.com>
Hi pharoers,

It seems that MidiPlugin is not loaded in Pharo2.0.
The plugin is present in the repository, but when I try "Smalltalk loadModule: 'MIDIPlugin'" it raises an error.

In "Smalltalk listLoadedModules" and "Smalltalk listBuiltinModules" there is no MIDIPlugin.
Could someone give me some help to solve this ?

Jannik



--
--
"NISHIHARA Satoshi"
[:goonsh :nsh | ^ nishis perform: goonsh with: nsh]





--
--
"NISHIHARA Satoshi"
[:goonsh :nsh | ^ nishis perform: goonsh with: nsh]