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
Blaze
DEV Team
DEV Team
Posts: 3088
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0 RC2 bug reports

Post#286 by Blaze » 07 Jan 2021, 15:26

joejac, thanks.
Happy to all in 2021 ;)
joejac wrote:
04 Jan 2021, 18:38
Are there any news on the final release of Porteus 5?
Not before release of Slackware 15
Linux 5.4.85-porteus #1 SMP Wed Dec 23 12:36:37 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Rava
Contributor
Contributor
Posts: 2853
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 x86-64 XFCe
Location: Forests of Germany

Porteus 5.0 RC2 bug reports

Post#287 by Rava » 08 Jan 2021, 07:54

Blaze wrote:
07 Jan 2021, 15:26
Not before release of Slackware 15
To be even more confusing, check your /var/log/Xorg.0.log :

Code: Select all

guest@porteus:~$ grep "Slackware 15.0" /var/log/Xorg.0.log
[    54.709] Build Operating System: Slackware 15.0 Slackware Linux Project
Red herring much?

And no, you are not running Slackware 15.0 yet:

Code: Select all

guest@porteus:~$ cat /etc/slackware-version
Slackware 14.2+
the + indicates you run current.
Cheers!
Yours Rava

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

Porteus 5.0 RC2 bug reports

Post#288 by ncmprhnsbl » 09 Jan 2021, 07:16

Rava wrote:
04 Jan 2021, 03:33
System 5.0rc2 with 003-xfce-4.12-20201108.xzm

/opt/porteus-scripts/xpsinfo aka 'Porteus System Info' ends with this:

Code: Select all

/bin/sh: -c: line 1: syntax error: unexpected end of file
Traceback (most recent call last):
  File "/opt/porteus-scripts/xpsinfo", line 360, in <module>
    class XPSInfo(Gtk.Window):
  File "/opt/porteus-scripts/xpsinfo", line 361, in XPSInfo
    system_info = PSInfo()
  File "/opt/porteus-scripts/xpsinfo", line 20, in __init__
    self.init_infos()
  File "/opt/porteus-scripts/xpsinfo", line 255, in init_infos
    fd.write( f.read() )
  File "/usr/lib64/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb7 in position 6429: invalid start byte
confirmed
for some strange reason /var/log/messages and /var/log/syslog are now encoded in ISO-8859-1 ( instead UTF-8) ... hard to say if that is the real bug here..
work around for now is: xpsinfo:
line 255: with open('/var/log/messages', encoding="ISO-8859-1" ) as f:
and
line 279: with open('/var/log/syslog', encoding="ISO-8859-1" ) as f:
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

fulalas
DEV Team
DEV Team
Posts: 1631
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus 5.0 RC2 bug reports

Post#289 by fulalas » 11 Jan 2021, 08:11

It works for me if I open from application menu -> system -> porteus system info. It seems it requires to be called by psu.

Maybe we should change xpsinfo to detect when it doesn't have super user privileges.

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

Porteus 5.0 RC2 bug reports

Post#290 by ncmprhnsbl » 12 Jan 2021, 13:12

fulalas wrote:
11 Jan 2021, 08:11
It works for me if I open from application menu -> system -> porteus system info
hmm.. yeah ..whatever was going on there isn't now, for me... for the moment
@Rava (or anyone else who experiences this) . if xpsinfo fails with that error^
please do: (as root)

Code: Select all

# file -b /var/log/*

this is what mine looks like now (with xpsinfo (unmodified) working)

Code: Select all

# file /var/log/*
/var/log/Xorg.0.log:      JSON data
/var/log/btmp:            empty
/var/log/cron:            ASCII text
/var/log/debug:           ASCII text
/var/log/dmesg:           JSON data
/var/log/faillog:         empty
/var/log/lastlog:         empty
/var/log/maillog:         empty
/var/log/messages:        ASCII text
/var/log/nfsd:            directory
/var/log/packages:        symbolic link to ../lib/pkgtools/packages
/var/log/pkgtools:        directory
/var/log/porteus-livedbg: ASCII text
/var/log/samba:           directory
/var/log/scripts:         symbolic link to ../lib/pkgtools/scripts
/var/log/secure:          ASCII text
/var/log/setup:           symbolic link to ../lib/pkgtools/setup
/var/log/slim.log:        ASCII text
/var/log/syslog:          ASCII text
/var/log/wtmp:            data
fulalas wrote:
11 Jan 2021, 08:11
Maybe we should change xpsinfo to detect when it doesn't have super user privileges.
although that's not the issue here, it's on my todo list (and for various other of the new scripts) ;)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 2853
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 x86-64 XFCe
Location: Forests of Germany

Porteus 5.0 RC2 bug reports

Post#291 by Rava » 14 Jan 2021, 02:39

ncmprhnsbl wrote:
12 Jan 2021, 13:12
@Rava (or anyone else who experiences this) . if xpsinfo fails with that error^
please do: (as root)

Code: Select all

# file -b /var/log/*
I think you meant

Code: Select all

# file /var/log/*

here the info

Code: Select all

root@porteus:/# file /var/log/*
/var/log/Xorg.0.log:        JSON data
/var/log/btmp:              empty
/var/log/cron:              ASCII text
/var/log/debug:             ASCII text
/var/log/dmesg:             JSON data
/var/log/faillog:           empty
/var/log/lastlog:           data
/var/log/maillog:           empty
/var/log/messages:          Non-ISO extended-ASCII text
/var/log/messages.1.gz:     gzip compressed data, last modified: Mon Jan 11 18:29:34 2021, from Unix, original size modulo 2^32 773525
/var/log/nfsd:              directory
/var/log/openbox-changelog: ASCII text
/var/log/packages:          symbolic link to ../lib/pkgtools/packages
/var/log/pkgtools:          directory
/var/log/porteus-livedbg:   ASCII text
/var/log/samba:             directory
/var/log/scripts:           symbolic link to ../lib/pkgtools/scripts
/var/log/secure:            ASCII text, with very long lines
/var/log/setup:             symbolic link to ../lib/pkgtools/setup
/var/log/syslog:            ASCII text, with very long lines
/var/log/wtmp:              data
/var/log/messages: Non-ISO extended-ASCII text :bad:
Cheers!
Yours Rava

Post Reply