Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-13 Thread Sven Van Caekenberghe
Hi Hans,

Did you see (read the class comment) of NoPharoFilesOpener and NoChangesLog ?

Sven

> On 13 Nov 2018, at 16:19, Baveco, Hans  wrote:
> 
> I have a pharo 6.1 image (based on the Moose 6.1 image) containing a small 
> application. I would like to distribute this without the source code. When I 
> run the application with the changes file present all is fine. When running 
> with the changes file removed, it mostly works ok but apparently the 
> functionality for e.g. creating png (linked to Cairo?) is not available. The 
> log file is attached.
>  
> Now looking a bit further into this I observed that in fact all the 6.1 
> images I work with seem to have this same problem, e.g. when displaying 
> Roassal graphs they display the red windows with crosses.
>  
> Is this option to run without a changes files supposed to work in 6.1 (on 
> windows)? What should I do to make it work? (noticed that there is no setting 
> anymore for this)
>  
> Hans
> 




Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-13 Thread Guillermo Polito
Still, in Pharo6 the absense of changes and sources files means also that
FFI calls cannot be done.
UFFI uses the method source code to map arguments, and if no source code is
available, FFI calls cannot be resolved.

This is solved in Pharo7 thanks to Vincent Blondeau by embedding argument
names into the method (and thus not requiring source code anymore).

If you need it, you can take the FFICompilerPlugin class +
(RBMethodNode>>ensureCachedArgumentNames) from Pharo7 and try to backport
them on your Pharo6 installation.

On Tue, Nov 13, 2018 at 4:29 PM Sven Van Caekenberghe  wrote:

> Hi Hans,
>
> Did you see (read the class comment) of NoPharoFilesOpener and
> NoChangesLog ?
>
> Sven
>
> > On 13 Nov 2018, at 16:19, Baveco, Hans  wrote:
> >
> > I have a pharo 6.1 image (based on the Moose 6.1 image) containing a
> small application. I would like to distribute this without the source code.
> When I run the application with the changes file present all is fine. When
> running with the changes file removed, it mostly works ok but apparently
> the functionality for e.g. creating png (linked to Cairo?) is not
> available. The log file is attached.
> >
> > Now looking a bit further into this I observed that in fact all the 6.1
> images I work with seem to have this same problem, e.g. when displaying
> Roassal graphs they display the red windows with crosses.
> >
> > Is this option to run without a changes files supposed to work in 6.1
> (on windows)? What should I do to make it work? (noticed that there is no
> setting anymore for this)
> >
> > Hans
> > 
>
>
>

-- 



Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - *http://www.cnrs.fr
*


*Web:* *http://guillep.github.io* 

*Phone: *+33 06 52 70 66 13


Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-14 Thread Baveco, Hans
Ok, thanks for this crucial information! Would backporting be as simple as 
filing out the class and the single method from Pharo7 and filing in in 
Pharo6.1 ? (probably not)

I could also move y application to Pharo 7, but sofar I haven’t been able to 
load Roassal2 in Pharo 7 (32bit). Any information on how to achieve this (on 
windows)? No Moose 7.0 image with Roassal preloaded available either, AFAIK...

Hans



From: Guillermo Polito 
Sent: dinsdag 13 november 2018 16:46
To: Any question about pharo is welcome 
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

Still, in Pharo6 the absense of changes and sources files means also that FFI 
calls cannot be done.
UFFI uses the method source code to map arguments, and if no source code is 
available, FFI calls cannot be resolved.

This is solved in Pharo7 thanks to Vincent Blondeau by embedding argument names 
into the method (and thus not requiring source code anymore).

If you need it, you can take the FFICompilerPlugin class + 
(RBMethodNode>>ensureCachedArgumentNames) from Pharo7 and try to backport them 
on your Pharo6 installation.

On Tue, Nov 13, 2018 at 4:29 PM Sven Van Caekenberghe 
mailto:s...@stfx.eu>> wrote:
Hi Hans,

Did you see (read the class comment) of NoPharoFilesOpener and NoChangesLog ?

Sven

