Go to advanced search

by makem2
Thu Jan 09, 2020 6:44 pm
Forum: Scratch
Topic: Scratch 3 No motion blocks
Replies: 1
Views: 716

Re: Scratch 3 No motion blocks

Scratch that - you have to select a sprite first! :oops:
by makem2
Thu Jan 09, 2020 6:27 pm
Forum: Scratch
Topic: Scratch 3 No motion blocks
Replies: 1
Views: 716

Scratch 3 No motion blocks

I have just installed Scratch 3 on a Pi4 running Raspbian and have what I presume is an error in the code block list:

"Stage selected: no motion blocks"

I have scrolled through the list of blocks available and, nothing. Must I obtain those 'Move' blocks elsewhere?
by makem2
Fri Oct 24, 2014 4:44 pm
Forum: Troubleshooting
Topic: Wait and/or Sleep?
Replies: 0
Views: 357

Wait and/or Sleep?

I have a script which runs automatically from /etc/init.d on boot between 03:00 and 06:00 and on completion shuts down the pi . #! /bin/bash ### BEGIN INIT INFO # Provides: shutauto # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 ...
by makem2
Thu Oct 23, 2014 10:48 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

One final thought - I now need to clean the rubbish from the SD card? I don't use it for data so does it matter? If so how lol. ... i am not sure, what you mean with "clean rubbish from sd card...". you don't have to clean anything. when you have a good setup with the UUIDs, where it was working, a...
by makem2
Thu Oct 23, 2014 9:45 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

I tend to agree with your label.

One final thought - I now need to clean the rubbish from the SD card?

I don't use it for data so does it matter? If so how lol.
by makem2
Thu Oct 23, 2014 9:03 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

The UUID is part of the partition table so if you move partitions with fdisk or parted or gparted you can change the UUID. I even hacked one on a FAT32 partition using hexedit. That may explain then - I did reformat both drive from NTFS to ext4 a while ago and two days ago reformatted them ext4 onc...
by makem2
Thu Oct 23, 2014 8:42 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

After re-correcting the UUIDs: [email protected]i ~ $ df -h Filesystem Size Used Avail Use% Mounted on rootfs 30G 1.9G 27G 7% / /dev/root 30G 1.9G 27G 7% / devtmpfs 235M 0 235M 0% /dev tmpfs 49M 388K 49M 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 98M 0 98M 0% /run/shm /dev/mmcblk0p1 56M 19M 38M 34% /b...
by makem2
Thu Oct 23, 2014 8:25 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

ls -la /media will tell nothing because the directories have already been created. What is the output of df -h and cat /etc/fstab | grep UUID? [email protected] ~ $ df -h Filesystem Size Used Avail Use% Mounted on rootfs 30G 1.9G 27G 7% / /dev/root 30G 1.9G 27G 7% / devtmpfs 235M 0 235M 0% /dev tmpfs ...
by makem2
Thu Oct 23, 2014 8:14 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

I have corrected the UUIDs in fstab and there has been no change: [email protected] ~ $ ls -la /media total 32 drwxr-xr-x 8 root root 4096 Oct 23 21:07 . drwxr-xr-x 23 root root 4096 Nov 29 2013 .. drwxr-xr-x 2 root root 4096 Oct 23 19:45 HDD1 drwxr-xr-x 4 root root 4096 Oct 23 10:40 HDD1_ drwxr-xr-x 2...
by makem2
Thu Oct 23, 2014 8:00 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

The UUID entries you have in /etc/fstab are incorrect. Check them with blkid. Are you running the GUI? That is the only way I know of that the drives will auto mount and it must be mounting them to the location based on the disk label but adding underscore because there is an entry in fstab for a d...
by makem2
Thu Oct 23, 2014 7:41 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

[email protected] / $ sudo mount -a mount: special device UUID=86D8F0FED8F0ED75 does not exist mount: special device UUID=4A7E9DD27E9DB6E3 does not exist mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) mount error(38): Function not implemented Refer to t...
by makem2
Thu Oct 23, 2014 6:54 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

sudo mount for a in HDD1 HDD1_ HDD2 HDD2_ ; do sudo umount /media/$a ; done pull them [the extremal drives] just to be sure sudo rm -fr /media/HDD1_ /media/HDD1 /media/HDD2_ /media/HDD2 sudo mkdir /media/HDD1 /media/HDD2 plug them back in and see what is reported in dmesg As suggested: [email protected]...
by makem2
Thu Oct 23, 2014 5:23 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

Yes, I should have shown the output relating to usb: [email protected] / $ dmesg | grep -1 usb [ 0.899988] SCSI subsystem initialized [ 0.904063] usbcore: registered new interface driver usbfs [ 0.909769] usbcore: registered new interface driver hub [ 0.915345] usbcore: registered new device driver usb...
by makem2
Thu Oct 23, 2014 4:33 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

