Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 8 of 9 FirstFirst ... 6789 LastLast
Results 106 to 120 of 134

Thread: Cannot move up and down in a Setup screen

  1. #106
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Quote Originally Posted by birdman View Post
    And the relevance is?

    The user still has a problem.
    No, he does not have a problem. He was trying to use a name that was not the partition name. But as the log shows the correct partition name is present and file system is ntfs. Later he managed to change the partition name to what he wanted in MountManager.
    Help keep OpenViX servers online.Please donate!

  2. #107
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,797
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    No, he does not have a problem. He was trying to use a name that was not the partition name. But as the log shows the correct partition name is present and file system is ntfs. Later he managed to change the partition name to what he wanted in MountManager.
    But has not yet reported being able to use it for the default movie location.
    Which I reckon should be checking "ntfs-3g" against a list that doesn't contain it (it contains "ntfs").
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  3. #108
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Yes he can.
    Help keep OpenViX servers online.Please donate!

  4. #109
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,797
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    I did just manage to get a "Partition must be ext or nfs" message. But it went away when I restarted the GUI so might just have been an artefact of moving a different disk into the /media/hdd position.

    I suspect I confused myself by asking for the contents of /etc/fstab (which actually now contains auto, but did at one point contain ntfs-3g), but the code actually looks at /proc/mounts (which makes sense, as that won't ever contain "auto").

    So yes, it does seem to be working, although it might take a few restarts to get it in place.
    Also, how can you create the initial movie directory?
    Last edited by birdman; 28-09-22 at 10:28.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  5. #110
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    The important thing is to make sure the disc is properly mounted and with the right name before trying to set up recording locations. The reason the OP had failures was because that was not the case.
    Help keep OpenViX servers online.Please donate!

  6. The Following User Says Thank You to Huevos For This Useful Post:

    birdman (02-01-22)

  7. #111

    Title
    Junior Member
    Join Date
    Jun 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    To OP, try this: Menu -> Setup -> System -> User interface -> Settings: Sort settings screens alphabetically YES

  8. #112

    Title
    Junior Member
    Join Date
    Aug 2022
    Posts
    13
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by abu baniaz View Post
    < 7307.9526> [InfoBarGenerics] Key: 399 (Make) KeyID='KEY_GREEN' Binding='('GREEN',)'.
    < 7307.9530> [ActionMap] Keymap 'ConfigListActions' -> Action = 'save'.
    < 7307.9554> [Skin] Processing screen 'MessageBox', position=(380, 355), size=(520 x 10) for module 'MessageBox'.
    < 7307.9611> [ePNG] loadSVG /usr/share/enigma2/skin_default/icons/input_question.svg 53x53 from 53x53
    < 7307.9633> [ePNG] loadSVG /usr/share/enigma2/skin_default/icons/input_info.svg 53x53 from 53x53
    < 7307.9650> [ePNG] loadSVG /usr/share/enigma2/skin_default/icons/input_error.svg 53x53 from 53x53
    < 7307.9660> [Screen] Warning: Skin is missing element 'icon' in <class 'Screens.MessageBox.MessageBox'>(Directory '/media/sda2/' not valid. Partition must be ext or nfs


    Sorry, out of ideas. Might be related to this commit
    https://github.com/OpenViX/enigma2/c...061a66b1e3894f
    Funnily enough, I'm getting the "partition must be ext or nfs" error on OpenVix 6 2 010 on my Formuler F1 box (previously posted here)

    I'm trying to save to a mounted ZFS partition - I've had to mount using nfsvers=4 option in /etc/fstab so I can get at all my datasets.

    Looking at that commit, I notice the supported filesystem includes "nfs" but not the "nfs4" that df -Th shows me - could this be the reason for my problem?

  9. #113
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    Quote Originally Posted by chulann View Post
    Funnily enough, I'm getting the "partition must be ext or nfs" error on OpenVix 6 2 010 on my Formuler F1 box (previously posted here)

    I'm trying to save to a mounted ZFS partition - I've had to mount using nfsvers=4 option in /etc/fstab so I can get at all my datasets.

    Looking at that commit, I notice the supported filesystem includes "nfs" but not the "nfs4" that df -Th shows me - could this be the reason for my problem?
    Why don't you try?
    Help keep OpenViX servers online.Please donate!

  10. #114

    Title
    Junior Member
    Join Date
    Aug 2022
    Posts
    13
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Huevos View Post
    Why don't you try?
    Fair point! To be honest, I thought compiling the Python was a bit more difficult.

    I did give it a go but it didn't work. I did a bit more debugging. Specifically, I added this to Timeshift.py as part of the isValidPartition function:

    print("[Timeshift] DEBUG: mountpoint %s and filesystem %s" % (partition.mountpoint, partition.filesystem()))

    Results I got as I was cycling through the various partitions was:
    [Timeshift] DEBUG: mountpoint / and filesystem ubifs

    I read that as it not actually checking the actually directory, but rather always / which is failing (because it's always ubifs)

    Will do a bit more digging tomorrow hopefully

  11. #115
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    "/" is not a valid timeshift location.
    Help keep OpenViX servers online.Please donate!

  12. #116
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    This is what I get on my working system:

    Code:
    			for partition in Components.Harddisk.harddiskmanager.getMountedPartitions():
    				print("[Timeshift] DEBUG: mountpoint %s and filesystem %s" % (partition.mountpoint, partition.filesystem()))
    				print("Valid", partition.filesystem() in supported_filesystems)
    				if partition.filesystem() in supported_filesystems:
    Code:
    < 41323.0026> 10:21:58.5063 [Timeshift] DEBUG: mountpoint / and filesystem rootfs
    < 41323.0034> 10:21:58.5071 Valid False
    < 41323.0044> 10:21:58.5080 [Timeshift] DEBUG: mountpoint /media/hdd/ and filesystem ext4
    < 41323.0050> 10:21:58.5087 Valid True
    < 41323.0060> 10:21:58.5096 [Timeshift] DEBUG: mountpoint /media/usb/ and filesystem ext4
    < 41323.0067> 10:21:58.5103 Valid True
    Help keep OpenViX servers online.Please donate!

  13. #117

    Title
    Junior Member
    Join Date
    Aug 2022
    Posts
    13
    Thanks
    5
    Thanked 0 Times in 0 Posts
    I get a different result. I tweaked the code:

    Code:
    for partition in Components.Harddisk.harddiskmanager.getMountedPartitions():     
           print("[Timeshift] DEBUG: path %s, mountpoint %s and filesystem %s" % (path, partition.mountpoint, partition.filesystem()))
           print("Valid", partition.filesystem() in supported_filesystems)                                                            
           if partition.filesystem() in supported_filesystems:                                                                        
                 valid_partitions.append(partition.mountpoint)
    These are the results in my log:

    Code:
    <   210.0182> [Timeshift] DEBUG: path /beast/, mountpoint / and filesystem ubifs
    <   210.0202> Valid False
    <   221.3488> [Timeshift] DEBUG: path /media/, mountpoint / and filesystem ubifs
    <   221.3506> Valid False
    <   224.8464> [Timeshift] DEBUG: path /e2/timeshift/, mountpoint / and filesystem ubifs
    <   224.8483> Valid False
    <   228.7765> [Timeshift] DEBUG: path /beast/enigma2/timeshift/, mountpoint / and filesystem ubifs
    <   228.7786> Valid False
    So the getMountedPartitions() function is not picking up my mounted NFS partition (/beast). Not sure why - trying to track down the getMountedPartitions function to see what's going on.

    For reference, the partition does show up in mount:

    Code:
    172.30.1.2:/beast on /beast type nfs4 (rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,soft,proto=tcp,port=0,timeo=14,retrans=2,sec=sys,clientaddr=172.30.1.18,local_lock=none,addr=172.30.1.2)
    (and equivalent in df)

  14. #118
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,422
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    Quote Originally Posted by chulann View Post
    I get a different result. I tweaked the code:


    Code:
    for partition in Components.Harddisk.harddiskmanager.getMountedPartitions():     
           print("[Timeshift] DEBUG: path %s, mountpoint %s and filesystem %s" % (path, partition.mountpoint, partition.filesystem()))
           print("Valid", partition.filesystem() in supported_filesystems)                                                            
           if partition.filesystem() in supported_filesystems:                                                                        
                 valid_partitions.append(partition.mountpoint)
    These are the results in my log:

    Code:
    <   210.0182> [Timeshift] DEBUG: path /beast/, mountpoint / and filesystem ubifs
    <   210.0202> Valid False
    <   221.3488> [Timeshift] DEBUG: path /media/, mountpoint / and filesystem ubifs
    <   221.3506> Valid False
    <   224.8464> [Timeshift] DEBUG: path /e2/timeshift/, mountpoint / and filesystem ubifs
    <   224.8483> Valid False
    <   228.7765> [Timeshift] DEBUG: path /beast/enigma2/timeshift/, mountpoint / and filesystem ubifs
    <   228.7786> Valid False
    So the getMountedPartitions() function is not picking up my mounted NFS partition (/beast). Not sure why - trying to track down the getMountedPartitions function to see what's going on.

    For reference, the partition does show up in mount:

    Code:
    172.30.1.2:/beast on /beast type nfs4 (rw,relatime,vers=4.0,rsize=8192,wsize=8192,namlen=255,soft,proto=tcp,port=0,timeo=14,retrans=2,sec=sys,clientaddr=172.30.1.18,local_lock=none,addr=172.30.1.2)
    (and equivalent in df)
    Harddisk.py

    Code:
    	def getMountedPartitions(self, onlyhotplug=False, mounts=None):
    		if mounts is None:
    			mounts = getProcMounts()
    		parts = [partition for partition in self.partitions if (partition.is_hotplug or not onlyhotplug) and partition.mounted(mounts)]
    		devs = set([partition.device for partition in parts])
    		for devname in devs.copy():
    			if not devname:
    				continue
    			dev, part = self.splitDeviceName(devname)
    			if part and dev in devs:  # If this is a partition and we still have the wholedisk, remove wholedisk.
    				devs.remove(dev)
    		# Return all devices which are not removed due to being a wholedisk when a partition exists.
    		return [partition for partition in parts if not partition.device or partition.device in devs]
    
    	def addMountedPartition(self, device, desc):
    		for partition in self.partitions:
    			if partition.mountpoint == device:
    				return  # Already_mounted.
    		self.partitions.append(Partition(mountpoint=device, description=desc))
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  15. #119
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,362
    Thanks
    6,443
    Thanked 9,160 Times in 6,235 Posts
    Recording is one thing, timeshift is another. The requirements for timeshift do not need to be applied to those for recording.

  16. #120
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,956 Times in 3,276 Posts
    ?... who are you replying to?
    Help keep OpenViX servers online.Please donate!

Page 8 of 9 FirstFirst ... 6789 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.