Porteus 5.0 RC2 bug reports

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 2937
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0 RC2 bug reports

Post#256 by Rava » 19 Dec 2020, 17:59

ncmprhnsbl wrote:
19 Dec 2020, 06:01
already fixed on the server ;) .. with mirrors to sync when they do..
You are the best. :Rose:

Created the module okay. One error came twice:

Code: Select all

chmod: cannot access '/mnt/ext3/Porteus_modules/5.0/palemoon/.pale.11774/package-palemoon/opt/palemoon/mozilla*': No such file or directory
and my manual made module is smaller:

Code: Select all

root@porteus:/mnt/ext3/Porteus_modules/5.0/palemoon# l palemoon-28.17.0-x86_64-en-GB.xzm ../005-palemoon-28.17.0-x86_64_rava.xzm 
-rw-r--r-- 1 root 39964672 2020-12-19 09:53 ../005-palemoon-28.17.0-x86_64_rava.xzm
-rw-r--r-- 1 root 40308736 2020-12-19 18:49 palemoon-28.17.0-x86_64-en-GB.xzm
Should be because I omit copying the en-US dictionary, since I use the en-UK one (called British English 1.0.0), but that sits in my extra settings module, among my other add-ons and… well… other settings like bookmarks.
Cheers!
Yours Rava

User avatar
babam
Samurai
Samurai
Posts: 198
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 3.2.2 Xfce K5.11.10
Location: Rainy city

Porteus 5.0 RC2 bug reports

Post#257 by babam » 24 Dec 2020, 06:31

Why is the Wishker menu not set as the default menu?
Wishker menu is modern, many features and more useful.

Thanks.
Sorry, my English is bad.

User avatar
Rava
Contributor
Contributor
Posts: 2937
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0 RC2 bug reports

Post#258 by Rava » 25 Dec 2020, 03:30

rpm2xzm bug in Porteus 5.0 rc2 XFCE

Code: Select all

/usr/bin/rpm2xzm: line 100: gtkdialog.py: command not found
is always the last line displayed…

Added in 9 minutes 19 seconds:
that has an easy fix

Code: Select all

