Hi list, I've been too busy to look into this lately, but today I tried the latest MacOS version and I still get the same PrimitiveFailed error when trying to write a byte array through the serial port.
Has there been any further development on this? Thanks! Best, Bernat. 2013-11-12 13:07 GMT+01:00 Bernat Romagosa <tibabenfortlapala...@gmail.com>: > Thanks, Esteban. > > Anything I can do to help, I'm available :) > > > 2013/11/12 Esteban Lorenzano <esteba...@gmail.com> > >> >> On Nov 12, 2013, at 5:58 AM, Bernat Romagosa < >> tibabenfortlapala...@gmail.com> wrote: >> >> I can confirm I still got the same issue after replacing my VM by the >> vmLatest found at files.pharo.org/vm/pharo/mac under the name >> "Pharo-VM-mac-latest.zip" >> >> >> I will check next week :) >> >> >> When trying to write a byte array to the serial port (aSerialPort >> nextPutAll: #[249]), SerialPort fails with a primitiveFailed: primitive >> #primWritePortByName:from:startingAt:count: >> >> The port does open correctly, though. >> >> >> 2013/11/11 Bernat Romagosa <tibabenfortlapala...@gmail.com> >> >>> Thanks guys, >>> >>> files.pharo.org is down right now >>> >>> I'll try with a newer VM as soon as it's up again :) >>> >>> >>> 2013/11/9 Stéphane Ducasse <stephane.duca...@inria.fr> >>> >>>> >>>> On Nov 9, 2013, at 2:19 PM, Camillo Bruni <camillobr...@gmail.com> >>>> wrote: >>>> >>>> > Luc proposed a pull request on github >>>> > - got validated by travis >>>> > - I integrated it into the master branch >>>> > - I pushed the changes to the develop branch >>>> > >>>> > so the vmLatest should include the fixes >>>> >>>> I like the process and that esteban releases some steam :) >>>> >>>> Stef >>>> >>>> > >>>> > On 2013-11-09, at 13:56, Stéphane Ducasse <stephane.duca...@inria.fr> >>>> wrote: >>>> >> Esteban >>>> >> >>>> >> we should organize some sessions where you show to people what you >>>> are doing and see how we >>>> >> should distribute and share load. >>>> >> >>>> >> Stef >>>> >> >>>> >> On Nov 9, 2013, at 12:29 PM, Esteban Lorenzano <esteba...@gmail.com> >>>> wrote: >>>> >> >>>> >>> Hi, >>>> >>> >>>> >>> it is "stable" but AFAIK it does not includes the latest fix for >>>> SerialPlugin. >>>> >>> So many things to do when I come back... :) >>>> >>> >>>> >>> Esteban >>>> >>> >>>> >>> >>>> >>> On Nov 5, 2013, at 8:27 AM, Bernat Romagosa < >>>> tibabenfortlapala...@gmail.com> wrote: >>>> >>> >>>> >>>> Hi Luc, >>>> >>>> >>>> >>>> Smalltalk vm version reports: >>>> >>>> >>>> >>>> '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 <esteba...@gmail.com> Jenkins build #14535 >>>> >>>> ' >>>> >>>> >>>> >>>> It's the one listed as "latest" at the downloads section in >>>> pharo-project.org >>>> >>>> >>>> >>>> Cheers, >>>> >>>> Bernat. >>>> >>>> >>>> >>>> >>>> >>>> 2013/11/5 Luc Fabresse <luc.fabre...@gmail.com> >>>> >>>> >>>> >>>> >>>> >>>> 2013/11/5 Luc Fabresse <luc.fabre...@gmail.com> >>>> >>>> Hi Bernat, >>>> >>>> >>>> >>>> Which VM version? >>>> >>>> because MacOsX and Linux now use the same C part of the >>>> SerialPlugin. >>>> >>>> So if it works on Linux, it be the same on OsX. >>>> >>>> but I have not tried. >>>> >>>> >>>> >>>> yes we only use Linux here for serial stuff. >>>> >>>> >>>> >>>> >>>> >>>> do you use the right protName? >>>> >>>> >>>> >>>> Cheers, >>>> >>>> >>>> >>>> Luc >>>> >>>> >>>> >>>> >>>> >>>> 2013/11/5 Bernat Romagosa <tibabenfortlapala...@gmail.com> >>>> >>>> Hi list, >>>> >>>> >>>> >>>> Developing a multi-platform application is not so easy when you >>>> have to deal with hardware it seems... >>>> >>>> >>>> >>>> So I'm having this PrimitiveFailed error on MacOS, using the >>>> latest stable VM listed on the pharo-project website on Pharo20: >>>> >>>> >>>> >>>> PrimitiveFailed: primitive >>>> #primWritePortByName:from:startingAt:count: in SerialPort failed >>>> >>>> >>>> >>>> The same code works fine both in Gnu/Linux and Win32, so I'm >>>> guessing it's a problem with the serial plugin included in this VM. Any >>>> ideas? >>>> >>>> >>>> >>>> Cheers, >>>> >>>> Bernat. >>>> >>>> >>>> >>>> -- >>>> >>>> Bernat Romagosa. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Bernat Romagosa. >>>> >>> >>>> >> >>>> > >>>> > >>>> >>>> >>>> >>> >>> >>> -- >>> Bernat Romagosa. >>> >> >> >> >> -- >> Bernat Romagosa. >> >> >> > > > -- > Bernat Romagosa. > -- Bernat Romagosa.