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:
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. |
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.
do you use the right protName? Cheers, Luc 2013/11/5 Bernat Romagosa <[hidden email]>
|
2013/11/5 Luc Fabresse <[hidden email]>
yes we only use Linux here for serial stuff.
|
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 <[hidden email]> 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 <[hidden email]>
Bernat Romagosa. |
It looks old to me.
Bernat can you use an instable one to see. On Nov 5, 2013, at 12:27 PM, Bernat Romagosa <[hidden email]> wrote:
|
In reply to this post by Bernat Romagosa
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 <[hidden email]> 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 <[hidden email]> 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 On 2013-11-09, at 13:56, Stéphane Ducasse <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> >>> >>> >>> 2013/11/5 Luc Fabresse <[hidden email]> >>> 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 <[hidden email]> >>> 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. >> > |
On Nov 9, 2013, at 2:19 PM, Camillo Bruni <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> >>>> >>>> >>>> 2013/11/5 Luc Fabresse <[hidden email]> >>>> 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 <[hidden email]> >>>> 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. >>> >> > > |
2013/11/9 Stéphane Ducasse <[hidden email]>
Bernat Romagosa. |
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" 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 <[hidden email]>
Bernat Romagosa. |
On Nov 12, 2013, at 5:58 AM, Bernat Romagosa <[hidden email]> wrote:
I will check next week :)
|
Thanks, Esteban. Anything I can do to help, I'm available :) 2013/11/12 Esteban Lorenzano <[hidden email]>
Bernat Romagosa. |
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 <[hidden email]>:
Bernat Romagosa. |
Hi Bernat,
yes, I’m committed to have it ready before Pharo3 release. Esteban On 20 Feb 2014, at 12:54, Bernat Romagosa <[hidden email]> wrote:
|
Hi Esteban! Oh, good to know! The offer stays on, I can't help much more than testing, but I'm available for anything you need me to do :) Gracias! Bernat. 2014-02-20 13:30 GMT+01:00 Esteban Lorenzano <[hidden email]>:
Bernat Romagosa. |
Free forum by Nabble | Edit this page |