Squeak won't respond

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

Squeak won't respond

xyz 42
Hello!

I had worked on the Seaside tutorial here -
http://www.swa.hpi.uni-potsdam.de/seaside/tutorial and I was able to
create users and login and see tasks. After that, I started working on
a project of my own but I am using the session I created in the
tutorial.  Now, when I go back to the tutorial and register any user,
Squeak just hangs.  Alt-. and cmd-. do nothing and all the windows are
frozen.  Once this happens, if I kill Squeak and restart, nothing -
just a black screen.

Can anyone look into his crystal ball and say what I am missing? :-)
I think these classes may be the reason.

TIA.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

StSession.st (1K) Download Attachment
StImageDatabase.st (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Squeak won't respond

Markus Fritsche
xyz 42 schrieb:

> I had worked on the Seaside tutorial here -
> http://www.swa.hpi.uni-potsdam.de/seaside/tutorial and I was able to
> create users and login and see tasks. After that, I started working on
> a project of my own but I am using the session I created in the
> tutorial.  Now, when I go back to the tutorial and register any user,
> Squeak just hangs.

Which database backend did you use? If you used the StImagedatabase
backend, the image will be save every time you register a new user,
which can take a while. If you used the database connections, there
might be a timeout waiting for the database connection.

Regards, Markus

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Squeak won't respond

xyz 42
In reply to this post by xyz 42
I am using Squeak 3.9 and Seaside 2.8.3 (I think).  I have a debug log
as well.  I am not sure when the log was created.  When I got this
problem, I tried to restore my changes first.  So I am not sure if the
log was created when I tried to restore my changes or when I had this
problem.

Thanks.

On Sun, Oct 12, 2008 at 7:12 PM, xyz 42 <[hidden email]> wrote:

> Hello!
>
> I had worked on the Seaside tutorial here -
> http://www.swa.hpi.uni-potsdam.de/seaside/tutorial and I was able to
> create users and login and see tasks. After that, I started working on
> a project of my own but I am using the session I created in the
> tutorial.  Now, when I go back to the tutorial and register any user,
> Squeak just hangs.  Alt-. and cmd-. do nothing and all the windows are
> frozen.  Once this happens, if I kill Squeak and restart, nothing -
> just a black screen.
>
> Can anyone look into his crystal ball and say what I am missing? :-)
> I think these classes may be the reason.
>
> TIA.
>

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

SqueakDebug.log (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Squeak won't respond

xyz 42
In reply to this post by Markus Fritsche
On Sun, Oct 12, 2008 at 7:22 PM, Markus Fritsche
<[hidden email]> wrote:

> xyz 42 schrieb:
>
>> I had worked on the Seaside tutorial here -
>> http://www.swa.hpi.uni-potsdam.de/seaside/tutorial and I was able to
>> create users and login and see tasks. After that, I started working on
>> a project of my own but I am using the session I created in the
>> tutorial.  Now, when I go back to the tutorial and register any user,
>> Squeak just hangs.
>
> Which database backend did you use? If you used the StImagedatabase
> backend, the image will be save every time you register a new user,
> which can take a while. If you used the database connections, there
> might be a timeout waiting for the database connection.
>
I think I am storing the data in the image itself.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Squeak won't respond

Markus Fritsche
In reply to this post by xyz 42
xyz 42 schrieb:

> I am using Squeak 3.9 and Seaside 2.8.3 (I think).  I have a debug log
> as well.  I am not sure when the log was created.  When I got this
> problem, I tried to restore my changes first.  So I am not sure if the
> log was created when I tried to restore my changes or when I had this
> problem.

Your log says that the last failed action was to try to remove method
"initialize" of ErAdminComponent (which is nil). I am not sure if that
log is connected to your problem.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Squeak won't respond

xyz 42
On Sun, Oct 12, 2008 at 8:01 PM, Markus Fritsche
<[hidden email]> wrote:

> xyz 42 schrieb:
>
>> I am using Squeak 3.9 and Seaside 2.8.3 (I think).  I have a debug log
>> as well.  I am not sure when the log was created.  When I got this
>> problem, I tried to restore my changes first.  So I am not sure if the
>> log was created when I tried to restore my changes or when I had this
>> problem.
>
> Your log says that the last failed action was to try to remove method
> "initialize" of ErAdminComponent (which is nil). I am not sure if that
> log is connected to your problem.

Yes, when I restored my changes, I was missing ErAdminComponent (I am
not sure I restored the changes properly.  My changes file is around
11 MB and contains code dating 2001).  Also, some classes had their
parent changed as follows -

AnObsoleteErMenuComponent subclass: #ErWelcomeComponent
        instanceVariableNames: 'menu'
        classVariableNames: ''
        poolDictionaries: ''

(ErMenuComponent was the parent for ErWelcomeComponent).

However, I have set right all these problems and I am able to work
with other parts of the application just fine.  It is only when I try
saving a new user that the problem happens.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: Squeak won't respond

xyz 42
On Sun, Oct 12, 2008 at 8:21 PM, xyz 42 <[hidden email]> wrote:

> On Sun, Oct 12, 2008 at 8:01 PM, Markus Fritsche
> <[hidden email]> wrote:
>> xyz 42 schrieb:
>>
>>> I am using Squeak 3.9 and Seaside 2.8.3 (I think).  I have a debug log
>>> as well.  I am not sure when the log was created.  When I got this
>>> problem, I tried to restore my changes first.  So I am not sure if the
>>> log was created when I tried to restore my changes or when I had this
>>> problem.
>>
>> Your log says that the last failed action was to try to remove method
>> "initialize" of ErAdminComponent (which is nil). I am not sure if that
>> log is connected to your problem.
>
> Yes, when I restored my changes, I was missing ErAdminComponent (I am
> not sure I restored the changes properly.  My changes file is around
> 11 MB and contains code dating 2001).  Also, some classes had their
> parent changed as follows -
>
> AnObsoleteErMenuComponent subclass: #ErWelcomeComponent
>        instanceVariableNames: 'menu'
>        classVariableNames: ''
>        poolDictionaries: ''
>
> (ErMenuComponent was the parent for ErWelcomeComponent).
>
> However, I have set right all these problems and I am able to work
> with other parts of the application just fine.  It is only when I try
> saving a new user that the problem happens.

I am able to file out my package and then file in that to a pristine
image and get it working.  Thanks Markus, for your suggestions.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside