Hi,
Im trying to install scratch on ubuntu 10.10 64bits and I get this error:
waltercoan@ldubuntuserver:~/Downloads$ sudo dpkg --force-architecture -i scratch_1.4.0.1-0ubuntu5_i386.deb
tar: ./postinst: time stamp 2010-04-29 13:26:52 is 70129800.145202098 s in the future
tar: ./md5sums: time stamp 2010-04-29 13:26:54 is 70129802.143723897 s in the future
tar: ./control: time stamp 2010-04-29 13:26:54 is 70129802.143601162 s in the future
tar: ./postrm: time stamp 2010-04-29 13:26:52 is 70129800.143533752 s in the future
tar: .: time stamp 2010-04-29 13:26:54 is 70129802.143400948 s in the future
dpkg: warning: overriding problem because --force enabled:
arquitetura do pacote (i386) não combina com a do sistema (amd64)
(Lendo banco de dados ... 132465 arquivos e diretórios atualmente instalados).
Desempacotando scratch (de scratch_1.4.0.1-0ubuntu5_i386.deb) ...
dpkg-deb (sub-processo): short read on buffer copy for falhou ao escrever para o "pipe" na cópia
dpkg-deb: sub-processo paste retornou estado de saída de erro 2
dpkg: erro processando scratch_1.4.0.1-0ubuntu5_i386.deb (--install):
short read on buffer copy for mecanismo dpkg-deb durante './usr/share/scratch/Media/Backgrounds/Nature/flowers.gif'
Processando gatilhos para man-db ...
Processando gatilhos para shared-mime-info ...
Processando gatilhos para hicolor-icon-theme ...
Processando gatilhos para desktop-file-utils ...
Processando gatilhos para python-gmenu ...
Rebuilding /usr/share/applications/desktop.pt_BR.utf8.cache...
Processando gatilhos para python-support ...
Erros foram encontrados durante o processamento de:
scratch_1.4.0.1-0ubuntu5_i386.deb
Offline
Interesting! I just retested on my 10,10 machine using the same command, and it worked fine. I notice the file download is pretty slow these days. Are you certain that the file was completely downloaded before attempting to execute the install command? It might be worth attempting to download again to make sure the file wasn't corrupted the first time. The file should be 32.7 MB.
Offline
Thanks Lightnin.
Newbe problems, i download again the package and know install correctly. But when I run this error occours:
aluno1@ldubuntuserver:~/Área de Trabalho$ scratch
/usr/bin/scratch: 8: /usr/bin/scratch_squeak_vm: not found
Important: im using Scratch in a Xvnc session, i want to use many multiple sessions.
Tks again for your help!
Offline
waltercoan wrote:
Thanks Lightnin.
Newbe problems, i download again the package and know install correctly. But when I run this error occours:
aluno1@ldubuntuserver:~/Área de Trabalho$ scratch
/usr/bin/scratch: 8: /usr/bin/scratch_squeak_vm: not found
Important: im using Scratch in a Xvnc session, i want to use many multiple sessions.
Tks again for your help!
Hmm.... I've never heard of scratch being used like that, although there's no reason why it shouldn't work. Make sure that the user executing the vnc has sufficient permissions to access / execute the scratch_squeak_vm file. That's the Squeak virtual machine that runs the Scratch file.
Offline
Hi,
I try:
chmod a+x scratch_squeak_vm
chmod 777 -R /usr/lib/scratch
but nothing...
Offline
Hi,
I think that I found the problem. I'm using VNC with X11 protocol, and probably the problem is that squeak vm dont support X11. For discovery that, I install squeak and change scratch.sh to :
waltercoan@ldubuntuserver:/usr/bin$ cat scratch
#!/bin/sh
# Squeakvm wrapper to load Scratch image.
#------------------------------------------------------------
#scratch_squeak_vm \
squeak \
-plugins /usr/lib/scratch/Plugins \
-vm-display-X11
#-vm-sound-pulse
/usr/lib/scratch/Scratch.image "${@}"
That error occurs:
waltercoan@ldubuntuserver:/usr/bin$ scratch
found gettext in path
/usr/bin
could not find display driver vm-display-X11; either:
- check that /usr/lib/squeak/4.0.3-2202/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: 8611 Aborted $VM "$1" "$2"
/usr/lib/scratch/Scratch.image: 2: Syntax error: word unexpected (expecting ")")
Offline
did you try downloading the scratch.deb file from the website? It worked perfectly for me.
Offline
Hi,
I change the scratch.sh file to that and works:
squeak \
/usr/lib/scratch/Scratch.image \
-plugins /usr/lib/scratch/Plugins
But when I try to open a project or import a new object to a project this error occours:
http://tinypic.com/r/1216dg7/7
Offline
Hi,
I really cant run scratch.image using scratch_squeak_vm, just using squeak VM. But when I run occours erros on open files http://tinypic.com/r/1216dg7/7
Offline
Help?
Offline