SerialPlugin on MacOS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

SerialPlugin on MacOS

Bernat Romagosa
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.
Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Luc Fabresse
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]>
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.

Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Luc Fabresse


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.


Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Bernat Romagosa
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.
Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Stéphane Ducasse
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:

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.

Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

EstebanLM
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:

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.

Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Stéphane Ducasse
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.


Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Camillo Bruni-3
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.
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Stéphane Ducasse

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.
>>>
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Bernat Romagosa
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 <[hidden email]>

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.
>>>
>>
>
>





--
Bernat Romagosa.
Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

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]>
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 <[hidden email]>

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.
>>>
>>
>
>





--
Bernat Romagosa.



--
Bernat Romagosa.
Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

EstebanLM

On Nov 12, 2013, at 5:58 AM, Bernat Romagosa <[hidden email]> 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 <[hidden email]>
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 <[hidden email]>

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.
>>>
>>
>
>





--
Bernat Romagosa.



--
Bernat Romagosa.

Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Bernat Romagosa
Thanks, Esteban.

Anything I can do to help, I'm available :)


2013/11/12 Esteban Lorenzano <[hidden email]>

On Nov 12, 2013, at 5:58 AM, Bernat Romagosa <[hidden email]> 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 <[hidden email]>
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 <[hidden email]>

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.
>>>
>>
>
>





--
Bernat Romagosa.



--
Bernat Romagosa.




--
Bernat Romagosa.
Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

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]>:
Thanks, Esteban.

Anything I can do to help, I'm available :)


2013/11/12 Esteban Lorenzano <[hidden email]>

On Nov 12, 2013, at 5:58 AM, Bernat Romagosa <[hidden email]> 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 <[hidden email]>
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 <[hidden email]>

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.
>>>
>>
>
>





--
Bernat Romagosa.



--
Bernat Romagosa.




--
Bernat Romagosa.



--
Bernat Romagosa.
Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

EstebanLM
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 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]>:
Thanks, Esteban.

Anything I can do to help, I'm available :)


2013/11/12 Esteban Lorenzano <[hidden email]>

On Nov 12, 2013, at 5:58 AM, Bernat Romagosa <[hidden email]> 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 <[hidden email]>
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 <[hidden email]>

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.
>>>
>>
>
>





--
Bernat Romagosa.



--
Bernat Romagosa.




--
Bernat Romagosa.



--
Bernat Romagosa.

Reply | Threaded
Open this post in threaded view
|

Re: SerialPlugin on MacOS

Bernat Romagosa
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]>:
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 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]>:
Thanks, Esteban.

Anything I can do to help, I'm available :)


2013/11/12 Esteban Lorenzano <[hidden email]>

On Nov 12, 2013, at 5:58 AM, Bernat Romagosa <[hidden email]> 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 <[hidden email]>
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 <[hidden email]>

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.
>>>
>>
>
>





--
Bernat Romagosa.



--
Bernat Romagosa.




--
Bernat Romagosa.



--
Bernat Romagosa.




--
Bernat Romagosa.