[Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Friedrich Dominicus
Can anyone tell me if you got that combination running on a Linux 64-bit box? If'm trying to connect to the ODBC datasource I got: pharo VM version: 3.9-7 #1 Wed Mar 13 18:22:44 CET 2013 gcc 4.4.3 Built from: NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread jtuc...@objektfabrik.de
Hi Friedrich, I am not sure if this is relevant for your case, but I had a very similar problem with VAST and DB2 on Linux 64 bits. The funny thing is that I also hat problems with the very same call and on digging deeper found out the problem is a missing Ubuntu package. AFAIK, Pharo is also

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Friedrich Dominicus
"jtuc...@objektfabrik.de" writes: > Hi Friedrich, > > I am not sure if this is relevant for your case, but I had a very > similar problem with VAST and DB2 on Linux 64 bits. The funny thing is > that I also hat problems with the very same call and on digging deeper > found out the problem is a mi

[Pharo-users] Seaside, Zinc Server Adaptor - Isuue with Duration

2013-06-24 Thread Thushar G R
Hi , I have Seaside 3.0 running on pharo 2.0. I started the Zinc server adaptor and when i opened url for seaside i got an error on Duration(Object)>>doesNotUnderstand: #adaptToNumber:andSend:. Is it normal. Am i missing something in the load chain? Thanks in Advance. G R Thushar

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Sven Van Caekenberghe
Hi Friedrich, On 24 Jun 2013, at 11:50, Friedrich Dominicus wrote: > I have had this connection via ODBC running on Linux before. So I > guess you are right with some libraries, but they seem not to be related > to libpam. Have you tried using ldd to find dependencies (libs used by the vm or i

Re: [Pharo-users] Seaside, Zinc Server Adaptor - Isuue with Duration

2013-06-24 Thread Sven Van Caekenberghe
Hi, On 24 Jun 2013, at 11:57, Thushar G R wrote: > Hi , > > I have Seaside 3.0 running on pharo 2.0. I started the Zinc server adaptor > and when i opened url for seaside i got an error on > Duration(Object)>>doesNotUnderstand: #adaptToNumber:andSend:. Is it normal. > Am i missing something

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread jtuc...@objektfabrik.de
Hi Friedrich, sorry it didn't help. I just took a look at ODBCConnection and I see that it uses ODBC 2 per default. (no similar logic to VA Smalltalk's ODBC version determination and no call of SQLAllocHandle). So I guess I cannot really help you any further. Still there is some smell in ODB

Re: [Pharo-users] Seaside, Zinc Server Adaptor - Isuue with Duration

2013-06-24 Thread Thushar G R
Hi Sven, I loaded seaside from the ConfigurationBrowser , Seaside30 install. After i loaded ZincHTTPComponents and started server by. ZnZincServerAdaptor startOn: 8080 i opened the localhost:8080 and i got the error on Duration. Thanks, thushar thuchu On Mon, Jun 24, 2013 at 3:36 PM, Sve

Re: [Pharo-users] Seaside, Zinc Server Adaptor - Isuue with Duration

2013-06-24 Thread Sven Van Caekenberghe
Thushar, On 24 Jun 2013, at 12:44, Thushar G R wrote: > Hi Sven, > > I loaded seaside from the ConfigurationBrowser , Seaside30 install. > > After i loaded ZincHTTPComponents and started server by. > > ZnZincServerAdaptor startOn: 8080 > > i opened the localhost:8080 > > and i got the error

Re: [Pharo-users] Seaside, Zinc Server Adaptor - Isuue with Duration

2013-06-24 Thread Thushar G R
Hi Sven, The part that "(provided you have a recent VM of course)" was the problem , i think. I have done a latest update (the said image and vm were a bit old ) and reloaded everything once again . It seems things go smooth now. Apologies for wasting your time too. By the way the Dropbox connect

Re: [Pharo-users] PharoForTheEnterprise

2013-06-24 Thread Hernán
Mmm, then something else is missing because i have already executed the download.sh script, but vm.sh is not here. -Mensaje original- De: Damien Cassou Enviado: 24/06/2013 03:28 a.m. Para: Any question about pharo is welcome Asunto: Re: [Pharo-users] PharoForTheEnterprise On Sun, Jun 23

[Pharo-users] where is appendStream?

2013-06-24 Thread Hayatou Oumarou
Hello, I use in Pharo 2.0  the class FileSystem to write in a text file(csv format).  I find only two options writeStream and readStream.  I would not like each time to overwrite the contents of my file and I do not find the option appendStream. How can I do? working := FileSystem disk w

Re: [Pharo-users] where is appendStream?

2013-06-24 Thread Sven Van Caekenberghe
Hayatou, Open a WriteStream and call #setToEnd before writing. Sven On 24 Jun 2013, at 14:27, Hayatou Oumarou wrote: > Hello, > I use in Pharo 2.0 the class FileSystem to write in a text file(csv format). > I find only two options writeStream and readStream. I would not like each > time

Re: [Pharo-users] PharoForTheEnterprise

2013-06-24 Thread Damien Cassou
On Mon, Jun 24, 2013 at 2:35 PM, Hernán wrote: > Mmm, then something else is missing because i have already executed the > download.sh script, but vm.sh is not here. did you pass 'vm image' as argument? If not, you can execute the script again. I'm on IRC. -- Damien Cassou http://damiencassou.s

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Friedrich Dominicus
Sven Van Caekenberghe writes: > Hi Friedrich, > > On 24 Jun 2013, at 11:50, Friedrich Dominicus > wrote: > >> I have had this connection via ODBC running on Linux before. So I >> guess you are right with some libraries, but they seem not to be related >> to libpam. > > Have you tried using ldd t

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Sven Van Caekenberghe
On 24 Jun 2013, at 15:50, Friedrich Dominicus wrote: > Sven Van Caekenberghe writes: > >> Hi Friedrich, >> >> On 24 Jun 2013, at 11:50, Friedrich Dominicus >> wrote: >> >>> I have had this connection via ODBC running on Linux before. So I >>> guess you are right with some libraries, but th

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread jtuc...@objektfabrik.de
Hi Friedrich, I guess what could help people understand more about what the actual differences might be is if you can exactly say under which Pharo version and on which VM your ODBC connection had been working before. Was it also on a 64 bit lInux? Even the same installation or some other 64 b

Re: [Pharo-users] where is appendStream?

2013-06-24 Thread Bahman Movaqar
On Mon, 2013-06-24 at 14:43 +0200, Sven Van Caekenberghe wrote: > Hayatou, > > Open a WriteStream and call #setToEnd before writing. > > Sven I'm sure these changes in the API are documented somewhere extensively, however I cannot find it. Do you have any pointers/links? TIA, > On 24 Jun 201

Re: [Pharo-users] where is appendStream?

2013-06-24 Thread Sven Van Caekenberghe
On 24 Jun 2013, at 19:42, Bahman Movaqar wrote: > On Mon, 2013-06-24 at 14:43 +0200, Sven Van Caekenberghe wrote: >> Hayatou, >> >> Open a WriteStream and call #setToEnd before writing. >> >> Sven > > I'm sure these changes in the API are documented somewhere extensively, > however I cannot f

Re: [Pharo-users] where is appendStream?

2013-06-24 Thread Sven Van Caekenberghe
On 24 Jun 2013, at 19:59, Sven Van Caekenberghe wrote: > there has been anything else there had never been anything else

Re: [Pharo-users] where is appendStream?

2013-06-24 Thread Bahman Movaqar
On Mon, 2013-06-24 at 19:59 +0200, Sven Van Caekenberghe wrote: > On 24 Jun 2013, at 19:42, Bahman Movaqar wrote: > > > On Mon, 2013-06-24 at 14:43 +0200, Sven Van Caekenberghe wrote: > >> Hayatou, > >> > >> Open a WriteStream and call #setToEnd before writing. > >> > > > > I'm sure these chan

[Pharo-users] smalltalkhub project as a repository

2013-06-24 Thread Bahman Movaqar
I just noticed it: when adding a new repository, there's an option for projects on 'smalltalkhub.com'. Is this something new or I was just ignorant about this? Anyway, congratulations on the design choice. -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Cons

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Milan Mimica
On 24 June 2013 12:21, jtuc...@objektfabrik.de wrote: > false ifTrue: > [ self > sqlSetEnvAttr: 200 > value: 2"SQL_ATTR_ODBC_VERSION" ]. > > what does this false ifTrue: thing mean here? > That's how you comment code in Smalltalk - becuase it doesn't support ne

Re: [Pharo-users] smalltalkhub project as a repository

2013-06-24 Thread Camillo Bruni
On 2013-06-24, at 21:49, Bahman Movaqar wrote: > I just noticed it: when adding a new repository, there's an option for > projects on 'smalltalkhub.com'. Is this something new or I was just > ignorant about this? Anyway, congratulations on the design choice. I do not understand your question? A

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread jtuc...@objektfabrik.de
You're joking, right? I mean, if this is a way of helping me understand code by "commenting it", I'd simply say Thanks, but no thanks! If that's the way it's done in Smalltalk, I wonder where I have been the last 17 years. I haven't done this and I can't remember seeing this. And I've read a

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Benoit St-Jean
I was stunned and curious.  There's plenty of "false ifTrue:" code in Squeak 4.2...  Did I miss something too ???  :)   - Benoit St-Jean Yahoo! Messenger: bstjean Blogue: endormitoire.wordpress.com A standpoint is an intellectual horizon of radius zero. (Albert Einstein) ___

Re: [Pharo-users] PharoForTheEnterprise

2013-06-24 Thread Hernán Morales Durand
Yes, I have executed ./download.sh vm image To check what's happening I have added wget -S -o in the get_vm() function in download.sh This is the response: --2013-06-24 18:25:21-- http://files.pharo.org/script/ciPharoVM.sh Resolving files.pharo.org... 128.93.162.72 Connecting to files.pharo.

Re: [Pharo-users] smalltalkhub project as a repository

2013-06-24 Thread Bahman Movaqar
On Mon, 2013-06-24 at 22:15 +0200, Camillo Bruni wrote: > On 2013-06-24, at 21:49, Bahman Movaqar wrote: > > I just noticed it: when adding a new repository, there's an option for > > projects on 'smalltalkhub.com'. Is this something new or I was just > > ignorant about this? Anyway, congratulat

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread Friedrich Dominicus
"jtuc...@objektfabrik.de" writes: > Hi Friedrich, > > I guess what could help people understand more about what the actual > differences might be is if you can exactly say under which Pharo > version and on which VM your ODBC connection had been working > before. Was it also on a 64 bit lInux? Ev

Re: [Pharo-users] Pharo 2.0 and ODBC

2013-06-24 Thread jtuc...@objektfabrik.de
Am 25.06.13 07:10, schrieb Friedrich Dominicus: "jtuc...@objektfabrik.de" writes: Hi Friedrich, I guess what could help people understand more about what the actual differences might be is if you can exactly say under which Pharo version and on which VM your ODBC connection had been working b