This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-04-27 10:52:05

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

muppetds wrote:

Lightnin wrote:

nathanprocks wrote:

I have Ubuntu 11.10 on my notebook PC. Is it anything to do with the plugins? I tried running it with squeak -plugins /usr/lib/scratch/Plugins -vm-sound-pulse /usr/lib/scratch/Scratch.image and it gave the output:

Code:

nathan@nathan-Compaq-Presario-CQ61-Notebook-PC:~$ squeak -plugins /usr/lib/scratch/Plugins -vm-sound-pulse /usr/lib/scratch/Scratch.image
found gettext in path
/home/nathan
could not find display driver vm-display-X11; either:
  - check that /usr/lib/squeak/4.4.7-2357/vm-display-X11.so exists, or
  - use the '-plugins <path>' option to tell me where it is, or
  - remove DISPLAY from your environment.
/usr/bin/squeak: line 277:  3651 Aborted                 $VM "$1" "$2"

Thanks for looking into this!

Ah - yes, if you use the VM from the repositories, then it has its own plugin location, different from Scratch's.

For testing purposes, it's probably easiest to copy  CameraPlugin, UnicodePlugin, and ScratchPlugin from /usr/lib/scratch into the Squeak package's plugins directory (will be unique for each version you test with).  Then make the -plugins path point to the Squeak VM's plugin directory. That way it'll use its own X11 plugin.

Is it possible for scratch to search for the OS and thus find the necessary location?

Or search for the VM version? and work out where the files are
Or we could write up a small script that copys the files from the VM plugins to the scratch plugins?


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#27 2012-04-27 14:55:57

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

Lightnin wrote:

JohnM, our only Squeak developer, is swamped working on Scratch 2.0 and doesn't have time to dive into this. And the rest of us are focused on various things related to 2.0 as well.

Wait there will be a squeak version of scratch 2.0?
[/offtopic]

Offline

 

#28 2012-04-27 15:00:32

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

I'll get my uncle to help.  He's the one who put ubuntu on my computer (which I love now!)


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#29 2012-04-27 16:54:49

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

muppetds wrote:

Offtopic

Why is your squeak dev working on scratch 2.0 if its in flash?

This isn't related to Scratch 2.0 - it will still be made in flash. This is just to help get Scratch 1.4 working with later Squeak VMs.  smile


http://i.imgur.com/WBkM2QQ.png

Offline

 

#30 2012-04-27 17:18:29

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

LiquidMetal wrote:

Lightnin wrote:

JohnM, our only Squeak developer, is swamped working on Scratch 2.0 and doesn't have time to dive into this. And the rest of us are focused on various things related to 2.0 as well.

Wait there will be a squeak version of scratch 2.0?
[/offtopic]

No, he's our only Squeak Dev. But he's also our main editor developer (it's in Flash). And he has his hands full with that.

Edit - oops, posted before I read the whole thread, and didn't see the post above this one. Thanks for clarifying, Lucario!

Last edited by Lightnin (2012-04-27 21:33:04)


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#31 2012-04-27 20:50:51

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

I typed "sudo nautilus" then typed my password and stuff, then I copied the Scratch plugins into /usr/lib/squeak and it is still giving me the same error.  hmm


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#32 2012-04-27 21:31:46

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

roijac wrote:

my point is, maybe the new plugin is the problem?

It's possible, but I think the issue you were running into was caused by the fact that the old scratch launcher script only specified one location for plugins. So you either need to make sure all the plugins are in one place, or figure out how to specify two locations to look for plugins (which I think is possible, but i'm not sure how.)


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#33 2012-04-27 21:40:09

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

nathanprocks wrote:

I typed "sudo nautilus" then typed my password and stuff, then I copied the Scratch plugins into /usr/lib/squeak and it is still giving me the same error.  hmm

Ah - I think the squeak vm plugins are in a different directory than that - a directory specific to the version number. On my system ( Ubuntu 12.04 ), they're in here:

/usr/lib/squeak/4.4.7-2357
(The plugins all start with so. )

You could also try this user script for starting Scratch - it should set things up correctly.
http://www.assembla.com/code/scratchonlinux/subversion/nodes/trunk/scratch/src/scratch?rev=92


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#34 2012-04-27 21:44:53

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

Lightnin wrote:

nathanprocks wrote:

I typed "sudo nautilus" then typed my password and stuff, then I copied the Scratch plugins into /usr/lib/squeak and it is still giving me the same error.  hmm

