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?
Offline
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
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.
Offline
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)
Offline
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.
Offline
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.)
Offline
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.
![]()
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
Offline
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.
![]()
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.
Offline
I tried setting -plugins to the correct version number and now it is saying "Could not open the Squeak image file `-plugins'."
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)
Offline
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)
Offline
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.
Offline
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.
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.
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)
Offline
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.
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.![]()
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)
Offline
Offline
roijac 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.
Offline
rookwood101 wrote:
roijac 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)
Offline
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).![]()
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
Offline
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
Offline
muppetds wrote:
rookwood101 wrote:
roijac 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
Offline
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
![]()
then its a bug with the os and scratch
Offline