[Pharo-dev] Some issues in starting Pharo12 - Re: [Pharo-users] [ANN] Pharo 12 Release !
Hi Guys, I'm trying to play with Pharo12 so I downloaded it via the Zeroconf script (it seems to me more approachable than the Pharo Launcher).The script (curl -L https://get.pharo.org | bash) got everything for my machine (apple silicon). Now, if I run pharo via command line everything is working, but if I double click on Pharo.app and select the image file Pharo.image nothing happens. Can you check that behavior, please? TIADavide - On Friday, April 26, 2024 at 12:20:41 PM GMT+2, Esteban Lorenzano via Pharo-users wrote: Dear Pharo users and dynamic language lovers: We have released Pharo version 12! What is Pharo?
Re: [Pharo-dev] Problem with accentuated characters
--- Begin Message --- Hi Benoît >From times to times it happens also to me, I think is relate to a bug I reported some times ago: https://pharo.fogbugz.com/f/cases/18902 Davide Pharo Smalltalk Developers mailing list wrote > I am a bit puzzled by Pharo's (Pharo 5) behavior when having accentuated > characters inside a string. > I have a method that sends cascaded messages and it automatically gets > "reformated" with a temp variable. > This is the original code I typed and tried to save: > leCarreEtLes4Coins > ^ self new > tiles: #(1 5 7 8 9 12 13 14 17 18 19 21 25); > name: 'Le carré et les 4 coins' > > > This is how Pharo reformats my code when I save! > leCarreEtLes4Coins > | tmp2 | > tmp2 := self new. > tmp2 tiles: #(1 5 7 8 9 12 13 14 17 18 19 21 25). > ^ tmp2 name: 'Le carré et les 4 coins' > > Has anyone seen this behavior? > > More details: > Pharo5.0 > Latest update: #50760Virtual Machine > --- > E:\Pharo5-dev\Pharo.exe > CoInterpreter VMMaker.oscog-eem.1855 uuid: > d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 > StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: > d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 > https://github.com/pharo-project/pharo-vm.git Commit: > b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 +0200 > By: Esteban Lorenzano > estebanlm@ > Jenkins build #589 > > Win32 built on May 4 2016 12:17:02 Compiler: 4.6.2 > VMMaker versionString https://github.com/pharo-project/pharo-vm.git > Commit: b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 > +0200 By: Esteban Lorenzano > estebanlm@ > Jenkins build #589 > CoInterpreter VMMaker.oscog-eem.1855 uuid: > d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 > StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: > d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 > Loaded VM Modules > - > B2DPlugin VMMaker.oscog-eem.1855 (i) > BitBltPlugin VMMaker.oscog-eem.1855 (i) > FT2Plugin Freetype-Plugin-EstebanLorenzano.69 (e) > FilePlugin VMMaker.oscog-eem.1855 (i) > FloatArrayPlugin VMMaker.oscog-eem.1855 (i) > Kernel32 > LargeIntegers v2.0 VMMaker.oscog-eem.1855 (i) > LocalePlugin VMMaker.oscog-eem.1855 (i) > Matrix2x3Plugin VMMaker.oscog-eem.1855 (i) > MiscPrimitivePlugin VMMaker.oscog-eem.1855 (i) > SecurityPlugin VMMaker.oscog-eem.1855 (i) > SocketPlugin VMMaker.oscog-eem.1855 (i) > SqueakFFIPrims > SurfacePlugin May 4 2016 (e) > UUIDPlugin VMMaker.oscog-eem.1855 (i) > ZipPlugin VMMaker.oscog-eem.1855 (i) > > VM Built-in Modules > --- > ADPCMCodecPlugin VMMaker.oscog-eem.1855 (i) > AsynchFilePlugin VMMaker.oscog-eem.1855 (i) > B2DPlugin VMMaker.oscog-eem.1855 (i) > B3DAcceleratorPlugin VMMaker.oscog-eem.1855 (i) > BMPReadWriterPlugin VMMaker.oscog-eem.1855 (i) > BitBltPlugin VMMaker.oscog-eem.1855 (i) > CroquetPlugin VMMaker.oscog-eem.1855 (i) > DSAPrims CryptographyPlugins-rww.10 (i) > DropPlugin VMMaker.oscog-eem.1855 (i) > FFTPlugin VMMaker.oscog-eem.1855 (i) > FilePlugin VMMaker.oscog-eem.1855 (i) > FloatArrayPlugin VMMaker.oscog-eem.1855 (i) > FloatMathPlugin VMMaker.oscog-eem.1855 (i) > HostWindowPlugin VMMaker.oscog-eem.1855 (i) > IA32ABI VMMaker.oscog-eem.1855 (i) > JPEGReadWriter2Plugin VMMaker.oscog-eem.1855 (i) > JPEGReaderPlugin VMMaker.oscog-eem.1855 (i) > JoystickTabletPlugin VMMaker.oscog-eem.1855 (i) > Klatt VMMaker.oscog-eem.1855 (i) > LargeIntegers v2.0 VMMaker.oscog-eem.1855 (i) > LocalePlugin VMMaker.oscog-eem.1855 (i) > MIDIPlugin VMMaker.oscog-eem.1855 (i) > Matrix2x3Plugin VMMaker.oscog-eem.1855 (i) > MiscPrimitivePlugin VMMaker.oscog-eem.1855 (i) > Mpeg3Plugin VMMaker.oscog-eem.1855 (i) > RePlugin VMMaker.oscog-eem.1855 (i) > SDL2DisplayPlugin SDL2DisplayPlugin-RonieSalgado.1 (i) > SecurityPlugin VMMaker.oscog-eem.1855 (i) > SerialPlugin VMMaker.oscog-eem.1855 (i) > SocketPlugin VMMaker.oscog-eem.1855 (i) > SoundCodecPrims VMMaker.oscog-eem.1855 (i) > SoundPlugin VMMaker.oscog-eem.1855 (i) > SqueakFFIPrims > StarSqueakPlugin VMMaker.oscog-eem.1855 (i) > UUIDPlugin VMMaker.oscog-eem.1855 (i) > Win32OSProcessPlugin > VMConstruction-Plugins-OSProcessPlugin.oscog-EstebanLorenzano.53 (i) > ZipPlugin VMMaker.oscog-eem.1855 (i) > > VM Configuration > > E:\Pharo5-dev\Pharo.ini > [Global] > DeferUpdate=0 > ShowConsole=0 > DynamicConsole=1 > ReduceCPUUsage=1 > ReduceCPUInBackground=1 > 3ButtonMouse=0 > 1ButtonMouse=0 > UseDirectSound=1 > PriorityBoost=0 > B3DXUsesOpenGL=0 > CaseSensitiveFileMode=0 > > Operating System/Hardware > - > Win32 6.2 IX86 > > Operating System Details > > Operating System: Windows 10 Home (Build 9200 ) > Registered Owner: ??? > Registered Company: ??? > SP major version: 0 > SP minor version: 0 > Suite mask: 300 > Product type: 1 > > - > Benoît St-Jean > Yahoo! Messenger: bstjean > Twitter: @BenLeChialeux > Pinterest: benoitstjean > Instagram:
Re: [Pharo-dev] AioPlugin not present
--- Begin Message --- Thanks Esteban, I tested the last version of vm: CoInterpreter * VMMaker.oscog-eem.2107 uuid: 19c0fa53-acc2-40f9-9a07-17510e614ae5 Jan 23 2017 StackToRegisterMappingCogit * VMMaker.oscog-eem.2107 uuid: 19c0fa53-acc2-40f9-9a07-17510e614ae5 Jan 23 2017 VM: 201701231021 https://github.com/pharo-project/pharo-vm.git $ Date: Mon Jan 23 11:21:48 2017 +0100 $ Plugins: 201701231021 https://github.com/pharo-project/pharo-vm.git $ and OSProcess works immediately. Thank you very much Davide EstebanLM wrote >> On 23 Jan 2017, at 00:56, David T. Lewis > lewis@.msen > wrote: >> >> On Sun, Jan 22, 2017 at 05:00:04PM +0100, Thierry Goubier wrote: >>> >>> Le 22/01/2017 ? 15:50, Davide Varvello via Pharo-dev a ?crit : >>>> Hi Thierry, >>>> >>>> I need it for the OSProcess. When my code calls OSProcess the warning >>>> (http://imgur.com/a/9jhMy) appears. >>>> >>>> It happens only once. If I close the warning window It does not happen >>>> again, but of course if I restart the image it appears once again, so I >>>> have >>>> to find a way to include it or another workaround >>>> >>>> Cheers >>>> Davide >>> >>> Hi Davide, >>> >>> I do use OSProcess in some cases; last time, I just rewrote that part to >>> emit a notification (and not raise a popup). >>> >>> Regards, >>> >>> Thierry >> >> I am not sure why the AIOPlugin is not being included in the VMs. > > me neither :) > I added AioPlugin (as external) to all linux distributions… they will be > available in latest VMs. > > can someone test it? > > Esteban > >> >> Whatever the reason for that, the notifier about the missing plugin was >> too annoying, so I got rid of it in the latest OSProcess update: >> >> Name: OSProcess-Base-dtl.56 >> Time: 17 January 2017, 8:47:36.321587 am >> >> OSProcess 4.6.7 >> >> Add nil checks in #shutDown: to prevent failures when exiting existing >> image with a VM that does not include OSPP (e.g. SqueakJS). >> >> For AIO event hander, if the AIO plugin is not present, write an error >> to console rather than interrupting the image with a notifer. Reduces >> the >> annoyance level if VM provider provides OSPP but neglects to include the >> AIO plugin. >> >> Dave >> >> -- View this message in context: http://forum.world.st/AioPlugin-not-present-tp4929932p4930556.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] AioPlugin not present
--- Begin Message --- Thanks Esteban, I'm gonna download the vm, try the plugin and feedback you. Thanks Davide EstebanLM wrote >> On 23 Jan 2017, at 00:56, David T. Lewis > lewis@.msen > wrote: >> >> On Sun, Jan 22, 2017 at 05:00:04PM +0100, Thierry Goubier wrote: >>> >>> Le 22/01/2017 ? 15:50, Davide Varvello via Pharo-dev a ?crit : >>>> Hi Thierry, >>>> >>>> I need it for the OSProcess. When my code calls OSProcess the warning >>>> (http://imgur.com/a/9jhMy) appears. >>>> >>>> It happens only once. If I close the warning window It does not happen >>>> again, but of course if I restart the image it appears once again, so I >>>> have >>>> to find a way to include it or another workaround >>>> >>>> Cheers >>>> Davide >>> >>> Hi Davide, >>> >>> I do use OSProcess in some cases; last time, I just rewrote that part to >>> emit a notification (and not raise a popup). >>> >>> Regards, >>> >>> Thierry >> >> I am not sure why the AIOPlugin is not being included in the VMs. > > me neither :) > I added AioPlugin (as external) to all linux distributions… they will be > available in latest VMs. > > can someone test it? > > Esteban > >> >> Whatever the reason for that, the notifier about the missing plugin was >> too annoying, so I got rid of it in the latest OSProcess update: >> >> Name: OSProcess-Base-dtl.56 >> Time: 17 January 2017, 8:47:36.321587 am >> >> OSProcess 4.6.7 >> >> Add nil checks in #shutDown: to prevent failures when exiting existing >> image with a VM that does not include OSPP (e.g. SqueakJS). >> >> For AIO event hander, if the AIO plugin is not present, write an error >> to console rather than interrupting the image with a notifer. Reduces >> the >> annoyance level if VM provider provides OSPP but neglects to include the >> AIO plugin. >> >> Dave >> >> -- View this message in context: http://forum.world.st/AioPlugin-not-present-tp4929932p4930510.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] AioPlugin not present
--- Begin Message --- Hi Thierry, I need it for the OSProcess. When my code calls OSProcess the warning (http://imgur.com/a/9jhMy) appears. It happens only once. If I close the warning window It does not happen again, but of course if I restart the image it appears once again, so I have to find a way to include it or another workaround Cheers Davide Thierry Goubier wrote > Hi Davide, > > at one point in the past, the AioPlugin was present in the latest vm and > not in the stable one. It seems than now this plugin is not built anymore. > > Do you have any special requirements on the AioPlugin? > > Regards, > > Thierry > > Le 22/01/2017 à 01:05, Davide Varvello via Pharo-dev a écrit : >> Other hints? >> TIA >> Davide -- View this message in context: http://forum.world.st/AioPlugin-not-present-tp4929932p4930254.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] AioPlugin not present
--- Begin Message --- Other hints? TIA Davide -- View this message in context: http://forum.world.st/AioPlugin-not-present-tp4929932p4930233.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] AioPlugin not present
--- Begin Message --- Thanks Ben Davide Ben Coman wrote > hi Davide, > > Sorry I don't know the answer, but I discovered your original email hidden > in my spam folder. Perhaps similar happened to others. > > cheers -ben > > On Sat, Jan 21, 2017 at 12:08 AM, Davide Varvello via Pharo-dev < > pharo-dev@.pharo >> wrote: > >> >> >> ------ Forwarded message -- >> From: Davide Varvello > varvello@ > >> To: > pharo-dev@.pharo >> Cc: >> Date: Fri, 20 Jan 2017 08:08:22 -0800 (PST) >> Subject: Re: AioPlugin not present >> Nobody? >> >> Davide >> >> > > > On Thu, Jan 19, 2017 at 11:05 PM, Davide Varvello > varvello@ > > wrote: > >> Hi Folks, >> >> Actually It seems on the linux vm the AioPlugin isn't included. >> >> I worked on old vm, but I also downloaded the latest vm >> http://files.pharo.org/vm/pharo-spur32/linux/latest.zip and the result is >> the same. >> >> See the screenshot here http://imgur.com/a/9jhMy >> >> How can I add the plugin? >> >> TIA >> Davide >> >> -- View this message in context: http://forum.world.st/AioPlugin-not-present-tp4929932p4930138.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] AioPlugin not present
--- Begin Message --- Nobody? Davide -- View this message in context: http://forum.world.st/AioPlugin-not-present-tp4929932p4930112.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023
Thanks guys, The forum.world.st didn't send me your replies and only now I'm aware of your replies. Thanks again Davide Clément Bera-4 wrote > Hi, > > This will be fixed by using the alternative bytecode set, likely in the > next few weeks in Pharo 6 alpha/beta. Basically control flow messages > (ifTrue:, to:do:, etc.) cannot have too many statements in their blocks > (ifTrue: argument, to:do: second arguments, etc) or the compiler can't > compile them due to bytecode set encoding limitation. The new bytecode set > is encoded differently and allows such code to be compiled. > > As a temporary solution, you need to split your code in multiple methods > to > lower the number of statements inside blocks inside control flow messages. > > Sorry for the annoyance. We're working on integrating a solution and we > believe that this will be integrated in Pharo 6 in the next few weeks. > > Regards, > > Clement > > On Wed, Dec 7, 2016 at 4:14 PM, Davide Varvello via Pharo-dev < > pharo-dev@.pharo >> wrote: > >> >> >> -- Forwarded message -- >> From: Davide Varvello > varvello@ > >> To: > pharo-dev@.pharo >> Cc: >> Date: Wed, 7 Dec 2016 07:14:35 -0800 (PST) >> Subject: genJumpLong: distance index 1043 is out of range -1024 to 1023 >> Hi, >> >> Sometimes (and also today) after formatting and saving a method, an Error >> is >> thrown. >> Following a chunk of PharoDebug.log >> >> TIA >> Davide >> >> >> - >> THERE_BE_DRAGONS_HERE >> Error: genJumpLong: distance index 1043 is out of range -1024 to 1023 >> 7 December 2016 4:21:53.0426 pm >> >> VM: Mac OS - intel - 1096 - CoInterpreter >> VMMaker.oscog-HolgerHansPeterFreyther.1880 uuid: >> 16138eb3-2390-40f5-a6c8-15f0494936f8 Sep 30 2016 >> StackToRegisterMappingCogit VMMaker.oscog-HolgerHansPeterFreyther.1880 >> uuid: >> 16138eb3-2390-40f5-a6c8-15f0494936f8 Sep 30 2016 >> https://github.com/pharo-project/pharo-vm.git Commit: >> 06744effac0f0aa3b4b32e17636448f9d51d6707 Date: 2016-09-30 08:40:43 +0200 >> By: >> GitHub > noreply@ > Jenkins build #603 >> >> Image: Pharo5.0 [Latest update: #50763] >> >> OpalEncoderForV3PlusClosures(Object)>>error: >> Receiver: an OpalEncoderForV3PlusClosures >> Arguments and temporary variables: >> aString:'genJumpLong: distance index 1043 is out >> of range -1024 to 1023' >> Receiver's instance variables: >> stream: an IRBytecodeGenerator >> position: nil >> rootNode: nil >> blockExtentsToLocals: nil >> >> >> OpalEncoderForV3PlusClosures(OpalBytecodeEncoder)>> >> outOfRangeError:index:range:to: >> Receiver: an OpalEncoderForV3PlusClosures >> Arguments and temporary variables: >> string: 'distance' >> index: 1043 >> rangeStart: -1024 >> rangeEnd: 1023 >> Receiver's instance variables: >> stream: an IRBytecodeGenerator >> position: nil >> rootNode: nil >> blockExtentsToLocals: nil >> >> >> OpalEncoderForV3PlusClosures(OpalEncoderForV3)>>genJumpLong: >> Receiver: an OpalEncoderForV3PlusClosures >> Arguments and temporary variables: >> distance: 1043 >> Receiver's instance variables: >> stream: an IRBytecodeGenerator >> position: nil >> rootNode: nil >> blockExtentsToLocals: nil >> >> >> OpalEncoderForV3PlusClosures(OpalEncoderForV3)>>genJump: >> Receiver: an OpalEncoderForV3PlusClosures >> Arguments and temporary variables: >> distance: 1043 >> Receiver's instance variables: >> stream: an IRBytecodeGenerator >> position: nil >> rootNode: nil >> blockExtentsToLocals: nil >> >> >> >> -- >> View this message in context: http://forum.world.st/ >> genJumpLong-distance-index-1043-is-out-of-range-1024-to- >> 1023-tp4926103.html >> Sent from the Pharo Smalltalk Developers mailing list archive at >> Nabble.com. >> >> >> -- View this message in context: http://forum.world.st/genJumpLong-distance-index-1043-is-out-of-range-1024-to-1023-tp4926104p4929935.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
[Pharo-dev] AioPlugin not present
Hi Folks, Actually It seems on the linux vm the AioPlugin isn't included. I worked on old vm, but I also downloaded the latest vm http://files.pharo.org/vm/pharo-spur32/linux/latest.zip and the result is the same. See the screenshot here http://imgur.com/a/9jhMy How can I add the plugin? TIA Davide -- View this message in context: http://forum.world.st/AioPlugin-not-present-tp4929932.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
[Pharo-dev] genJumpLong: distance index 1043 is out of range -1024 to 1023
--- Begin Message --- Hi, Sometimes (and also today) after formatting and saving a method, an Error is thrown. Following a chunk of PharoDebug.log TIA Davide - THERE_BE_DRAGONS_HERE Error: genJumpLong: distance index 1043 is out of range -1024 to 1023 7 December 2016 4:21:53.0426 pm VM: Mac OS - intel - 1096 - CoInterpreter VMMaker.oscog-HolgerHansPeterFreyther.1880 uuid: 16138eb3-2390-40f5-a6c8-15f0494936f8 Sep 30 2016 StackToRegisterMappingCogit VMMaker.oscog-HolgerHansPeterFreyther.1880 uuid: 16138eb3-2390-40f5-a6c8-15f0494936f8 Sep 30 2016 https://github.com/pharo-project/pharo-vm.git Commit: 06744effac0f0aa3b4b32e17636448f9d51d6707 Date: 2016-09-30 08:40:43 +0200 By: GitHubJenkins build #603 Image: Pharo5.0 [Latest update: #50763] OpalEncoderForV3PlusClosures(Object)>>error: Receiver: an OpalEncoderForV3PlusClosures Arguments and temporary variables: aString:'genJumpLong: distance index 1043 is out of range -1024 to 1023' Receiver's instance variables: stream: an IRBytecodeGenerator position: nil rootNode: nil blockExtentsToLocals: nil OpalEncoderForV3PlusClosures(OpalBytecodeEncoder)>>outOfRangeError:index:range:to: Receiver: an OpalEncoderForV3PlusClosures Arguments and temporary variables: string: 'distance' index: 1043 rangeStart: -1024 rangeEnd: 1023 Receiver's instance variables: stream: an IRBytecodeGenerator position: nil rootNode: nil blockExtentsToLocals: nil OpalEncoderForV3PlusClosures(OpalEncoderForV3)>>genJumpLong: Receiver: an OpalEncoderForV3PlusClosures Arguments and temporary variables: distance: 1043 Receiver's instance variables: stream: an IRBytecodeGenerator position: nil rootNode: nil blockExtentsToLocals: nil OpalEncoderForV3PlusClosures(OpalEncoderForV3)>>genJump: Receiver: an OpalEncoderForV3PlusClosures Arguments and temporary variables: distance: 1043 Receiver's instance variables: stream: an IRBytecodeGenerator position: nil rootNode: nil blockExtentsToLocals: nil -- View this message in context: http://forum.world.st/genJumpLong-distance-index-1043-is-out-of-range-1024-to-1023-tp4926103.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] FileException only when opening image in certain way...
--- Begin Message --- I opened a bug: https://pharo.fogbugz.com/f/cases/18872/Pharo5-vm-crash-on-mac Davide Pharo Smalltalk Developers mailing list wrote > Moreover, on Pharo4 it's working. > Davide > > > > > Dale Henrichs-3 wrote >> Mariano, >> >> I think your problem might have something to do with how the PWD env var >> is managed in OSX ... Check the value of the 'PWD' in your different >> examples and see if that sheds any light ... >> >> Dale >> >> On 7/26/16 5:49 AM, Mariano Martinez Peck wrote: >>> >>> >>> On Tue, Jul 26, 2016 at 9:48 AM, Mariano Martinez Peck >>> > >> marianopeck@ > >> mailto: > >> marianopeck@ > >> > wrote: >>> >>> Hi guys, >>> >>> Davide Varvello reported me an issue with Fuel, failing to do: >>> >>> FLSerializer serialize: 'whatever' toFileNamed: 'demo.fuel'. >>> >>> Such a thing would bring an error like this: >>> >>> File>>openForWrite: >>> File>>openForWrite >>> File>>writeStream >>> File>>writeStreamDo: >>> FLPharo5Platform>>fileNamed:writeStreamDo: >>> FLSerializer>>serialize:toFileNamed: >>> FLSerializer class>>serialize:toFileNamed: >>> >>> The code is: >>> >>> FLPharo5Platform >> fileNamed: aFilename writeStreamDo: aBlock >>> ^ ((Smalltalk at: #File) named: aFilename) writeStreamDo: [ :stream >>> | >>> stream binary. >>> aBlock value: stream ] >>> >>> >>> Now..I have tried to reproduce it but it happens only depending on >>> how the vm/image was started!!! And I only tested on OSX. >>> >>> Download the oneclick from here: >>> http://files.pharo.org/platform/Pharo5.0-mac.zip and see my results: >>> >>> 1) Executing VM from command line and passing the image as >>> argument: WORKS. >>> 2) Double clicking on the internal Pharo binary (which auto-starts >>> the image): WORKS >>> 3) Double clicking the internal Pharo image and then "Open With" >>> and I select the Pharo VM: DOES NOT WORK. >>> 4) Double clicking the Pharo one click: DOES NOT WORK. >>> >>> >>> I forgot to said... if you create the file in advance, with something >>> like: >>> >>> FileStream forceNewFileNamed: 'demo.fuel' do: [ :aStream | >>> FLSerializer serialize: 'whatever' on: aStream binary ] >>> >>> It does work in all cases. >>> >>> Has anyone experienced something like this? Looks like different >>> file / directory permissions when starting in different ways? >>> >>> Thanks in advance, >>> >>> >>> >>> -- >>> Mariano >>> http://marianopeck.wordpress.com >>> >>> >>> >>> >>> -- >>> Mariano >>> http://marianopeck.wordpress.com > > > > > > -- > View this message in context: > http://forum.world.st/FileException-only-when-opening-image-in-certain-way-tp4908014p4908034.html > Sent from the Pharo Smalltalk Developers mailing list archive at > Nabble.com. -- View this message in context: http://forum.world.st/FileException-only-when-opening-image-in-certain-way-tp4908014p4910595.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] FileException only when opening image in certain way...
--- Begin Message --- Moreover, on Pharo4 it's working. Davide Dale Henrichs-3 wrote > Mariano, > > I think your problem might have something to do with how the PWD env var > is managed in OSX ... Check the value of the 'PWD' in your different > examples and see if that sheds any light ... > > Dale > > On 7/26/16 5:49 AM, Mariano Martinez Peck wrote: >> >> >> On Tue, Jul 26, 2016 at 9:48 AM, Mariano Martinez Peck >> > marianopeck@ > mailto: > marianopeck@ > > wrote: >> >> Hi guys, >> >> Davide Varvello reported me an issue with Fuel, failing to do: >> >> FLSerializer serialize: 'whatever' toFileNamed: 'demo.fuel'. >> >> Such a thing would bring an error like this: >> >> File>>openForWrite: >> File>>openForWrite >> File>>writeStream >> File>>writeStreamDo: >> FLPharo5Platform>>fileNamed:writeStreamDo: >> FLSerializer>>serialize:toFileNamed: >> FLSerializer class>>serialize:toFileNamed: >> >> The code is: >> >> FLPharo5Platform >> fileNamed: aFilename writeStreamDo: aBlock >> ^ ((Smalltalk at: #File) named: aFilename) writeStreamDo: [ :stream | >> stream binary. >> aBlock value: stream ] >> >> >> Now..I have tried to reproduce it but it happens only depending on >> how the vm/image was started!!! And I only tested on OSX. >> >> Download the oneclick from here: >> http://files.pharo.org/platform/Pharo5.0-mac.zip and see my results: >> >> 1) Executing VM from command line and passing the image as >> argument: WORKS. >> 2) Double clicking on the internal Pharo binary (which auto-starts >> the image): WORKS >> 3) Double clicking the internal Pharo image and then "Open With" >> and I select the Pharo VM: DOES NOT WORK. >> 4) Double clicking the Pharo one click: DOES NOT WORK. >> >> >> I forgot to said... if you create the file in advance, with something >> like: >> >> FileStream forceNewFileNamed: 'demo.fuel' do: [ :aStream | >> FLSerializer serialize: 'whatever' on: aStream binary ] >> >> It does work in all cases. >> >> Has anyone experienced something like this? Looks like different >> file / directory permissions when starting in different ways? >> >> Thanks in advance, >> >> >> >> -- >> Mariano >> http://marianopeck.wordpress.com >> >> >> >> >> -- >> Mariano >> http://marianopeck.wordpress.com -- View this message in context: http://forum.world.st/FileException-only-when-opening-image-in-certain-way-tp4908014p4908034.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] canc/del closes windows
--- Begin Message --- Paul, I'm on an iMac, the keyboard is the standard wired one. here is the guilty key :-) http://imgur.com/xp8mRtI Davide Paul DeBruicker wrote > Hi Davide & Ben, > > I've seen this while using an external keyboard, on a Mac Air laptop > (10.11.4 right now), using Pharo 4. The mac laptop has a key marked > 'Delete' which is in the 'backspace' location .e.g two keys above > enter/return, it doesn't happen with that key. It happens with the Del > key above the number pad on the external apple keyboard I sometimes use. > I think I've also seen it with a Dell keyboard and can try it with other > external keyboards tomorrow. > > > Its annoying for sure when it surprises you. > > > Paul > > > > > Pharo Smalltalk Developers mailing list wrote >> Hi Guys, >> Is it only me that sometimes hitting canc/del closes the current window? >> >> It's really annoying, I'm on a mac and I guess it's related to cmd button >> because if I click the cmd button afterward, it disappears (until next >> time). >> >> I tried also on several macs but the result is the same. >> >> TIA >> Davide >> >> >> >> -- >> View this message in context: >> http://forum.world.st/canc-del-closes-windows-tp405.html >> Sent from the Pharo Smalltalk Developers mailing list archive at >> Nabble.com. -- View this message in context: http://forum.world.st/canc-del-closes-windows-tp407p4888903.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] canc/del closes windows
--- Begin Message --- Image - Pharo4.0 Latest update: #40609 Unnamed Virtual Machine --- /Users/.../Pharo4.0.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014 NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014 https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano <esteba...@gmail.com> Jenkins build #14858 Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString https://github.com/pharo-project/pharo-vm.git Commit: 81b5d19917dcb78f22482a780deec48c53738396 Date: 2014-09-20 14:36:18 +0200 By: Esteban Lorenzano <esteba...@gmail.com> Jenkins build #14858 NBCoInterpreter NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014 NBCogit NativeBoost-CogPlugin-HolgerHansPeterFreyther.21 uuid: e0df6e2d-5694-40e2-8035-dc217200b424 Sep 25 2014 Ben Coman wrote > On Thu, Apr 7, 2016 at 8:56 PM, Davide Varvello via Pharo-dev > > pharo-dev@.pharo > wrote: >> >> >> ------ Forwarded message -- >> From: Davide Varvello > varvello@ > >> To: > pharo-dev@.pharo >> Cc: >> Date: Thu, 7 Apr 2016 05:24:04 -0700 (PDT) >> Subject: Re: canc/del closes windows >> Hi Ben, >> >> With "it disappears" I intend that weird behaviour. It happens sometimes, >> I >> can't show you a screenshot because it's random. >> >> Usually, I'm on a system browser or on a playground and I hit the delete >> key >> and the window closes itself. >> If I'm lucky and I have just written something without saving and I click >> on >> the delete key, it appears the alert window: "Code has been modified. >> What >> do you want to do?", so I close the alert, click the cmd key and then I >> can >> click the delete key to cancel my writings. > > Sorry nothing comes to mind. > btw, What version and VM are you on? >World > System > System Reporter... > > cheers -ben -- View this message in context: http://forum.world.st/canc-del-closes-windows-tp407p469.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] canc/del closes windows
--- Begin Message --- Hi Ben, With "it disappears" I intend that weird behaviour. It happens sometimes, I can't show you a screenshot because it's random. Usually, I'm on a system browser or on a playground and I hit the delete key and the window closes itself. If I'm lucky and I have just written something without saving and I click on the delete key, it appears the alert window: "Code has been modified. What do you want to do?", so I close the alert, click the cmd key and then I can click the delete key to cancel my writings. Davide Ben Coman wrote > On Thu, Apr 7, 2016 at 5:01 PM, Davide Varvello via Pharo-dev > > pharo-dev@.pharo > wrote: >> >> >> -- Forwarded message -- >> From: Davide Varvello > varvello@ > >> To: > pharo-dev@.pharo >> Cc: >> Date: Thu, 7 Apr 2016 01:29:21 -0700 (PDT) >> Subject: canc/del closes windows >> Hi Guys, >> Is it only me that sometimes hitting canc/del closes the current window? >> >> It's really annoying, I'm on a mac and I guess it's related to cmd button >> because if I click the cmd button afterward, it disappears (until next >> time). >> >> I tried also on several macs but the result is the same. > > Hi David, I haven't used Pharo on a mac for a while, but I don't > remember experiencing this, though I can't quite picture your > scenario. Could you provide a screen snapshot? When you say "it" > disappears, could you clarify what "it" is? > > cheers -ben -- View this message in context: http://forum.world.st/canc-del-closes-windows-tp407p443.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
[Pharo-dev] canc/del closes windows
--- Begin Message --- Hi Guys, Is it only me that sometimes hitting canc/del closes the current window? It's really annoying, I'm on a mac and I guess it's related to cmd button because if I click the cmd button afterward, it disappears (until next time). I tried also on several macs but the result is the same. TIA Davide -- View this message in context: http://forum.world.st/canc-del-closes-windows-tp405.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. --- End Message ---
Re: [Pharo-dev] How to encrypt a password?
Hi Paul, I resume this old thread because it's not clear to me which package download to make BCryptLinuxFFI work In an other thread you point to: MCHttpRepository location: 'http://smalltalkhub.com/mc/Cryptography/Blowfish/main' user: '' password: '' but there is no BCryptLinuxFFI there. Can you help me please? Cheers Davide Paul DeBruicker wrote Hi Mariano, I've made a FFI library on Squeaksource that works on Linux. http://www.squeaksource.com/Cryptography/PasswordHashingFFI-PaulDeBruicker.8.mcz You need to install the 32 bit versions of libcrypt and libxcrypt if you're using a 64 bit linux os. Using crypt can hash passwords using MD5, DES, SHA256, SHA512. Using libxcrypt can hash passwords using bcrypt. If its for a new installation use bcrypt or SHA512 to hash the passwords. bcrypt is better because its slower, and allegedly future proof. to get a hashed password use BCryptLinuxFFI bcrypt:'mypassword' to check it against a stored hash use: BCryptLinuxFFI check:'mypassword' against: storedHash -- View this message in context: http://forum.world.st/How-to-encrypt-a-password-tp3933585p4723920.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Re: [Pharo-dev] How to encrypt a password?
Paul, I've already tried to load PasswordHashingFFI-PaulDeBruicker.16.mcz, but a warning shows: This package depends on the following classes: ExternalStructure You must resolve these dependencies before you will be able to load these definitions: BCryptLinuxFFI bcrypt: bcrypt:with: bcrypt:with:for: bcrypt:withSalt: checkPassword:against: defaultRounds ffiCrypt:with: generateBCryptIterations: generateBCryptSalt: generateRandomSalt iterationString: randomBCryptSaltData saltDataLength saltOutputLength CryptLinuxFFI checkPassword:against: des: des:with: ffiCrypt:with: md5: md5:with: prepareSalt: randomSalt randomSalt: saltDataLength sha256: sha256:with: sha512: sha512:with: Select Proceed to continue, or close this window to cancel the operation. Cheers Davide Paul DeBruicker wrote Hi Davide, You need to be on Linux and On pharo or squeak - have a 32bit version of libxcrypt installed. - use this mcz http://www.squeaksource.com/Cryptography/PasswordHashingFFI-PaulDeBruicker.16.mcz or http://www.smalltalkhub.com/mc/Cryptography/Cryptography/main/PasswordHashingFFI-PaulDeBruicker.16.mcz (they're the same file) On GemStone - have a 64bit version of libxcrypt installed - use this mcz http://seaside.gemtalksystems.com/ss/Cryptography/PasswordHashingFFI-PaulDeBruicker.10.mcz The Blowfish stuff is an implementation of the cipher (https://en.wikipedia.org/wiki/Blowfish_%28cipher%29). BCrypt uses blowfish as its encryption mechanisim, calling it tens to hundreds of thousands of times. The PasswordHashingFFI package also includes support for accessing the crypt(3) library so you can use SHA512 password hashing too if you like (or other mechanisms it supports like DES, MD5, etc) Hope this helps Paul -- View this message in context: http://forum.world.st/How-to-encrypt-a-password-tp3933585p4724096.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Re: [Pharo-dev] How to encrypt a password?
Paul DeBruicker wrote Have you loaded FFI into your image prior to loading the PasswordHashingFFI package? I've only used/tested these things on Pharo 1.1 - 2 and Squeak 4.3 4.4. What platform are you using? Oops, I didn't load FFI. Now, after evaluating…: Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfFFI'; load. (Smalltalk at: #ConfigurationOfFFI) project lastVersion load …PasswordHashingFFI is loading. Thanks Davide -- View this message in context: http://forum.world.st/How-to-encrypt-a-password-tp3933585p4724176.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Re: [Pharo-dev] How to encrypt a password?
Hi Mariano, Hash functions are one way (http://en.wikipedia.org/wiki/Cryptographic_hash_function) that's because usually you don't want someone can decrypt password. Cheers Davide Mariano Martinez Peck wrote Hi Paul, and just to be sure I understand...none of them could work as a two-way encryption, right? The only one is your Pharo's version of Blowfish but that only works with 8 chars long. Is it like this? Or is there any other two-way encryption? Thanks! -- View this message in context: http://forum.world.st/How-to-encrypt-a-password-tp3933585p4724097.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
[Pharo-dev] Problems with Penelope
Hi, http://bugs.pharo.org/issues returns Error 503 Davide -- View this message in context: http://forum.world.st/Problems-with-Penelope-tp4691333.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.