Hi,
I am using an HP laptop running Windows XP. Because of the way the admins want things, I have to install Squeak under and admin account and then run it from a non-admin account.
Everything works fine from the admin account.
From the admin account, I am prompted for the location of the image file. I found the one that the admin installed.
While "Initializing security system...", I get:
"An error has occurred. You should probably just hit abandon. Sorry"
When I choose Debug I see a call stack that includes code that refers to SecurityKeys a lot. I also tried to Abandon and then I seem to be able to run normally anyway!
Does this have to do with some permissions on the files ? How do I fix this problem?
Also, I can only see half of the bottom row of Supplies even in the admin account.
Thanks in advance!
Herb Schilling wrote:
Does this have to do with some permissions on the files ? How do I fix this problem?
You should first run Squeak under the admin account so Squeak can create this security file (it contains a key that is used to sign projects).
After that you should be fine as long as you have write permission to the c:\My Squeak directory.
If you need to change the location of your user directory you can add somthing like
[Security] UserDirectory="d:\mike\squeak"
to the squeak.ini file located in the squeak plugin directory (where squeak.exe resides).
Also, I can only see half of the bottom row of Supplies even in the admin account.
Could you send a screenshot of this? I can't really imagine how that looks like...
Cheers
Michael
I just realized that I too have this situation and the timing is crucial as I'm going out to a Girl Scouts computer lab today to have their sysadmin install Squeak. However, the fix(es) you suggested, Michael, don't work for me. This could be due to my lack of knowledge on Windows, but here's my brief summary.
I installed Squeak under my personal/Admin acct, then created a 'tester' acct. Running Squeak from tester, I have symptoms similar to what Herb described, i.e., it starts up with a msg "Initializing security system..." (something that I don't see when running on my acct) and then I get "Error: a primitive has failed" with the Store log|Abandon|Debug choices. As Herb said, hitting Abandon and continuing seems to allow one to run normally, including being able to save projects. (So, this is really just a nuisance bug, but one I'd rather not have when trying to instill confidence to sysadmins/newbies about installing/running Squeak).
I then tried to give write permission to c:\My Squeak, as you suggested. And here's where my Windows ignorance plays out. Right-mouse on this folder and going to Properties, I turn off the "Read Only" button, apply to all subfolders, but it doesn't seem to stick. Closing the Properties and opening it up again shows the "Read only" button selected again. I then go to the "Sharing" tab and attempt to turn on share with others, including dragging it to the Shared Documents, but I still get the same error msg when running from tester. I'm at a loss.
About "seeing only half of bottom row of Supplies", yes, that does indeed seem to be the default behavior when you simply click on the tab (attached image). However, maybe Herb doesn't realize that you can simply drag the Supplies tab itself up higher to see everything in that bottom/2nd row. Then the next time you open the Supplies tab with a single click, it'll remember its previous height.
BTW, I sent in a different question to this list yesterday, but it still hasn't shown. I may have asked before, but is this a human-filtered list? It seems like a rather lengthy delay.
--Randy
-----Original Message----- From: squeakland-bounces@squeakland.org [mailto:squeakland- bounces@squeakland.org] On Behalf Of Michael Rueger Sent: Wednesday, October 20, 2004 4:56 PM To: Herb Schilling Cc: squeakland@squeakland.org Subject: Re: [Squeakland] Newbie installation question - security system fails
Herb Schilling wrote:
Does this have to do with some permissions on the files ? How do I fix this problem?
You should first run Squeak under the admin account so Squeak can create this security file (it contains a key that is used to sign projects).
After that you should be fine as long as you have write permission to the c:\My Squeak directory.
If you need to change the location of your user directory you can add somthing like
[Security] UserDirectory="d:\mike\squeak"
to the squeak.ini file located in the squeak plugin directory (where squeak.exe resides).
Also, I can only see half of the bottom row of Supplies even in the admin account.
Could you send a screenshot of this? I can't really imagine how that looks like...
Cheers
Michael
Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
Hi Randy,
Here is some more info. Squeak needs two directories where it can write to. One is the so called "secure directory" which it uses to store some data that should never (not even by accident) accessible to any squeaklet. The other one is what the call the "user directory" since this is the place the user will be teleported to when she loads an unknown squeaklet.
Typically, (1) is set to the location where the plugin is installed and (2) is set to C:\My Squeak. In order to change this, you can modify the Squeak.ini file in the installation directory (more info at http://minnow.cc.gatech.edu/squeak/3274). You need to add the following:
[Security] SecureDirectory=C:\Program Files\Squeak\Plugin UserDirectory=C:\My Squeak%USERNAME%
Note that the directories in the above are the defaults for a typical installation (we don't store these in the ini file by default - it makes it easier to move these things around so there is no entry initially). Also note that you can use environment variables (such as %USERDIRECTORY% in the above). I would expect that the following should work for you:
[Security] SecureDirectory=%USERPROFILE\Application Data UserDirectory=%USERPROFILE\My Squeak
This essentially puts both directories into the current user's environment to which I expect they have write access. If not, simply adjust the above so that it works for you.
Cheers, - Andreas
----- Original Message ----- From: "Randy Heiland" heiland@indiana.edu To: "'Michael Rueger'" michael@squeakland.org; "'Herb Schilling'" hschilling@nasa.gov Cc: squeakland@squeakland.org Sent: Thursday, October 21, 2004 2:48 AM Subject: RE: [Squeakland] Newbie installation question - security system fails
I just realized that I too have this situation and the timing is crucial as I'm going out to a Girl Scouts computer lab today to have their sysadmin install Squeak. However, the fix(es) you suggested, Michael, don't work for me. This could be due to my lack of knowledge on Windows, but here's my brief summary.
I installed Squeak under my personal/Admin acct, then created a 'tester' acct. Running Squeak from tester, I have symptoms similar to what Herb described, i.e., it starts up with a msg "Initializing security system..." (something that I don't see when running on my acct) and then I get "Error: a primitive has failed" with the Store log|Abandon|Debug choices. As Herb said, hitting Abandon and continuing seems to allow one to run normally, including being able to save projects. (So, this is really just a nuisance bug, but one I'd rather not have when trying to instill confidence to sysadmins/newbies about installing/running Squeak).
I then tried to give write permission to c:\My Squeak, as you suggested. And here's where my Windows ignorance plays out. Right-mouse on this folder and going to Properties, I turn off the "Read Only" button, apply to all subfolders, but it doesn't seem to stick. Closing the Properties and opening it up again shows the "Read only" button selected again. I then go to the "Sharing" tab and attempt to turn on share with others, including dragging it to the Shared Documents, but I still get the same error msg when running from tester. I'm at a loss.
About "seeing only half of bottom row of Supplies", yes, that does indeed seem to be the default behavior when you simply click on the tab (attached image). However, maybe Herb doesn't realize that you can simply drag the Supplies tab itself up higher to see everything in that bottom/2nd row. Then the next time you open the Supplies tab with a single click, it'll remember its previous height.
BTW, I sent in a different question to this list yesterday, but it still hasn't shown. I may have asked before, but is this a human-filtered list? It seems like a rather lengthy delay.
--Randy
-----Original Message----- From: squeakland-bounces@squeakland.org [mailto:squeakland- bounces@squeakland.org] On Behalf Of Michael Rueger Sent: Wednesday, October 20, 2004 4:56 PM To: Herb Schilling Cc: squeakland@squeakland.org Subject: Re: [Squeakland] Newbie installation question - security system fails
Herb Schilling wrote:
Does this have to do with some permissions on the files ? How do I fix this problem?
You should first run Squeak under the admin account so Squeak can create this security file (it contains a key that is used to sign projects).
After that you should be fine as long as you have write permission to the c:\My Squeak directory.
If you need to change the location of your user directory you can add somthing like
[Security] UserDirectory="d:\mike\squeak"
to the squeak.ini file located in the squeak plugin directory (where squeak.exe resides).
Also, I can only see half of the bottom row of Supplies even in the admin account.
Could you send a screenshot of this? I can't really imagine how that looks like...
Cheers
Michael
Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
I just realized that I too have this situation and the timing is crucial as I'm going out to a Girl Scouts computer lab today to have their sysadmin install Squeak. However, the fix(es) you suggested, Michael, don't work for me. This could be due to my lack of knowledge on Windows, but here's my brief summary.
I installed Squeak under my personal/Admin acct, then created a 'tester' acct. Running Squeak from tester, I have symptoms similar to what Herb described, i.e., it starts up with a msg "Initializing security system..." (something that I don't see when running on my acct) and then I get "Error: a primitive has failed" with the Store log|Abandon|Debug choices. As Herb said, hitting Abandon and continuing seems to allow one to run normally, including being able to save projects. (So, this is really just a nuisance bug, but one I'd rather not have when trying to instill confidence to sysadmins/newbies about installing/running Squeak).
I then tried to give write permission to c:\My Squeak, as you suggested. And here's where my Windows ignorance plays out. Right-mouse on this folder and going to Properties, I turn off the "Read Only" button, apply to all subfolders, but it doesn't seem to stick. Closing the Properties and opening it up again shows the "Read only" button selected again. I then go to the "Sharing" tab and attempt to turn on share with others, including dragging it to the Shared Documents, but I still get the same error msg when running from tester. I'm at a loss.
One thing that worked for me:
1. Log in as non-admin
2. Start Squeak
3. From the World menu, do Save As... Keep the suggested name and click Accept
4. Quit Squeak
5. Now you can drag and drop the image that you Saved As onto the Squeak plugin. In my case the image file was in C:\My Squeak\student. No more errors.
6. You could also add and ImageFile option in the squeak.ini file that points to the saved image. Then you could just start Squeak and it would go straight to the right image.
7. I tried to associate the .image extension with Squeak but when I set that in the admin account, it doesn't seem to carry over to the student account. In the student account I am not permitted to set that association.
About "seeing only half of bottom row of Supplies", yes, that does indeed seem to be the default behavior when you simply click on the tab (attached image). However, maybe Herb doesn't realize that you can simply drag the Supplies tab itself up higher to see everything in that bottom/2nd row. Then the next time you open the Supplies tab with a single click, it'll remember its previous height.
Thanks. I did finally figure this out too.
BTW, I sent in a different question to this list yesterday, but it still hasn't shown. I may have asked before, but is this a human-filtered list? It seems like a rather lengthy delay.
I have noticed this too!
squeakland@lists.squeakfoundation.org