Anything that goes beyond a basic up or download leads to a primitive failure:
Curl new url: 'http://somedomain.com/foo'; request: 'DELETE'; "<-- primitive error here" perform
In the debugger #easyStatusString returns 'no error'.
Even
Curl curlVersion
gives a primitive failure.
Any idea what I am doing wrong?
I am using the plugin that comes shipped with the latest Mac VM.
Lukas
MMm the curlplugin is oh what 3 year, 6 months old. I guess interest means compiling up a new one.
On 2010-02-01, at 12:03 AM, Lukas Renggli wrote:
Anything that goes beyond a basic up or download leads to a primitive failure:
Curl new url: 'http://somedomain.com/foo'; request: 'DELETE'; "<-- primitive error here" perform
In the debugger #easyStatusString returns 'no error'.
Even
Curl curlVersion
gives a primitive failure.
Any idea what I am doing wrong?
I am using the plugin that comes shipped with the latest Mac VM.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
-- =========================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
MMm the curlplugin is oh what 3 year, 6 months old. I guess interest means compiling up a new one.
A new version would be super cool, indeed :-)
Lukas
Ok, I build a new CurlPlugin.bundle for os-x Version 1.1.0
Find that via http://www.smalltalkconsulting.com/squeak.html
http://homepage.mac.com/johnmci/FileSharing.html or ftp://ftp.smalltalkconsulting.com
look in the experimental folder for CurlPlugin.1.1.0.bundle.zip
Now first it's 2:00am in the morning here, and I didn't bother to test it! So we'll run on blind luck since it *compiles & links* must be ok then?
The 1.0.0 version was compiled in 2006 and statically linked to a version of curl from MacPorts for running on os-x 10.2.8
The 1.1.0 version is compiled for 10.5 (ppc, macintel 32) and is dynamically linked to libcurl supply by your operating system.
No doubt someone in Europe can let me know if the SUnits pass? If there is a lack of SUnits, then I'd suggest someone add some more if we want to make Curl a more important part of the network transport layer in Squeak.
On 2010-02-01, at 12:59 AM, Lukas Renggli wrote:
MMm the curlplugin is oh what 3 year, 6 months old. I guess interest means compiling up a new one.
A new version would be super cool, indeed :-)
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
-- =========================================================================== John M. McIntosh johnmci@smalltalkconsulting.com Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
Wow, that was quick.
This works definitely much better. No more primitive failures for the examples I gave in my mail.
Curl curlVersion --> 'libcurl/7.19.4 OpenSSL/0.9.8l zlib/1.2.3'
I'll experiment a bit more tonight and let you know if there are any problems.
No doubt someone in Europe can let me know if the SUnits pass? If there is a lack of SUnits, then I'd suggest someone add some more if we want to make Curl a more important part of the network transport layer in Squeak.
The current interface of Curl is barely useable because it is basically at the level of C. What I am trying to do is to have it integrated with the Filesystem package of Colin.
Lukas
squeak-dev@lists.squeakfoundation.org