> On 13 Nov 2018, at 16:19, Baveco, Hans 
> mailto:hans.bav...@wur.nl>> wrote:
>
> I have a pharo 6.1 image (based on the Moose 6.1 image) containing a small 
> application. I would like to distribute this without the source code. When I 
> run the application with the changes file present all is fine. When running 
> with the changes file removed, it mostly works ok but apparently the 
> functionality for e.g. creating png (linked to Cairo?) is not available. The 
> log file is attached.
>
> Now looking a bit further into this I observed that in fact all the 6.1 
> images I work with seem to have this same problem, e.g. when displaying 
> Roassal graphs they display the red windows with crosses.
>
> Is this option to run without a changes files supposed to work in 6.1 (on 
> windows)? What should I do to make it work? (noticed that there is no setting 
> anymore for this)
>
> Hans
> 



--

   [https://www.cristal.univ-lille.fr/videos/presentation.jpg] 
[https://intranet.cnrs.fr/Cnrs_pratique/communiquer/guides/PublishingImages/CNRS-filaire-Bichro-CMJN.jpg]


Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr



Web: http://guillep.github.io

Phone: +33 06 52 70 66 13




Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-14 Thread Guillermo Polito
Hi Hans,

On Wed, Nov 14, 2018 at 2:56 PM Baveco, Hans  wrote:

> Ok, thanks for this crucial information! Would backporting be as simple as
> filing out the class and the single method from Pharo7 and filing in in
> Pharo6.1 ? (probably not)
>

While not completely sure, I think they actually could work. Maybe you
found in the way a couple of other methods to backport, but I think that it
should not be that difficult.

This is the original issue that fixed this in Pharo7:

https://pharo.fogbugz.com/f/cases/21124/FFI-should-work-without-the-sources

And here the PR with the fix:

https://github.com/pharo-project/pharo/pull/739

There are a couple of more changes there, but not so many.


Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-20 Thread Vincent.Blondeau
Hi,

 

You may want to look at https://github.com/VincentBlondeau/Cruiser that 
contains all the actions needed to perform a clean packaging (Still in dev 
though).

The only issue is that it works for Pharo 7 only and you’ll need to backport 
changes (I can help you on that). Some changes are related to new VM primitives 
so you have to use the current stable one (which should also running the Pharo 
6.1 images).

 

Don’t hesitate to ask me if you need advices or help on this.

 

I could try to make the tool work on Pharo 6, but it could be incomplete 
especially on the FFI and stdio part.

 

HTH,

 

Cheers,

Vincent

 

From: Pharo-users  On Behalf Of Guillermo 
Polito
Sent: Wednesday, November 14, 2018 6:04
To: Any question about pharo is welcome 
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

 

Hi Hans,

On Wed, Nov 14, 2018 at 2:56 PM Baveco, Hans mailto:hans.bav...@wur.nl> > wrote:

Ok, thanks for this crucial information! Would backporting be as simple 
as filing out the class and the single method from Pharo7 and filing in in 
Pharo6.1 ? (probably not)

 

While not completely sure, I think they actually could work. Maybe you found in 
the way a couple of other methods to backport, but I think that it should not 
be that difficult.

 

This is the original issue that fixed this in Pharo7:

 

https://pharo.fogbugz.com/f/cases/21124/FFI-should-work-without-the-sources 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__pharo.fogbugz.com_f_cases_21124_FFI-2Dshould-2Dwork-2Dwithout-2Dthe-2Dsources&d=DwMFaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=zueS3nflFQs72ZqbAT4is78d2UpD9JXXi7jAp6Luxok&s=Gt8I-Pl8yzIRifPtshzLQaSp6N32UNhEcPVLmdyrYIg&e=>
 

 

And here the PR with the fix:

 

https://github.com/pharo-project/pharo/pull/739 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pharo-2Dproject_pharo_pull_739&d=DwMFaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=zueS3nflFQs72ZqbAT4is78d2UpD9JXXi7jAp6Luxok&s=Omu3Ix_N-j7eA6wU7S1AhC5mhH51qh8rmDonNQzete0&e=>
 

 

There are a couple of more changes there, but not so many.

 

 


pgpw1LKYPh89n.pgp
Description: PGP signature


Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-20 Thread Vincent.Blondeau
Have you seen https://ci.inria.fr/moose/job/moose-7.0/ ? Roassal is loaded on 
it.

 

Vincent

 

From: Pharo-users  On Behalf Of Baveco, 
Hans
Sent: Wednesday, November 14, 2018 5:56
To: Any question about pharo is welcome 
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

 

Ok, thanks for this crucial information! Would backporting be as simple as 
filing out the class and the single method from Pharo7 and filing in in 
Pharo6.1 ? (probably not)

 

I could also move y application to Pharo 7, but sofar I haven’t been able to 
load Roassal2 in Pharo 7 (32bit). Any information on how to achieve this (on 
windows)? No Moose 7.0 image with Roassal preloaded available either, AFAIK...

 

Hans

 

 

 

From: Guillermo Polito mailto:guillermopol...@gmail.com> > 
Sent: dinsdag 13 november 2018 16:46
To: Any question about pharo is welcome mailto:pharo-users@lists.pharo.org> >
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

 

Still, in Pharo6 the absense of changes and sources files means also that FFI 
calls cannot be done.

UFFI uses the method source code to map arguments, and if no source code is 
available, FFI calls cannot be resolved.

 

This is solved in Pharo7 thanks to Vincent Blondeau by embedding argument names 
into the method (and thus not requiring source code anymore).

 

If you need it, you can take the FFICompilerPlugin class + 
(RBMethodNode>>ensureCachedArgumentNames) from Pharo7 and try to backport them 
on your Pharo6 installation.

 

On Tue, Nov 13, 2018 at 4:29 PM Sven Van Caekenberghe mailto:s...@stfx.eu> > wrote:

Hi Hans,

Did you see (read the class comment) of NoPharoFilesOpener and 
NoChangesLog ?

Sven

> On 13 Nov 2018, at 16:19, Baveco, Hans mailto:hans.bav...@wur.nl> > wrote:
> 
> I have a pharo 6.1 image (based on the Moose 6.1 image) containing a 
small application. I would like to distribute this without the source code. 
When I run the application with the changes file present all is fine. When 
running with the changes file removed, it mostly works ok but apparently the 
functionality for e.g. creating png (linked to Cairo?) is not available. The 
log file is attached.
>  
> Now looking a bit further into this I observed that in fact all the 
6.1 images I work with seem to have this same problem, e.g. when displaying 
Roassal graphs they display the red windows with crosses.
>  
> Is this option to run without a changes files supposed to work in 6.1 
(on windows)? What should I do to make it work? (noticed that there is no 
setting anymore for this)
>  
> Hans
> 




 

-- 

<https://www.cristal.univ-lille.fr/videos/presentation.jpg>  
<https://intranet.cnrs.fr/Cnrs_pratique/communiquer/guides/PublishingImages/CNRS-filaire-Bichro-CMJN.jpg>
 

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cnrs.fr&d=DwMGaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=rFnD9DjncP_0vXO7hRBj0llOx0YzhSTsbuRmDZrGGtM&s=9rFQtErU11PdWWqZcUoKgHQ4ZOYIyLYEInx1ZzLx7xk&e=>
 

 

Web: http://guillep.github.io 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__guillep.github.io&d=DwMGaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=rFnD9DjncP_0vXO7hRBj0llOx0YzhSTsbuRmDZrGGtM&s=VubKa929o6wZ6rQrOCFJw5q19JibahF-Hw5Y_ww4z2c&e=>
 

Phone: +33 06 52 70 66 13

 


pgpJaTHNIx0bS.pgp
Description: PGP signature


Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-21 Thread Baveco, Hans
Thanks for the link! I could download the moose-7.0 image and changes files. 
However, to run it a specific version of the sources files 
(Pharo7.0-32bit-facd684.sources) seems to be required.
Where could that be found?

Hans


From: vincent.blond...@lamresearch.com 
Sent: woensdag 21 november 2018 3:35
To: pharo-users@lists.pharo.org
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

Have you seen https://ci.inria.fr/moose/job/moose-7.0/ ? Roassal is loaded on 
it.

Vincent

From: Pharo-users 
mailto:pharo-users-boun...@lists.pharo.org>>
 On Behalf Of Baveco, Hans
Sent: Wednesday, November 14, 2018 5:56
To: Any question about pharo is welcome 
mailto:pharo-users@lists.pharo.org>>
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

Ok, thanks for this crucial information! Would backporting be as simple as 
filing out the class and the single method from Pharo7 and filing in in 
Pharo6.1 ? (probably not)

I could also move y application to Pharo 7, but sofar I haven’t been able to 
load Roassal2 in Pharo 7 (32bit). Any information on how to achieve this (on 
windows)? No Moose 7.0 image with Roassal preloaded available either, AFAIK...

Hans



From: Guillermo Polito 
mailto:guillermopol...@gmail.com>>
Sent: dinsdag 13 november 2018 16:46
To: Any question about pharo is welcome 
mailto:pharo-users@lists.pharo.org>>
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

Still, in Pharo6 the absense of changes and sources files means also that FFI 
calls cannot be done.
UFFI uses the method source code to map arguments, and if no source code is 
available, FFI calls cannot be resolved.

This is solved in Pharo7 thanks to Vincent Blondeau by embedding argument names 
into the method (and thus not requiring source code anymore).

If you need it, you can take the FFICompilerPlugin class + 
(RBMethodNode>>ensureCachedArgumentNames) from Pharo7 and try to backport them 
on your Pharo6 installation.

On Tue, Nov 13, 2018 at 4:29 PM Sven Van Caekenberghe 
mailto:s...@stfx.eu>> wrote:
Hi Hans,

Did you see (read the class comment) of NoPharoFilesOpener and NoChangesLog ?

Sven

> On 13 Nov 2018, at 16:19, Baveco, Hans 
> mailto:hans.bav...@wur.nl>> wrote:
>
> I have a pharo 6.1 image (based on the Moose 6.1 image) containing a small 
> application. I would like to distribute this without the source code. When I 
> run the application with the changes file present all is fine. When running 
> with the changes file removed, it mostly works ok but apparently the 
> functionality for e.g. creating png (linked to Cairo?) is not available. The 
> log file is attached.
>
> Now looking a bit further into this I observed that in fact all the 6.1 
> images I work with seem to have this same problem, e.g. when displaying 
> Roassal graphs they display the red windows with crosses.
>
> Is this option to run without a changes files supposed to work in 6.1 (on 
> windows)? What should I do to make it work? (noticed that there is no setting 
> anymore for this)
>
> Hans
> 


--

   [https://www.cristal.univ-lille.fr/videos/presentation.jpg] 
[https://intranet.cnrs.fr/Cnrs_pratique/communiquer/guides/PublishingImages/CNRS-filaire-Bichro-CMJN.jpg]


Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - 
http://www.cnrs.fr<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cnrs.fr&d=DwMGaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=rFnD9DjncP_0vXO7hRBj0llOx0YzhSTsbuRmDZrGGtM&s=9rFQtErU11PdWWqZcUoKgHQ4ZOYIyLYEInx1ZzLx7xk&e=>



Web: 
http://guillep.github.io<https://urldefense.proofpoint.com/v2/url?u=http-3A__guillep.github.io&d=DwMGaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=rFnD9DjncP_0vXO7hRBj0llOx0YzhSTsbuRmDZrGGtM&s=VubKa929o6wZ6rQrOCFJw5q19JibahF-Hw5Y_ww4z2c&e=>

Phone: +33 06 52 70 66 13




Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-21 Thread Baveco, Hans
Hi Vincent,

Indeed your Cruiser tool proved very useful! It showed me how to implement some 
absolutely required aspects of packaging, in pharo 6.1 (i.e. the NoDebugger 
trick).

I tried also to get this independence of FFI of the sources working, by simply 
filing in the attached code (from P7) into P6.1. However this didn’t appear to 
do the job – maybe some additional actions are required (recompiling things?)?

Hans


From: vincent.blond...@lamresearch.com 
Sent: woensdag 21 november 2018 3:33
To: pharo-users@lists.pharo.org
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

Hi,

You may want to look at https://github.com/VincentBlondeau/Cruiser that 
contains all the actions needed to perform a clean packaging (Still in dev 
though).
The only issue is that it works for Pharo 7 only and you’ll need to backport 
changes (I can help you on that). Some changes are related to new VM primitives 
so you have to use the current stable one (which should also running the Pharo 
6.1 images).

Don’t hesitate to ask me if you need advices or help on this.

I could try to make the tool work on Pharo 6, but it could be incomplete 
especially on the FFI and stdio part.

HTH,

Cheers,
Vincent

From: Pharo-users 
mailto:pharo-users-boun...@lists.pharo.org>>
 On Behalf Of Guillermo Polito
Sent: Wednesday, November 14, 2018 6:04
To: Any question about pharo is welcome 
mailto:pharo-users@lists.pharo.org>>
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

Hi Hans,
On Wed, Nov 14, 2018 at 2:56 PM Baveco, Hans 
mailto:hans.bav...@wur.nl>> wrote:
Ok, thanks for this crucial information! Would backporting be as simple as 
filing out the class and the single method from Pharo7 and filing in in 
Pharo6.1 ? (probably not)

While not completely sure, I think they actually could work. Maybe you found in 
the way a couple of other methods to backport, but I think that it should not 
be that difficult.

This is the original issue that fixed this in Pharo7:

https://pharo.fogbugz.com/f/cases/21124/FFI-should-work-without-the-sources<https://urldefense.proofpoint.com/v2/url?u=https-3A__pharo.fogbugz.com_f_cases_21124_FFI-2Dshould-2Dwork-2Dwithout-2Dthe-2Dsources&d=DwMFaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=zueS3nflFQs72ZqbAT4is78d2UpD9JXXi7jAp6Luxok&s=Gt8I-Pl8yzIRifPtshzLQaSp6N32UNhEcPVLmdyrYIg&e=>

And here the PR with the fix:

https://github.com/pharo-project/pharo/pull/739<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pharo-2Dproject_pharo_pull_739&d=DwMFaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=zueS3nflFQs72ZqbAT4is78d2UpD9JXXi7jAp6Luxok&s=Omu3Ix_N-j7eA6wU7S1AhC5mhH51qh8rmDonNQzete0&e=>

There are a couple of more changes there, but not so many.




FFICompilerPlugin.st
Description: FFICompilerPlugin.st


RBMethodNode-ensureCachedArgumentNames.st
Description: RBMethodNode-ensureCachedArgumentNames.st


CompilationContext class-addDefaultTransformationPlugin.st
Description: CompilationContext class-addDefaultTransformationPlugin.st


CompilationContext class-defaultTransformationPlugins.st
Description: CompilationContext class-defaultTransformationPlugins.st


Re: [Pharo-users] problem when running without changes file (on windows)

2018-11-21 Thread Vincent.Blondeau
You are welcomed!

 

Here: https://ci.inria.fr/moose/job/moose-7.0/ws/Pharo7.0-32bit-facd684.sources

But that is not the way it should be, I changed the Jenkins config to include 
the missing file. Try to download it again it is in the last build.

 

Vincent

 

From: Baveco, Hans  
Sent: Wednesday, November 21, 2018 1:26
To: Blondeau, Vincent ; 
pharo-users@lists.pharo.org
Subject: RE: [Pharo-users] problem when running without changes file (on 
windows)

 

Thanks for the link! I could download the moose-7.0 image and changes files. 
However, to run it a specific version of the sources files 
(Pharo7.0-32bit-facd684.sources) seems to be required.

Where could that be found?

 

Hans

 

 

From: vincent.blond...@lamresearch.com 
<mailto:vincent.blond...@lamresearch.com>  mailto:vincent.blond...@lamresearch.com> > 
Sent: woensdag 21 november 2018 3:35
To: pharo-users@lists.pharo.org <mailto:pharo-users@lists.pharo.org> 
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

 

Have you seen https://ci.inria.fr/moose/job/moose-7.0/ 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__ci.inria.fr_moose_job_moose-2D7.0_&d=DwMGaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=lrmICKITc4tErtEvIE5rBdXuBuBjcAYCifF1kpSxn5k&s=r6g3Xp4GQrNA7aS5mMcNbkChQVAWrsc5b6w6barVhm8&e=>
  ? Roassal is loaded on it.

 

Vincent

 

From: Pharo-users mailto:pharo-users-boun...@lists.pharo.org> > On Behalf Of Baveco, Hans
Sent: Wednesday, November 14, 2018 5:56
To: Any question about pharo is welcome mailto:pharo-users@lists.pharo.org> >
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

 

Ok, thanks for this crucial information! Would backporting be as simple as 
filing out the class and the single method from Pharo7 and filing in in 
Pharo6.1 ? (probably not)

 

I could also move y application to Pharo 7, but sofar I haven’t been able to 
load Roassal2 in Pharo 7 (32bit). Any information on how to achieve this (on 
windows)? No Moose 7.0 image with Roassal preloaded available either, AFAIK...

 

Hans

 

 

 

From: Guillermo Polito mailto:guillermopol...@gmail.com> > 
Sent: dinsdag 13 november 2018 16:46
To: Any question about pharo is welcome mailto:pharo-users@lists.pharo.org> >
Subject: Re: [Pharo-users] problem when running without changes file (on 
windows)

 

Still, in Pharo6 the absense of changes and sources files means also that FFI 
calls cannot be done.

UFFI uses the method source code to map arguments, and if no source code is 
available, FFI calls cannot be resolved.

 

This is solved in Pharo7 thanks to Vincent Blondeau by embedding argument names 
into the method (and thus not requiring source code anymore).

 

If you need it, you can take the FFICompilerPlugin class + 
(RBMethodNode>>ensureCachedArgumentNames) from Pharo7 and try to backport them 
on your Pharo6 installation.

 

On Tue, Nov 13, 2018 at 4:29 PM Sven Van Caekenberghe mailto:s...@stfx.eu> > wrote:

Hi Hans,

Did you see (read the class comment) of NoPharoFilesOpener and 
NoChangesLog ?

Sven

> On 13 Nov 2018, at 16:19, Baveco, Hans mailto:hans.bav...@wur.nl> > wrote:
> 
> I have a pharo 6.1 image (based on the Moose 6.1 image) containing a 
small application. I would like to distribute this without the source code. 
When I run the application with the changes file present all is fine. When 
running with the changes file removed, it mostly works ok but apparently the 
functionality for e.g. creating png (linked to Cairo?) is not available. The 
log file is attached.
>  
> Now looking a bit further into this I observed that in fact all the 
6.1 images I work with seem to have this same problem, e.g. when displaying 
Roassal graphs they display the red windows with crosses.
>  
> Is this option to run without a changes files supposed to work in 6.1 
(on windows)? What should I do to make it work? (noticed that there is no 
setting anymore for this)
>  
> Hans
> 




 

-- 

<https://www.cristal.univ-lille.fr/videos/presentation.jpg>  
<https://intranet.cnrs.fr/Cnrs_pratique/communiquer/guides/PublishingImages/CNRS-filaire-Bichro-CMJN.jpg>
 

Guille Polito

Research Engineer

Centre de Recherche en Informatique, Signal et Automatique de Lille

CRIStAL - UMR 9189

French National Center for Scientific Research - http://www.cnrs.fr 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cnrs.fr&d=DwMGaQ&c=RWI7EqL8K9lqtga8KxgfzvOYoob76EZWE0yAO85PVMQ&r=kIZIYXBAA3fhM7P5HOuTC5w6mnEApTfXPTq3lR34ZiY&m=rFnD9DjncP_0vXO7hRBj0llOx0YzhSTsbuRmDZrGGtM&s=9rFQtErU11PdWWqZcUoKgHQ4ZOYIyLYEInx1ZzLx7xk&e=>
 

 

Web: http://guillep.github.io 
<https:/