Hi,
I always have a problem with SqueakMap. I have tried with this mail to sum up. Every time, I have started squeak from a fresh directory. My problem appears just after the click on the open>PackageLoader item in the menu (I click on the item, I wait few seconds, I see "Reading a stream" and the error message appears).
Here is two test with 2 version of the image. If you want, I can test with others versions (just tell me where I can download them)
I'm running gnu/linux Debian :
uname -a
Linux localhost 2.6.4-ck1 #2 Thu Mar 25 15:41:26 CET 2004 i686 GNU/Linux
-----------
$ squeak -version 3.7b-5 #1 Mon Jul 19 20:31:04 PDT 2004 gcc 3.3.4 Squeak3.7beta of '1 April 2004' [latest update: #5868] Linux gadget.dnsalias.net 2.4.26 #15 Wed Jun 23 08:06:00 PDT 2004 i686 GNU/Linux default plugin location: /usr/lib/squeak/3.7b-5/*.so
Image 3.7beta 5868
"Error occured when updating map : UndefinedObject>>do: {ok}". Then, Squeakmap launch and I can install seaside without problem.
-----------
$ squeak -version 3.7b-5 #1 Mon Jul 19 20:31:04 PDT 2004 gcc 3.3.4 Squeak3.7beta of '1 April 2004' [latest update: #5868] Linux gadget.dnsalias.net 2.4.26 #15 Wed Jun 23 08:06:00 PDT 2004 i686 GNU/Linux default plugin location: /usr/lib/squeak/3.7b-5/*.so
Image 3.7gamma 5985
"Error occurred when updating map: UndefinedObject>>do: Would you like to open a debugger ? {yes,no}"
No matter what I choose, a debugger is opened and SqueakMap doesn't launch. When the debugger is open, I can click on "proceed" but it restart by asking me the same question
-----------
Thanks for your help
Damien
Here is an other test :
$ squeak -version 3.7b-5 #1 Tue Apr 6 20:36:57 CEST 2004 gcc egcs-2.91.66 Squeak3.7beta of '1 April 2004' [latest update: #5868] Linux pingu.inria.fr 2.2.19-6.2.7 #1 Thu Jun 14 07:51:10 EDT 2001 i686 default plugin location: /usr/local/lib/squeak/3.7b-5/*.so
Image 3.6 5429
"The SqueakMap master server is running another version (2.0) thant the client (1.0). You need to upgrade the SqueakMap package, would you like to do that now? {yes, no}"
If I choose {yes} : Squeak opens a debug window and I can't go on with SqueakMap (I join the log file) If I choose {no} : Everything works perfectely (no message and I can install packages)
Thanks for your help
Damien
Here are other tests with squeak vm 3.4 :
$ squeak -version 3.4-1 #1 XShm Tue Mar 4 05:30:53 CET 2003 gcc 2.95.4 Squeak3.4 of 1 March 2003 [latest update: #5170] Linux xombul.inria.fr 2.4.19 #2 Mon Aug 5 12:44:11 CEST 2002 i686 GNU/Linux default plugin location: /usr/local/lib/squeak/3.4-1/*.so
--------------
Image 3.6 5429
"The SqueakMap master server is running another version (2.0) than the client (1.0). You need to upgrade the SqueakMap package, would you like to do that now?" {yes, no}
If I click {yes} : Everything works perfectely (no message, I can download and install what I want). If I click {no} : Everything works perfectely too
--------------- Image 3.7gamma 5985
Eveything works perfectely (no question, I can install packages)
--------------- Image 3.7beta 5868
Everything works ---------------
I can conclude that 3.4 vm works perfectely but 3.7 vm has problems with my computer and probably others. Can somebody help me please ?
Damien
Hi!
Don't have time to write much, but this is a known problem with Linux 2.6. Try starting the VM with "-memory 40m".
This has been discussed on the list, check the archives. It has nothing to do with SM, it is a bug with the imagesegment loading.
regards, Göran
goran.krampe@bluefish.se a écrit :
Hi!
Don't have time to write much, but this is a known problem with Linux 2.6. Try starting the VM with "-memory 40m".
"Status of the 3.7 VM for debian and bug with sm" is a thread where David T.Lewis already tell me about this solution. I have tested but it doesn't work. Here is his last message : "The original problem seemed to be related to loading image segments, so I had suggested running with "-memory 40m" to restrict memory ranges. This apparently got us by the original problem, but now Damien is seeing a problem (unrelated???) that looked to me like it might be due to Squeak trying to read a startup script file with binary data in it. No joy, and I'm out of ideas."
This idea seems not to be applyable to me.
This has been discussed on the list, check the archives. It has nothing to do with SM, it is a bug with the imagesegment loading.
Is it a bug with VM or with my kernel ? Does somebody try to fix this ?
goran.krampe@bluefish.se a écrit :
Hi!
Don't have time to write much, but this is a known problem with Linux 2.6. Try starting the VM with "-memory 40m".
This has been discussed on the list, check the archives. It has nothing to do with SM, it is a bug with the imagesegment loading.
regards, Göran
I have found a message that tells it was the "-mmap" option to use and not the "-memory" one. I have tried and it seems to work. But it is just a workaround, not a solution I think.
Damien Cassou damien.cassou@laposte.net wrote:
goran.krampe@bluefish.se a écrit :
Hi!
Don't have time to write much, but this is a known problem with Linux 2.6. Try starting the VM with "-memory 40m".
This has been discussed on the list, check the archives. It has nothing to do with SM, it is a bug with the imagesegment loading.
regards, Göran
I have found a message that tells it was the "-mmap" option to use and not the "-memory" one. I have tried and it seems to work. But it is just a workaround, not a solution I think.
The -memory switch was (I think) only a "increases probability of success" kinda thing. -mmap I am not sure about but obviously it has to do with the same issue.
The problem is in general that Squeak get's loaded in a too high adress space and this triggers a bug in the VM - a memory pointer that is declared as a signed int.
So yes, these are all workarounds - the solution is to fix the VM bug. Now, since the VM is being heavily rewritten for 64 bits this may already have been fixed in that work.
regards, Göran
PS. It has also been observed under OpenBSD and some other OSes that also loads Squeak high under some circumstances.
When I ask SqueakMap to install the MySQL driver, a "Syntax Error" window pops up with two panes, one that says "UndefinedObject as yet unclassified Nothing" and one that says "Nothing more expected -><". The progress bar, with the caption "Loading Mysql into change set 'Mysql'" stays on screen.
My image is 3.7gamma with all updates applied. I'm using the "Unix" VM on a Mac.
Dan Winkler wrote:
When I ask SqueakMap to install the MySQL driver, a "Syntax Error" window pops up with two panes, one that says "UndefinedObject as yet unclassified Nothing" and one that says "Nothing more expected -><". The progress bar, with the caption "Loading Mysql into change set 'Mysql'" stays on screen.
My image is 3.7gamma with all updates applied. I'm using the "Unix" VM on a Mac.
AFAIK the MySQL driver doesn't work with the new network code. I started a port a while ago, but it's on the back burner right now.
Michael
Thanks for the info, Michael.
So if I want to use MySQL, I'll have to go back to an older image than 3.7gamma, right? Do you happen to know which image would be preferred?
And if I want to use a serious relational database with the current image it would have to be PostgreSQL, right?
Which of these approaches do most people use when they want to use a database with Squeak? Or do people use databases with Squeak?
More particularly, I'm interested in what database solution people use with Seaside since databases are so useful for so many types of web applications. I know I could consider some kind of object oriented database like GOODS, but that seems to offer only persistence, not the automatic indexing and fast searching on any part of the data that SQL databases can do.
On Aug 31, 2004, at 10:29 AM, Michael Rueger wrote:
Dan Winkler wrote:
When I ask SqueakMap to install the MySQL driver, a "Syntax Error" window pops up with two panes, one that says "UndefinedObject as yet unclassified Nothing" and one that says "Nothing more expected -><". The progress bar, with the caption "Loading Mysql into change set 'Mysql'" stays on screen. My image is 3.7gamma with all updates applied. I'm using the "Unix" VM on a Mac.
AFAIK the MySQL driver doesn't work with the new network code. I started a port a while ago, but it's on the back burner right now.
Michael
On Aug 31, 2004, at 9:05 AM, Dan Winkler wrote:
Thanks for the info, Michael.
So if I want to use MySQL, I'll have to go back to an older image than 3.7gamma, right? Do you happen to know which image would be preferred?
And if I want to use a serious relational database with the current image it would have to be PostgreSQL, right?
Which of these approaches do most people use when they want to use a database with Squeak? Or do people use databases with Squeak?
More particularly, I'm interested in what database solution people use with Seaside since databases are so useful for so many types of web applications. I know I could consider some kind of object oriented database like GOODS, but that seems to offer only persistence, not the automatic indexing and fast searching on any part of the data that SQL databases can do.
I've build Seaside apps using Postgres and GOODS. On the GOODS side, I use BTree indexes and have created an IndexManager class to deal with them. It works pretty well so far, I do have a couple of issues that need to be ironed out before I release it.
I also used the ODBC driver with MS Access, but it was rather unstable for me. I didn't have time to troubleshoot it, but switched to Postgres... which, btw was incredibly faster on the same tables (I used pgadmin II to convert them from Access).
Brian
V Út, 31. 08. 2004 v 17:05, Dan Winkler píše:
And if I want to use a serious relational database with the current image it would have to be PostgreSQL, right?
Which of these approaches do most people use when they want to use a database with Squeak? Or do people use databases with Squeak?
More particularly, I'm interested in what database solution people use with Seaside since databases are so useful for so many types of web applications. I know I could consider some kind of object oriented database like GOODS, but that seems to offer only persistence, not the automatic indexing and fast searching on any part of the data that SQL databases can do.
a bit off topic: I wanted to use GOODS with Seaside, but have had not enough time to make GOODS server runnable from Squeak on Linux (currently the server package is built for Windows only, with notice that "it can be rewritten for others using OSProcess"). Does anybody have the version for Linux?
.:jbk:. Jan B:. Krejci
Dan Winkler wrote:
And if I want to use a serious relational database with the current image it would have to be PostgreSQL, right?
Which of these approaches do most people use when they want to use a database with Squeak? Or do people use databases with Squeak?
Regarding relational DB probably best solution right now is PostgreSQL. It is broadly available and has features that allow deployment of some O/R (object-relation) mapping using stuff like Glorp or ROE. However, your application will be "hardwired" with native talking to PostgreSQL using PGConnection class. We don't have any abstraction layer that would allow you to replace database engine just by changing SQL dialect used in your app.
squeak-dev@lists.squeakfoundation.org