Before carrying out the last suggestion by RaTTuS, I thought it may be of value to see the output from dmesg now, for comparison with the output later: [ 3.366405] usb 1-1.3: new high-speed USB device number 5 using dwc_otg [ 3.508464] usb 1-1.3: New USB device found, idVendor=0930, idProduct=0b1a [...
by makem2
Thu Oct 23, 2014 1:17 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

umount all the drives in /media delete the files there [making sure you have umounted correctly] re-create the USB drives mount then back as they should be ... you have at some stage copied files to a mount position before you had mounted a drive and it has filled up your 32GB SD card [mostly] Ah, ...
by makem2
Thu Oct 23, 2014 1:08 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

DougieLawson wrote:It's probably an annoying feechur of your automouter. The most likely condition will be "if /media/FOO already exists create /media/FOO_".
Can I turn off the automount feature to gain control?
by makem2
Thu Oct 23, 2014 12:57 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

maybe you can try to give your ext4 filesystems a label HDD1 and the other HDD2 with e2label /dev/sdX HDD1 e2label /dev/sdY HDD2 (where you have to replace sdX and sdY with your devicenames) and then use these labels in the fstab to identify your mount points LABEL=HDD1 /media/HDD1 ext4 noatime 0 0...
by makem2
Thu Oct 23, 2014 12:46 pm
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Re: Trailing underscores on USB drive names

Maybe those usb drives were automatically mounted at startup and the system created dynamically two alternative folders (adding a trailing underscore to the labels) because the folders /media/HDD1 and /media/HDD2 already existed. If automount option is enabled, you should not use /etc/fstab. Are yo...
by makem2
Thu Oct 23, 2014 10:04 am
Forum: Troubleshooting
Topic: Trailing underscores on USB drive names SOLVED
Replies: 36
Views: 4616

Trailing underscores on USB drive names SOLVED

I have 2 1T USB hard drives attached to my pi and they were mounted as HDD1 and HDD2. Both drives are formatted ext4 and each has only one directory, "shares". They are mounted at each boot by an fstab entry: UUID=86D8F0FED8F0ED75 /media/HDD1 ext4 noatime 0 0 UUID=4A7E9DD27E9DB6E3 /media/HDD2 ext4 n...
by makem2
Mon Oct 20, 2014 10:42 am
Forum: Raspbian
Topic: Automating shutdown and start up of Rpi
Replies: 14
Views: 3240

Re: Automating shutdown and start up of Rpi

Currently: !#/bin/bash /usr/bin/rsync -avx --delete /media/HDD1/shares/myprofile /media/HDD2/shares/ /usr/bin/rsync -avx --delete /media/HDD1/shares/hanprofile /media/HDD2/shares/ /usr/bin/rsync -avx --delete /media/HDD1/shares/mailwasher /media/HDD2/shares/ /usr/bin/rsync -avx --delete /media/HDD1/...
by makem2
Sun Jan 05, 2014 9:36 pm
Forum: Raspbian
Topic: Failed to set times........operation not permitted
Replies: 5
Views: 3724

Re: Failed to set times........operation not permitted

Are you sure the rsync is started only from /etc/init.d? There are references in your posting history to crontab as well. Yes, init scripts normally run as root. But if the rsync -a is run as root, on native filesystems such as ext4, then it should copy the ownership and timestamps without error. T...
by makem2
Sat Jan 04, 2014 10:58 am
Forum: Raspbian
Topic: Failed to set times........operation not permitted
Replies: 5
Views: 3724

Re: Failed to set times........operation not permitted

These are the latest scripts I am using and I think I may have seen where the problem is. The daemon is run as pi. However, if all have permission, still not sure. I am the only user of the RPi. I will check the permissions and timestamps as you suggest as soon as I can. init script: #!/bin/bash ###...
by makem2
Sat Jan 04, 2014 12:32 am
Forum: Raspbian
Topic: Failed to set times........operation not permitted
Replies: 5
Views: 3724

Re: Failed to set times........operation not permitted

My backup script it triggered at boot from /etc/init.d/. This starts the backup script in /usr/local/bin/my_service. I am very wary as I have no knowledge whatsoever of using chown at such a low level as the root file on both HDs. I was under the impression that starting the script that way meant th...
by makem2
Fri Jan 03, 2014 6:49 pm
Forum: Raspbian
Topic: Failed to set times........operation not permitted
Replies: 5
Views: 3724

Failed to set times........operation not permitted

I have two HDs attached to a Pi and backup using rsync overnight from one HD to the other. The backup script was working correctly, without error. I recently changed the drive format from NTFS to ext4 and since then have been getting many errors: rsync: failed to set times on "/media/HDD2/shares/myp...
by makem2
Tue Dec 17, 2013 6:00 pm
Forum: General discussion
Topic: Porting the Wayland graphics engine to the BCM2835
Replies: 3
Views: 1551

Porting the Wayland graphics engine to the BCM2835

Quote: The British charity that designed the $35 board - is working on a fix: porting the Wayland graphics engine to the BCM2835 will make use of the chip's GPU and, if a tech preview is anything to go by, will make the Pi desktop much more responsive. Is there any more information on the result of ...

Go to advanced search