Squeak Win 7 错误:没有可安装的内容
所以我决定看看 Smalltalk。谷歌搜索让我找到了 Squeak 和 Squeak By Examples。 Squeak By Example 告诉我将 .image 文件拖到 Squeak.exe 图标上。我这样做并收到错误:
“错误:没有要安装的内容”
如果我自行加载 squeak.exe,则不会出现错误消息。我认为这是因为它使用了从 squeak.org 下载中包含的图像文件,而不是我尝试使用的图像文件。我已经验证 .image 和 .changes 文件不是只读的并且未被阻止(您知道,从互联网下载的文件的属性对话框中存在的那个小按钮)。
Squeak 版本:Squeak-4.2-All-in-One SBE:1.3
接下来是什么?
编辑: 继续阅读这本书,我到达了保存环境的部分,然后尝试打开最近保存的图像。我遇到了同样的错误。所以这肯定是我打开它的方式有问题,或者是权限问题之类的。我确保我的用户和系统用户都可以完全控制图像和更改文件。我还尝试强制 squeak.exe 以管理员身份运行。仍然有问题。
在退出时保存默认图像而不是另存为并简单地加载 squeak.exe(和默认图像)可以正常工作,不会出现错误。稍后我会再看一下。
So I decided to take a look at Smalltalk. Googling led me to Squeak and Squeak By Example. Squeak By Example tells me to drag the .image file onto the Squeak.exe icon. I do this and get an error:
"Error: No content to install"
If I load squeak.exe by itself, no error message occurs. I assume this is because it uses the image file that was included in the download from squeak.org instead of the on I'm trying to use. I've verified that the .image and .changes files are not read only and are unblocked (you know, that little button that exists on the properties dialog of a file that was downloaded from the internet).
Squeak version: Squeak-4.2-All-in-One
SBE: 1.3
What's next?
Edit:
Proceeding with the book a bit, I got to the part where you save the environment, then try to open your recently saved image. I got the same error. So it must be an issue with how I'm opening it, or an permissions thing or something. I made sure both my user and the system user have full control over the image and changes files. I also tried forcing squeak.exe to run as administrator. Still having problems.
Saving the default image while exiting instead of a save-as and simply loading squeak.exe (and the default image) worked without error. I'll look at it some more later.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎当在 Squeak.ini 中指定 ImageFile 时(如 Squeak-4.2-All-in-One 中的情况),始终使用该图像文件。如果您将文件作为参数传递给 Squeak.exe(或拖放它),则该文件将作为要执行的源文件传递到图像。
如果您想通过将图像文件拖放到 Squeak.exe 图标上来打开它,请从 Squeak.ini 中删除 ImageFile 指令
It seems that when an ImageFile is specified in Squeak.ini (as is the case in Squeak-4.2-All-in-One) that image file is always used. And if you pass a file as an argument to Squeak.exe (or drag and drop it) that file is passed to the image as a source file to be executed instead.
If you want to open an image file by dropping it on the Squeak.exe icon remove the ImageFile directive from Squeak.ini