The inisqueak script doesn't appear to exist

Bug #2930 reported by Mark Derricutt
22
Affects Status Importance Assigned to Milestone
squeak-vm (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

After installing the squeak-vm and squeak-sources packages, I see a man page for inisqueak:

  /usr/share/man/man1/inisqueak.1.gz

but no sign of the actual script.

Tags: packaging

Related branches

Changed in squeak-vm:
assignee: nobody → motu
Revision history for this message
Barry deFreese (bddebian) wrote :

Mark. I cannot reproduce this. squeak ends up in /usr/bin. Is there something else you are looking for? Thanks.

Revision history for this message
Mark Derricutt (mark-talios) wrote :

The squeak virtual machine requires a runtime image in order to run (the image contains all the objects and code to run ). After installing the squeak packages I noticed there were no .image files on the system.

From "man squeak":

       The image and changes files contain the state of a user’s Squeak session, which is per‐
       sistent between consecutive sessions. Private copies of these files are therefore nor‐
       mally required. The inisqueak script checks that the local Squeak installation appears
       sane, and then copies the required files to the current working directory. If inisqueak
       encounters no problems, it will finish by running squeak to start a Squeak session using
       the newly copied image and changes files.

       inisqueak should be run once, when using Squeak for the first time, to create a new
       ’personal’ Squeak session. Afterwards, squeak should be run each time that session is
       to be resumed.

The man page further mentions:

FILES
       /usr/lib/squeak/SqueakV3.sources
              Shared system sources file for the Squeak image. There must be a copy of (or
              link to) this file in the working directory when running squeak.

/usr/lib/squeak/Squeak*.changes
              Distributed image and changes files holding a ‘shapshot’ of a live Squeak ses‐
              sion. (The contents of these files change during a session, and so private
              copies should always be made before running squeak for the first time. See
              inisqueak(1)).

       ./SqueakV3.sources
              A link to the system sources file.

       ./name.image
       ./name.changes
              Private copies of image and changes files.

       /usr/lib/squeak/3.7-7/*.so
       /usr/lib/squeak/3.7-7/*.la
              Virtual machine ’plugins’ (containing primitives that are loaded on demand) and
              drivers (for different types of display and sound hardware).

       /usr/bin/squeak
       /usr/bin/inisqueak
              The Squeak virtual machine and personal image installer script.

There is no /usr/bin/inisqueak, or do there appear to be any /usr/lib/squeak/Squeak*.image files.

The installed squeak binaries work with a .image file from the main squeak distribution and works fine, the only problem I see is theres no way to create a new image from the stock packages.

Revision history for this message
Damien Cassou (cassou) wrote :

I confirm squeak-vm needs inisqueak and an image to work properly.

Revision history for this message
Oliver Grawert (ogra) wrote :

 squeak-vm (3.7.7-5ubuntu3) dapper; urgency=low
 .
   * added squeak wrapper script to install system .image and .changes files
     before starting squeak if none are found.
   * added dependency on squeak-image

Changed in squeak-vm:
status: Unconfirmed → Fix Released
Revision history for this message
Martin Pool (mbp) wrote :

The bug is still still happening for me with 3.7.7-5ubuntu6

There is no inisqueak script and if I run squeak with no arguments in an empty directory it fails to start, complaining of no image. Also /usr/bin/squeak is a binary, not a wrapper script.

Changed in squeak-vm:
status: Fix Released → Confirmed
Revision history for this message
LaserJock (laserjock) wrote :

You can either use the menu item, or run the wraper script, startscript. /user/bin/squeak is the normal binary so that command line usage could be preserved. My changelog enty was not clear enough, sorry.

Changed in squeak-vm:
status: Confirmed → Fix Released
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 2930] Re: The inisqueak script doesn't appear to exist

On 23 Jun 2006, Jordan Mantha <email address hidden> wrote:
> You can either use the menu item, or run the wraper script, startscript.
> /user/bin/squeak is the normal binary so that command line usage could
> be preserved. My changelog enty was not clear enough, sorry.

I think you mean "startsqueak".

There's still a bug here though: all the documentation refers to inisqueak,
which does not exist, and afaics nothing mentions startsqueak.

--
Martin

Revision history for this message
Oliver Grawert (ogra) wrote :

probably simply a link inisqueak->startsqueak should be added ;)

Martin Pool (mbp)
Changed in squeak-vm:
status: Fix Released → Confirmed
Revision history for this message
Mike Travers (mt-alum) wrote :

This problem still exists.

I don't think that startsqueak is the equivalent of inisqueak.

According to the man page:
      inisqueak should be run once, when using Squeak for the first time, to
       create a new personal Squeak session. Afterwards, squeak should be
       run each time that session is to be resumed.

Startsqueak doesn't do this.

I hope somebody will fix this; Squeak is supposed to be friendly for beginners but I've had more problems with it than any other ubuntu package so far.

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

I can confirm Mikes complain. This bug or missing essential feature is still active.

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

Let me add for further readers how to work around: Install "squeak-image" and unzip the files /usr/lib/squeak/*.gz to your ~/squeak/ - afterwards there should be two files: Squeak3.8-6665.image and Squeak3.8-6665.changes.

Revision history for this message
LaserJock (laserjock) wrote :

I created startsqueak as a GUI wrapper script so that squeak can be used from the menu. inisqueak was never installed in the packages we used. I talked with squeak developers and they liked my startsqueak script so I included that. I'm not sure why inisqueak is necessary here but I can include if if you feel it is. I was honestly hoping that the squeak developers would include some sort of session/image management that would be compatible with menu usage. My wrapper was sent to the squeak devel mailing list but I don't know that anybody replied.

I should at least get rid of the inisqueak man page if we don't ship it as it is confusing to have a man page and no program to go with it.

Revision history for this message
Mike Travers (mt-alum) wrote :

I'm an experienced computer user but not very familiar with Squeak
(although I had some influence on its early development). I also just
started using Ubuntu. From this perspective, Ubuntu has solved most of
the nasty Linux install issues. Most of the software packaged for
ubuntu installs painlessly with no knowledge required. But when I want
to install Squeak, I'm faced with a mass of confusing choices
(starting with whether I want the version from Squeakland or not),
special directions, and then things that don't work like these
inisqueak/startsqueak.

This is disappointing. Squeak ought to be easier to setup and use than
the average piece of software, not harder. I could probably figure
out these issues myself given enough time, but the target audience
(beginning programmers) won't.

Anyway, not sure who is responsible for Ubuntu/Squeak "user
experience" but I think given the growing popularity of this platform
it would be worth smoothing down these rough edges.

Mike

On 12/1/06, Jordan Mantha <email address hidden> wrote:
> I created startsqueak as a GUI wrapper script so that squeak can be used
> from the menu. inisqueak was never installed in the packages we used. I
> talked with squeak developers and they liked my startsqueak script so I
> included that. I'm not sure why inisqueak is necessary here but I can
> include if if you feel it is. I was honestly hoping that the squeak
> developers would include some sort of session/image management that
> would be compatible with menu usage. My wrapper was sent to the squeak
> devel mailing list but I don't know that anybody replied.
>
> I should at least get rid of the inisqueak man page if we don't ship it
> as it is confusing to have a man page and no program to go with it.
>
> --
> The inisqueak script doesn't appear to exist
> https://launchpad.net/bugs/2930
>

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

Hey Jordan,

the confusion is just about not being able to use the files delivered with the squeak-image package. As a squeak newbie you install the package and wonder why you are not able to choose it. There must a be a clear hint somewhere or better a function to copy the image/changes file to your squeak home. This will add quite some usability to the ubuntu squeak distribution and people will like it.

Revision history for this message
Russel Winder (russel) wrote :

Will Gutsy be release with a fixed version of Squeak?

To be honest this situation is a blocker and should be relabelled as such.

A person installs the Squeak packages, tries to run squeak, is told in the manual to run inisqueak only to find that it doesn't exist. I suspect most people will then remove the Squeak packages and go and use Ruby.

The startsqueak script does not do the right thing in that it copies files to the central location ~/squeak. The whole point of the inisqueak way of doing things is that you can have any number of active images. Create a directory, create an image, go.

Does startsqueak have any documentation? man startsqueak says no documentation and startsqueak --help just copies an image and starts just as though no option was given.

I am happy that there is a Gnome menu entry etc. for those people who use such things, but surely just having the inisqueak command as is documented is easy to do, and satisfies all the people who use Squeak the way it is intended to be used.

Revision history for this message
Miguel Decleire (miggy) wrote :

Well, Gutsy didn't seem to change anything.

I want to learn a bit about programming, and I heard that squeak was fairly easy for starters. Well, so far it's been quite disappointing, as said before.
No inisqueak. I used the workaround mentionned by Caspar Clemens Mierau, but still, the file SqueakV3.sources appears to be in the wrong directory (/usr/lib/squeak instead of /usr/lib/squeak/3.7-7/).
Then it works, and I'm able to discover the very specific squeak environment.

But maybe I'll try another language also. Maybe Ruby, or directly python...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package squeak-vm - 1:3.9.8-3ubuntu1

---------------
squeak-vm (1:3.9.8-3ubuntu1) hardy; urgency=low

  * debian/{changelog/control}: rename source package squeak-vm to be
    consistent with existing Debian and Ubuntu source packages
  * debian/patches: added amd64.patch to fix amd64 segfaults
  * debian/control:
     - add Xb-Npp-* to add squeak-plugin to plugin database
     - update squeak-plugin description link to test plugin
     - build-dep on autotools-dev for config.{guess,sub} handling
     - use Homepage field
     - bump debhelper version to 5
  * remove squeak.{postinst,prerm}.debhelper in favor of dh_installmenu
  * add #DEBHELPER# token to squeak-vm.{postinst,prerm}
  * debian/rules:
    - remove cruft
    - use gcu-plugin.{dirs,install,links} to install plugin
    - add dh_link
    - install .desktop file
    - add dh_desktop call for above
    - copy in newer config.{guess,sub}
  * debian/copyright: filled in a little and pointed to GPL-2 instead of GPL
  * debian/squeak.menu: updated ( Apps->Applications)
  * debian/squeak.desktop: added
  * added transitional dummy packages for squeak-image and squeak-sources
  * Modify Maintainer value to match the DebianMaintainerField
    specification.
  * Closes LP: #2930, #36802, #36806, #37205, #44952, #96340, #134075, #38107
    Closes LP: #121858

 -- Jordan Mantha <email address hidden> Sat, 16 Feb 2008 18:15:19 -0800

Changed in squeak-vm:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.