SqueakMap: problems with ODBC package

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

SqueakMap: problems with ODBC package

Torsten Bergmann
Hi,

I want to install the ODBC package via script using Squeak3.9b#7035

        SMSqueakMap default
                installPackageNamed: 'ODBC for Squeak'
                autoVersion: '2'
               
This works but it loads an old version ODBC-dgd.1.cs.gz.

The newest version ODBC-dgd.10.cs.gz is displayed below the first one
in the SqueakMap package loader tree. Maybe this is caused
by the similar registration with version number 1.

When I try to load it using the package loader or by evaluating

        SMSqueakMap default
                installPackageNamed: 'ODBC for Squeak'
                autoVersion: '1'

I get an error telling me that the file is not a gzipped stream.
What's confusing is that the SM entry points to

  http://minnow.cc.gatech.edu/squeak/uploads/2480/ODBC-dgd.10.cs.gz

and I can access the file when I use a normal web browser.
It's also loadable after the download.


Digging in the SqueakMap cache shows that it contains a file
ODBC-dgd.10.cs.gz but this only includes the following text:
 
   "error occured retrieving http://minnow.cc.gatech.edu/squeak/uploads/2480/ODBC-dgd.10.cs.gz: 
    Server minnow.cc.gatech.edu is not responding"

Is SqueakMap having trouble due to the bad registration or is it
a bug in the swiki file serving for uploaded files?
Any ideas? Can we reregister the package?

Thanks
Torsten

 
 
 
               

--


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

Reply | Threaded
Open this post in threaded view
|

Re: SqueakMap: problems with ODBC package

Göran Krampe
"Torsten Bergmann" <[hidden email]> wrote:
> Digging in the SqueakMap cache shows that it contains a file
> ODBC-dgd.10.cs.gz but this only includes the following text:
>  
>    "error occured retrieving http://minnow.cc.gatech.edu/squeak/uploads/2480/ODBC-dgd.10.cs.gz: 
>     Server minnow.cc.gatech.edu is not responding"
>
> Is SqueakMap having trouble due to the bad registration or is it
> a bug in the swiki file serving for uploaded files?
> Any ideas? Can we reregister the package?

My guess (can't check it right now) is that you got the server cached
version. So when the owner registered the release the server tried
getting that file (a while back) and minnow was not online and it stored
that faulty file (without knowing it was an error msg) in the server
cache. It also - to make things worse - calculated the SHA checksum on
that faulty file. ;)

Open transcript and see what it says when you try to download. It
probably says "failed checksum" (since it has the wrong SHA checksum in
the model) and something about "using server cache instead".

The SHA checksum and the server cache can be fixed by modifying the
download URL for that release using the SM web UI. It is then
redownloadaded and rechecksummed. I should add a button to do that - now
you need to change URL, save, change it back, save. Or something
similar.

regards, Göran

PS. I really need to sit down and go through the server cache and
associated code to get it more properly working, I know.

Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakMap: problems with ODBC package

Torsten Bergmann
Hi Göran,

> Open transcript and see what it says when you try to download. It
> probably says "failed checksum" (since it has the wrong SHA checksum in
> the model) and something about "using server cache instead".

Yes - the output is

Fetch: 719 ms
Size: 606367 bytes
Save checkpoint to disk: 17 ms
Full reload from checkpoint: 10810 ms
Download from original url (http://minnow.cc.gatech.edu/squeak/uploads/2480/ODBC-dgd.10.cs.gz) failed with this exception: Incorrect SHA checksum of file from orginal URL
Trying server cache instead.

> The SHA checksum and the server cache can be fixed by modifying the
> download URL for that release using the SM web UI. It is then
> redownloadaded and rechecksummed. I should add a button to do that - now
> you need to change URL, save, change it back, save. Or something
> similar.

I cant modify the ODBC SM entry (I'm not co-maintainer) but I hope
Diego or Germán are able to modify the download URL for the ODBC
package and send a message to the list when it works again.

Bye
Torsten
--


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakMap: problems with ODBC package

garduino
Hi:

I've created a new release pointing the dgd-10 version. Tried in a
3.9alpha #7036 and worked ok.

Let my know if work to you also.

Cheers.
gsa.

2006/6/26, Torsten Bergmann <[hidden email]>:

> Hi Göran,
>
> > Open transcript and see what it says when you try to download. It
> > probably says "failed checksum" (since it has the wrong SHA checksum in
> > the model) and something about "using server cache instead".
>
> Yes - the output is
>
> Fetch: 719 ms
> Size: 606367 bytes
> Save checkpoint to disk: 17 ms
> Full reload from checkpoint: 10810 ms
> Download from original url (http://minnow.cc.gatech.edu/squeak/uploads/2480/ODBC-dgd.10.cs.gz) failed with this exception: Incorrect SHA checksum of file from orginal URL
> Trying server cache instead.
>
> > The SHA checksum and the server cache can be fixed by modifying the
> > download URL for that release using the SM web UI. It is then
> > redownloadaded and rechecksummed. I should add a button to do that - now
> > you need to change URL, save, change it back, save. Or something
> > similar.
>
> I cant modify the ODBC SM entry (I'm not co-maintainer) but I hope
> Diego or Germán are able to modify the download URL for the ODBC
> package and send a message to the list when it works again.
>
> Bye
> Torsten
> --
>
>
> "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Re: SqueakMap: problems with ODBC package

garduino
But remember that dgd-10 does not includes the decimal fix.

2006/7/7, Germán Arduino <[hidden email]>:

> Hi:
>
> I've created a new release pointing the dgd-10 version. Tried in a
> 3.9alpha #7036 and worked ok.
>
> Let my know if work to you also.
>
> Cheers.
> gsa.
>
> 2006/6/26, Torsten Bergmann <[hidden email]>:
> > Hi Göran,
> >
> > > Open transcript and see what it says when you try to download. It
> > > probably says "failed checksum" (since it has the wrong SHA checksum in
> > > the model) and something about "using server cache instead".
> >
> > Yes - the output is
> >
> > Fetch: 719 ms
> > Size: 606367 bytes
> > Save checkpoint to disk: 17 ms
> > Full reload from checkpoint: 10810 ms
> > Download from original url (http://minnow.cc.gatech.edu/squeak/uploads/2480/ODBC-dgd.10.cs.gz) failed with this exception: Incorrect SHA checksum of file from orginal URL
> > Trying server cache instead.
> >
> > > The SHA checksum and the server cache can be fixed by modifying the
> > > download URL for that release using the SM web UI. It is then
> > > redownloadaded and rechecksummed. I should add a button to do that - now
> > > you need to change URL, save, change it back, save. Or something
> > > similar.
> >
> > I cant modify the ODBC SM entry (I'm not co-maintainer) but I hope
> > Diego or Germán are able to modify the download URL for the ODBC
> > package and send a message to the list when it works again.
> >
> > Bye
> > Torsten
> > --
> >
> >
> > "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> > Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> >
> >
>


--
Germán S. Arduino
http://www.arsol.biz
http://www.arsol.net