root@porteus:/# ln -s /usr/share/porteus/gtkdialog.py /usr/bin/gtkdialog.py
but one issue remains:
the graphic info window that now pops up at the end of rpm2xzm disappears in less than a second, so it is impossible to read. :(

Added in 11 minutes 46 seconds:
The way I can read the code in gtkdialog.py (that is, not that well, I am not really acquainted with gtkdialog) is that timeout is always set to 0 (as in zero, not "Ohh") unless the dialogue is of type Gtk.MessageType.INFO

Code: Select all

    if args.timeout:
        t = int(args.timeout)
        # Make readable dialogs
        if t <= 1000 or dt != Gtk.MessageType.INFO:
            t = 0
    else:
        t = 0
I think the meaning to that code is, all messages but Gtk.MessageType.INFO are set to t = 0

But of what Gtk.MessageType is

Code: Select all

gtkdialog.py -p "Success! Module created as $mod" -t 2000
?

When I presume that the default type for gtkdialog.py unless specified is Gtk.MessageType.INFO then the setting of t = 0 would not apply to

Code: Select all

gtkdialog.py -p "Success! Module created as $mod" -t 2000
Still, even when run via terminal (because of debugging) directly, the message disappears almost instantly.

Added in 14 minutes 26 seconds:
At least on my dated 8 Core machine

Code: Select all

gtkdialog.py -p "Success! Module created as $mod" -t 3000
is a much more sane option, then I can actually read the message box.

Added in 16 minutes 4 seconds:
Here my changes:

Code: Select all

root@porteus:/mnt/live/memory/images# diff /opt/porteus-scripts/rpm2xzm ./002-xorg.xzm/opt/porteus-scripts/rpm2xzm
3c3
< #small change by Rava
---
> 
100c100
< 	    gtkdialog.py -p "Success! Module created as $mod" -t 3000
---
> 	    gtkdialog.py -p "Success! Module created as $mod" -t 2000
Added in 11 minutes 4 seconds:
And while I was at it, I checked the other *2xzm scripts and also patched deb2xzm:

Code: Select all

root@porteus:/opt/porteus-scripts# diff deb2xzm /mnt/live/memory/images/002-xorg.xzm/opt/porteus-scripts/deb2xzm 
3c3
< #small changes by Rava
---
> 
108c108
< 	    gtkdialog.py -p "Success! Module created as $mod" -t 3000
---
> 	    gtkdialog.py -p "Success! Module created as $mod" -t 2000
116c116
< 	    gtkdialog.py -p "Success! Module created as $mod" -t 3000
---
> 	    gtkdialog.py -p "Success!  Module created as $mod" -t 2000
124c124
< 	    gtkdialog.py -p "Success! Module created as $mod" -t 3000
---
> 	    gtkdialog.py -p "Success! Module created as $mod" -t 2000
132c132
< 	    gtkdialog.py -p "Success! Module created as $mod" -t 3000
---
> 	    gtkdialog.py -p "Success! Module created as $mod" -t 2000
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2907
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Porteus 5.0 RC2 bug reports

Post#259 by ncmprhnsbl » 25 Dec 2020, 23:14

Rava wrote:
25 Dec 2020, 04:25
rpm2xzm bug in Porteus 5.0 rc2 XFCE
check the first post of this topic:
HERES some updated porteus settings guis: 09-pscripts-RC2-20201116.xzm
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 2937
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0 RC2 bug reports

Post#260 by Rava » 26 Dec 2020, 00:50

ncmprhnsbl wrote:
25 Dec 2020, 23:14
check the first post of this topic:
HERES some updated porteus settings guis: 09-pscripts-RC2-20201116.xzm
Hmmm I have that for a while now - I just renamed it to 009-pscripts-RC2-20201116.xzm:

Code: Select all

guest@porteus:/mnt/live/memory/images$ file 009-pscripts-RC2-20201116.xzm/
009-pscripts-RC2-20201116.xzm/: directory
and it was loaded during boot…

Code: Select all

guest@porteus:/mnt/sdb/Porteus_5.0rc2/porteus/base$ lsxzmgrep . rpm2xzm
lsxzmgrep V2020-12-19
>./001-core.xzm
/usr/bin/rpm2xzm
>./002-xorg.xzm
/opt/porteus-scripts/rpm2xzm
looks like no rpm2xzm in 09-pscripts-RC2-20201116.xzm ??

Same for /mnt/live/memory/images

Code: Select all

guest@porteus:/mnt/live/memory/images$ find 009-pscripts-RC2-20201116.xzm/ -name rpm2xzm
guest@porteus:/mnt/live/memory/images$ find 001-core.xzm/ -name rpm2xzm
001-core.xzm/usr/bin/rpm2xzm
My 09-pscripts-RC2-20201116.xzm / 009-pscripts-RC2-20201116.xzm has the md5sum of
34c07e23f1c7ec1d53cf761d90fcc669

Your above linked download has the same md5sum.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2907
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Porteus 5.0 RC2 bug reports

Post#261 by ncmprhnsbl » 26 Dec 2020, 01:18

Rava wrote:
26 Dec 2020, 00:50
looks like no rpm2xzm in 09-pscripts-RC2-20201116.xzm ??
oh, ok.. must have missed that one .. has since been fixed in my tree..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 2937
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0 RC2 bug reports

Post#262 by Rava » 26 Dec 2020, 07:36

ncmprhnsbl wrote:
26 Dec 2020, 01:18
oh, ok.. must have missed that one .. has since been fixed in my tree..
as in: missed putting in rpm2xzm into 09-pscripts-RC2-20201116.xzm ?
Have you also fixed deb2xzm ?

If so, release 09-pscripts-RC2-20201226.xzm - aka the Christmas Edition. :D :celebrate3:
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 2937
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0 RC2 bug reports

Post#263 by Rava » 29 Dec 2020, 00:10

possible bug with update-browser -y
I told it to download the newest version from gthub - 2020-12-29.
Then I deactivated my older youtube-dl and activated the renamed 031-youtube-dl-2020.12.29-noarch-1ncm.xzm (update-browser saved it as /tmp/youtube-dl-2020.12.29-noarch-1ncm.xzm)

Here what I did as root

Code: Select all

root@porteus:/home/guest# update-browser -y
 Starting checks ... 
[OK] User is root.
[OK] Distro is Porteus
Downloading live script ...
Downloading: update-youtube-dl-live  DONE
Work will be done in: /tmp 
you have version 2020.12.12 installed
Checking http://ftp.nluug.nl/os/Linux/distr/porteus//x86_64/current/modules
The Porteus SERVER version is :  2020.12.26 

The latest youtube-dl version is    :  2020.12.29 

 You can choose to download the premade module from our server, 
 or download the version from github. 

 Would you like to download the porteus server version? [y/n]
 Would you like to download  youtube-dl-2020.12.29  ? [y/n]
Downloading: youtube-dl https://github-production-release-asset-2e65bes3amazonawscom/1039520/414b6100-4981-11eb-8d71-e4316958c08f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201228%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201228T234937Z&X-Amz-Expires=300&X-Amz-Signature=31f123d36be2b2797511bf8307caf598c9ceb5b85f69fe060a26760bad694002&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=1039520&response-content-disposition=attachment%3B%20filename%3Dyoutube-dl&response-content-type=application%2Foctet-st00:48: DONE
Verifying download integrity..
Server  : e1c503b74882e118fa47a8452af3b86b5e12a3fdb03cb9d95bc3d943bc207395
Download: e1c503b74882e118fa47a8452af3b86b5e12a3fdb03cb9d95bc3d943bc207395
Download verified.
Parallel mksquashfs: Using 8 processors
Creating 4.0 filesystem on youtube-dl-2020.12.29-noarch-1ncm.xzm, block size 262144.
[===================================================================/] 8/8 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 1649.66 Kbytes (1.61 Mbytes)
	94.35% of uncompressed filesystem size (1748.48 Kbytes)
Inode table size 198 bytes (0.19 Kbytes)
	62.26% of uncompressed inode table size (318 bytes)
Directory table size 186 bytes (0.18 Kbytes)
	84.16% of uncompressed directory table size (221 bytes)
Number of duplicate files found 0
Number of inodes 9
Number of files 2
Number of fragments 1
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 7
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
Your module  youtube-dl-2020.12.29-noarch-1ncm.xzm  is ready in /tmp 
 Please copy it to your modules folder or somewhere safe. 

root@porteus:/home/guest#
and after removing my old youtube-dl and activating (renamed) 031-youtube-dl-2020.12.29-noarch-1ncm.xzm I get this as guest

Code: Select all

guest@porteus:/video/WhiteNoise$ youtube-dl -U
Updating to version 2020.12.29 ...
ERROR: no write permissions on /usr/bin/youtube-dl
guest@porteus:/video/WhiteNoise$ youtube-dl --version
2020.12.12
manually updating a root

Code: Select all

root@porteus:/# youtube-dl -U
Updating to version 2020.12.29 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
worked

Code: Select all

guest@porteus:/video/WhiteNoise$ youtube-dl --version
2020.12.29
Added in 6 minutes 52 seconds:
update

funny enough, the module created by update-browser -y has the same size than the one I made by inserting the updated /usr/bin/youtube-dl into the preexisting hierarchy of an extracted older youtube-dl version:

Code: Select all

root@porteus:/Porteus_modules/5.0# l 031-youtube-dl-2020.12.29-noarch-*
-rw-r--r-- 1 root 1691648 2020-12-29 00:49 031-youtube-dl-2020.12.29-noarch-1ncm.xzm
-rw-r--r-- 1 root 1691648 2020-12-29 01:09 031-youtube-dl-2020.12.29-noarch-rava.xzm
Cheers!
Yours Rava

User avatar
cad
Black ninja
Black ninja
Posts: 56
Joined: 06 Nov 2020, 22:40
Distribution: 4.0 i586 LXDE

Porteus 5.0 RC2 bug reports

Post#264 by cad » 29 Dec 2020, 05:18

Lenovo IdeaPad Slim's touchpad is not supported in latest 5.0 RC2

This is the latest generation of the Lenovo IdeaPad Slim laptops, featuring a Buttonless Mylar® surface multi-touch touchpad.

Do you think it could be added as a kernel module?

Thanks...

EDIT 1/4/2021 - I looked into the Porteus 5.0rc2 latest kernel (ver. 5.10.4) and it looks like all that is necessary for my Lenovo IdeaPad touchpad (Elan and Elantech support) is apparently already in the kernel... Nevertheless, I haven't been able to get it to work.
Last edited by cad on 04 Jan 2021, 05:38, edited 1 time in total.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2907
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Porteus 5.0 RC2 bug reports

Post#265 by ncmprhnsbl » 29 Dec 2020, 06:25

Rava wrote:
29 Dec 2020, 00:16
possible bug with update-browser -y
nope, that's just the script that downloads and executes update-youtube-dl-live, which is operating correctly here.

Code: Select all

guest@porteus:~$ youtube-dl --version
2020.12.29
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

michalpelszyk
White ninja
White ninja
Posts: 14
Joined: 16 Apr 2020, 17:42
Distribution: Porteus OpenBox

Porteus 5.0 RC2 bug reports

Post#266 by michalpelszyk » 29 Dec 2020, 14:12

Minor bug to report for Openbox version:

Desktop icon text highlight/selection colour is white, which is a problem because the text itself is also white.

Did not exist in 4.0 or 5.0 RC1 AFAIR and I could not trace the highlight colour settings in SpaceFM configs either.

User avatar
Rava
Contributor
Contributor
Posts: 2937
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0 RC2 bug reports

Post#267 by Rava » 29 Dec 2020, 16:40

ncmprhnsbl wrote:
29 Dec 2020, 06:25
nope, that's just the script that downloads and executes update-youtube-dl-live, which is operating correctly here.
then, why was the version after I activated the resulting 031-youtube-dl-2020.12.29-noarch-1ncm.xzm reported as

Code: Select all

$ youtube-dl --version
2020.12.12
and only after I ran as root

Code: Select all

youtube-dl -U
and put /usr/bin/youtube-dl into my manually created 031-youtube-dl-2020.12.29-noarch-rava.xzm and activated that reported as

Code: Select all

$ youtube-dl --version
2020.12.29
?
Cheers!
Yours Rava

User avatar
babam
Samurai
Samurai
Posts: 198
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 3.2.2 Xfce K5.11.10
Location: Rainy city

Porteus 5.0 RC2 bug reports

Post#268 by babam » 30 Dec 2020, 19:25

cad wrote:
29 Dec 2020, 05:18
Lenovo IdeaPad Slim's touchpad is not supported in latest 5.0 RC2

This is the latest generation of the Lenovo IdeaPad Slim laptops, featuring a Buttonless Mylar® surface multi-touch touchpad.

Do you think it could be added as a kernel module?

Thanks...
Try the latest kernel Porteus Kernel Builder (Post by Blaze #80713)
Sorry, my English is bad.

User avatar
cad
Black ninja
Black ninja
Posts: 56
Joined: 06 Nov 2020, 22:40
Distribution: 4.0 i586 LXDE

Porteus 5.0 RC2 bug reports

Post#269 by cad » 02 Jan 2021, 19:26

babam wrote:
30 Dec 2020, 19:25
cad wrote:
29 Dec 2020, 05:18
Lenovo IdeaPad Slim's touchpad is not supported in latest 5.0 RC2

This is the latest generation of the Lenovo IdeaPad Slim laptops, featuring a Buttonless Mylar® surface multi-touch touchpad.

Do you think it could be added as a kernel module?

Thanks...
Try the latest kernel Porteus Kernel Builder (Post by Blaze #80713)
I tried with the current latest kernel Porteus Kernel Builder (Post by Blaze #80754)
with the same result: the multi-touch touchpad referenced earlier does not work. Mine is a last generation Lenovo IdeaPad (manufactured October 2020). In order for the Mylar touchpad to work, it much be compiled in the kernel, and obviously it has not.

Also, with this new kernel I am getting a black screen right at the point when the first log in prompt should appear. The only thing that can be done at that point is a hard shutdown. So this new kernel will not work with the new Lenovo IdeaPad AMD graphics card as is. This problem did not occur with the original 5.4.57 kernel featured in official release 5.0rc2. This problem was also indicated by roadie here:Porteus Kernel Builder (Post by roadie #80390)
As in roadie's case, I was able to fix this issue by putting the following on the command line:

Code: Select all

amdgpu.dc=0
(Thank you roadie for this fix!)

Please address these two issues, as the usage of these hardware components in laptops is bound to become more and more popular/widespread.

EDIT 1/4/2021 - CORRECTION: I looked into the Porteus 5.0rc2 latest kernel (ver. 5.10.4) and it looks like all that is necessary for the Lenovo IdeaPad touchpad to work (Elan and Elantech support) is already in the kernel...
Last edited by cad on 04 Jan 2021, 05:46, edited 1 time in total.

beny
Full of knowledge
Full of knowledge
Posts: 963
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus 5.0 RC2 bug reports

Post#270 by beny » 02 Jan 2021, 21:49

hi,maybe not work but append this line to porteus.config: i8042.nopnp initcall_blacklist=dw_i2c_init_driver to try touchpad working
LABEL arch-5.10.2
MENU LABEL slack-5.10.2
LINUX ../vmlinuz-5.10.2-zen1
APPEND root=UUID=xxxxxxxxxx rw i8042.nopnp initcall_blacklist=dw_i2c_init_driver
INITRD ../initrd.xz

Post Reply