Ah - I think the squeak vm plugins are in a different directory than that - a directory specific to the version number. On my system ( Ubuntu 12.04 ), they're in here:

/usr/lib/squeak/4.4.7-2357
(The plugins all start with so. )

You could also try this user script for starting Scratch - it should set things up correctly.
http://www.assembla.com/code/scratchonlinux/subversion/nodes/trunk/scratch/src/scratch?rev=92

Oh yes, I forgot to the the version number. Silly me.  tongue


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#35 2012-04-27 21:48:52

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

I tried setting -plugins to the correct version number and now it is saying "Could not open the Squeak image file `-plugins'."  hmm

I will try that shell script.

The script opens Squeak, but gives me a white screen. I had to force-kill it.

Last edited by nathanprocks (2012-04-27 21:53:35)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#36 2012-04-27 22:39:37

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

I managed to set things up to reproduce the error that Miry is finding, on the debian bug. ( http://bugs.debian.org/471927 )
The startup script is executing squeak as follows (nathanpricks - you can probably just use this command instead of the startup script, if the squeak versions are right.)

/usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/Plugins/:/usr/lib/squeak/4.4.7-2357/ -vm-sound-pulse /usr/lib/scratch/Scratch.image

Last edited by Lightnin (2012-04-27 22:40:34)


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#37 2012-04-27 22:44:01

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

AHHHH!  I envy you, lightnin!  My uncle hasnt put ubuntu 12.04 on my computer yet!  I think he's waiting for 12.10.


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#38 2012-04-27 22:48:19

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

XenoK wrote:

AHHHH!  I envy you, lightnin!  My uncle hasnt put ubuntu 12.04 on my computer yet!  I think he's waiting for 12.10.

I can't download 12.04... I will have to get it from a magazine cover disc lol.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&amp;display=small

Offline

 

#39 2012-04-28 03:56:24

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

Is it possible to make the start up command have a list of folders to check?


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#40 2012-04-28 09:07:53

Lightnin
Scratch Team
Registered: 2008-11-03
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

XenoK wrote:

AHHHH!  I envy you, lightnin!  My uncle hasnt put ubuntu 12.04 on my computer yet!  I think he's waiting for 12.10.

smile  12.04 is an LTS release (Long Term Support), so it should be a very polished, well tested release....

*someday*
....

So far, it really isn't so great - I'm seeing some nasty glitches, more than I'd bargained for (screen blanking out after sleep, that kind of thing). So I'd wait a while before installing it.  sad

muppetds wrote:

Is it possible to make the start up command have a list of folders to check?

Yep! - that's what the colon between plugin paths in this startup command is doing:

/usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/Plugins/:/usr/lib/squeak/4.4.7-2357/ -vm-sound-pulse /usr/lib/scratch/Scratch.image

Last edited by Lightnin (2012-04-28 09:09:29)


Help Scratchers make the leap to 2.0!
http://img818.imageshack.us/img818/6844/transitionteam.jpg

Offline

 

#41 2012-04-28 10:59:21

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

Lightnin wrote:

XenoK wrote:

AHHHH!  I envy you, lightnin!  My uncle hasnt put ubuntu 12.04 on my computer yet!  I think he's waiting for 12.10.

smile  12.04 is an LTS release (Long Term Support), so it should be a very polished, well tested release....

*someday*
....

So far, it really isn't so great - I'm seeing some nasty glitches, more than I'd bargained for (screen blanking out after sleep, that kind of thing). So I'd wait a while before installing it.  sad

muppetds wrote:

Is it possible to make the start up command have a list of folders to check?

Yep! - that's what the colon between plugin paths in this startup command is doing:

/usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/Plugins/:/usr/lib/squeak/4.4.7-2357/ -vm-sound-pulse /usr/lib/scratch/Scratch.image

I won't be able to help out so much (see sig)

So why don't we make a list of all the plugin paths?

Last edited by muppetds (2012-04-28 11:00:06)


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#42 2012-04-28 16:34:29

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

Offline

 

#43 2012-04-30 11:48:54

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

bump


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#44 2012-04-30 14:17:26

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

roijac wrote:

does it help?

Could this article help? It explains how to allocate more memory to the squeak vm and by the looks of that log, it is an out of memory error you are having. Although whether that is one of the problems that scratch is experiencing I do not know.


http://i.imgur.com/zeIZW.png

Offline

 

#45 2012-04-30 15:50:50

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

rookwood101 wrote:

roijac wrote:

does it help?

Could this article help? It explains how to allocate more memory to the squeak vm and by the looks of that log, it is an out of memory error you are having. Although whether that is one of the problems that scratch is experiencing I do not know.

yeah that looks more like a memory error (caused by it being a new vm i don't know)


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#46 2012-05-01 13:00:43

stickdude123
Scratcher
Registered: 2010-05-31
Posts: 100+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

Lightnin wrote:

As we recently announced, we've made Scratch 1.4 available under the Gnu Public License v2.

This was done in part to make it easier for Linux distros like Debian, Ubuntu, and Fedora to integrate scratch into their repositories, so it's easy for their users to install. Our previous license was the major roadblock - but now that the licensing issue is resolved, there's one last major hurdle that we need your help to get over. Scratch no longer works with later versions of the Squeak Virtual Machine (VM).  hmm

In the current Linux version of Scratch, we bundle our own (old) VM in the package, but this isn't really the cleanest way to do it - it's better if Scratch depends on the VM package from the distro's repository. But people are getting blank screens when running Scratch on later VMs. Here's what Miriam Ruiz, an awesome super helpful Debian contributor who has been working on packaging Scratch, says:

«It works for me with squeak-vm 4.0.3.2202 (squeeze) but when trying to
run it on squeak-vm 4.4.7 (wheezy) I just get a blank screen. According to
jredrejo, the modification causing this problem might be
related to the changes made to the squeak-vm to be able to run it with
composite managers and compiz.»

My plans are mostly getting a diff between the last VM that works and
the current and start applying patch after patch until it doesn't. I
just have to find a couple of spare hours to do it (I've been totally
overloaded at work the last weeks).

JohnM, our only Squeak developer, is swamped working on Scratch 2.0 and doesn't have time to dive into this. And the rest of us are focused on various things related to 2.0 as well.

Can AT help solve this problem, and figure out what must be done to make Scratch work with later versions of the Squeak VM? (Whether it's changes to the Scratch image, or the VM) It would make it much easier for thousands of free software users to install Scratch. We could really use the help.

The most up to date info about the packaging of Scratch for Debian is here:
http://bugs.debian.org/471927

Thanks for reading!

but since scratch is for linux, those ARE linux distros, so that means they are compatible heres what im saying
           ↑→ Debian
LINUX→ Fedora
           ↓→ Ubuntu

it's really not needed for it to do that because if its a linux ditro, and if scratch was made for linux, then its not needed


http://internetometer.com/imagesmall/34259.png http://www.mediafire.com/convkey/418e/lkb7wmv2n2k73rz5g.jpg         http://blocks.scratchr.org/API.php?user=stickdude123&amp;action=onlineStatus&amp;type=square

Offline

 

#47 2012-05-01 15:39:50

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

stickdude123 wrote:

Lightnin wrote:

long post

but since scratch is for linux, those ARE linux distros, so that means they are compatible heres what im saying
           ↑→ Debian
LINUX→ Fedora
           ↓→ Ubuntu

it's really not needed for it to do that because if its a linux ditro, and if scratch was made for linux, then its not needed

Yes but its more to do with the way squeak vm interacts with the OS that causes the problem


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#48 2012-05-02 01:51:56

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

muppetds wrote:

rookwood101 wrote:

roijac wrote:

does it help?

Could this article help? It explains how to allocate more memory to the squeak vm and by the looks of that log, it is an out of memory error you are having. Although whether that is one of the problems that scratch is experiencing I do not know.

yeah that looks more like a memory error (caused by it being a new vm i don't know)

well, how i see it, it's infinite recursion. and no, it didn't help  hmm

Offline

 

#49 2012-05-02 02:44:52

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

roijac wrote:

muppetds wrote:

rookwood101 wrote:


Could this article help? It explains how to allocate more memory to the squeak vm and by the looks of that log, it is an out of memory error you are having. Although whether that is one of the problems that scratch is experiencing I do not know.

yeah that looks more like a memory error (caused by it being a new vm i don't know)

well, how i see it, it's infinite recursion. and no, it didn't help  hmm

then its a bug with the os and scratch


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#50 2012-05-04 02:49:14

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Help get Scratch into Debian, Ubuntu, Fedora....

bump


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

Board footer