Issue 4307 in pharo: loading a script at start up

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

Issue 4307 in pharo: loading a script at start up

pharo
Status: Accepted
Owner: [hidden email]
Labels: Importance-High Type-Bug Milestone-1.3

New issue 4307 by [hidden email]: loading a script at start up
http://code.google.com/p/pharo/issues/detail?id=4307

If you fill an issue for the first time, please read "How to report bugs"
at http://www.pharo-project.org/community/issue-tracking

Pharo image: 1.3a core
Virtual machine used: linux VM is 4.0.3-2202

1. Run squeak PharoCore-1.3.image "`pwd`/install-drgeo-clean.st"

2.The image is frozen, script is not loaded

3. [Alt] + . crash the VM

Breaking point in commandLineHandlerAction:
aCommandLine  crash the VM as well.

Enclosed debug

Here changelog


Paste or attach stack trace if applicable (look at the file PharoDebug.log
located in the same directory as your image):


Attachments:
        PharoDebug.log  29.1 KB


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo
Updates:
        Status: FixProposed

Comment #1 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

The code loader is not sending #startRetrieval to the UrlDownload Request,  
and the Semaphore waits forever.

This little change seems to fix it

Attachments:
        CodeLoader fix.1.cs  392 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo

Comment #2 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

This is the good one.

Actually, It keeps crashing the image when the path is not absolute...  
That's not nice :/

Attachments:
        CodeLoader fix.1.cs  392 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo
Updates:
        Status: Closed

Comment #3 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

in 13225


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo
Updates:
        Status: Accepted

Comment #4 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

No, something continue to be wrong.

I personally think we should remove all URL related stuff. Command line is  
for a *FILE*, not a URL.


CodeLoader(Object)>>doesNotUnderstand: #startRetrieval
        Receiver: a CodeLoader
        Arguments and temporary variables:
                aMessage: startRetrieval
                exception: MessageNotUnderstood: CodeLoader>>startRetrieval
                resumeValue: nil
        Receiver's instance variables:
                sourceFiles: an Array(an UrlDownloadRequest)


[:req | self startRetrieval; installSourceFile: req contentStream] in  
CodeLoader>>installSourceFiles
        Receiver: a CodeLoader
        Arguments and temporary variables:
                req: an UrlDownloadRequest
        Receiver's instance variables:
                sourceFiles: an Array(an UrlDownloadRequest)






_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo

Comment #5 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

Arghhh, my fault.  Where it says

self startRetrieval; installSourceFile: req contentStream

it should be

req startRetrieval. self installSourceFile: req contentStream


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo

Comment #6 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

Arghhh, my fault.  Where it says

self startRetrieval; installSourceFile: req contentStream

it should be

req startRetrieval. self installSourceFile: req contentStream


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo

Comment #7 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

sorry :(

Attachments:
        CodeLoader.GuillermoPolito.1.cs  396 bytes


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo
Updates:
        Status: FixToInclude

Comment #8 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4307 in pharo: loading a script at start up

pharo
Updates:
        Status: Closed

Comment #9 on issue 4307 by [hidden email]: loading a script at  
start up
http://code.google.com/p/pharo/issues/detail?id=4307

in 13227


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker