Git Product home page Git Product logo

Comments (5)

russellallen avatar russellallen commented on July 27, 2024

Hi dyba,
Did you run the Self vm from the objects directory? i.e. is 'worldBuilder.self' in the current working directory?
Also, how did you install the Self vm itself?
Russell

from self.

dyba avatar dyba commented on July 27, 2024

@russellallen Thanks for the quick reply! I downloaded the DMG and moved that to my Applications folder. Next, I created an Empty VM. That brought up a new Terminal window with the VM prompt. After that, I typed:

_Spy: true

I had to do that twice for whatever reason because the first time, it said false. Finally, I ran the command:

'worldBuilder.self' _RunScript

That's when I got the error I mentioned.

Where is the objects directory?

from self.

dyba avatar dyba commented on July 27, 2024

It looks like Self is only supported on Mac OS X 10.7. I'm on 10.11. So perhaps the DMG isn't packaged for the latest version of Mac OS X? I read this thread which mentions I can compile Self by hand so that it doesn't depend on the Mac OS X interface and instead run Self using X11. Would that be a better option for me?

And if so, how exactly would I compile Self to use X11?

from self.

russellallen avatar russellallen commented on July 27, 2024

Self should work fine on 10.11 for your purposes.

I think there is a little confusion. I'll try to explain.

There are two ways to run the full Self environment on the Self VM.

The most common way is to use the prebuilt environment. This is in your dmg file, it's called "Clean.snap". To run it, drag the snapshot to your local filesystem (e.g. the Desktop). Then from the Self Control.app, select "Choose Snapshot..." and select the Clean.snap file from the dialog. This should run the environment, which should open a window with Morphic running. If you know Smalltalk, then the .snap file is the equivalent of an .images file. Otherwise, think of it as being like a VMWare image - a frozen snapshot of the state of the system.

The second way is to build the environment from the original Self source files. These aren't distributed in the DMG file because they are large. Instead you need to clone the Self git repository. In that repository is an 'objects' directory. The directions you were following assumed you had already obtained that 'objects' directory, which as the 'worldBuilder.self' file in it. Sending the _RunScript message to that file failed for you because the file was not in your current directory.

Does this make sense?

from self.

dyba avatar dyba commented on July 27, 2024

Yes! 🎉 Thank you for the explanation. I totally ignored the Clean.snap file because it didn't look useful. I get it now snap is short for snapshot. 👊 myself. I wonder if others have had a similar experience.

from self.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.