Porteus-v5.1 alpha2 test 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
Ed_P
Contributor
Contributor
Posts: 8961
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.1 alpha2 test reports

Post#1 by Ed_P » 13 Jun 2025, 22:29

In Porteus 5.01 the script works, in alpha2 :o :%)

Image

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4293
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha2 bug report

Post#2 by ncmprhnsbl » 15 Jun 2025, 01:24

there's been no change to any of the module activation scripts between 5.01 and 5.1 alpha.
bash has been updated from 5.1 to 5.2, so, maybe, it's less tolerant of whatever might be wrong with your script ..idk.
you could try removing all your dev/null bits in the script, run it from a terminal, and perhaps it'll shed some light on what's happening.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8961
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.1 alpha2 bug report

Post#3 by Ed_P » 15 Jun 2025, 04:35

ncmprhnsbl wrote:
15 Jun 2025, 01:24
run it from a terminal,
A good suggestion. Thank you ncmp. :)

The results:
Image

Image

A second problem, the Shift+PrtScr option doesn't work. Ctrl+PrtScr didn't help. Full screen is the only option. :(

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

Porteus-v5.1 alpha2 bug report

Post#4 by fulalas » 16 Jun 2025, 21:17

@Ed_P, have you tried using -q parameter (i.e. activate -q module.xzm)?

User avatar
Ed_P
Contributor
Contributor
Posts: 8961
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.1 alpha2 bug report

Post#5 by Ed_P » 17 Jun 2025, 00:17

fulalas wrote:
16 Jun 2025, 21:17
@Ed_P, have you tried using -q parameter (i.e. activate -q module.xzm)?
I have not fulalas. Do you think -q

Code: Select all

To disable UI messages use '-q':
 module.xzm -q
will resolve the Module Already Active problem and actually load the module? :hmmm:

Added in 5 hours 7 minutes 3 seconds:
:shock: So I made a module of my script that sets the DRV variable to my boot drive and when it is activated when booting my OP posting's script works :o :Yahoo!:

The error I was getting about the problem was totally misleading. :happy62: Module not found or Directory not found or Invalid variable would have been more helpful.

The Shift+PrtScr option not working for screen selection is still a problem though.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4293
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha2 bug report

Post#6 by ncmprhnsbl » 17 Jun 2025, 06:55

Ed_P wrote:
17 Jun 2025, 05:24
The error I was getting about the problem was totally misleading. :happy62: Module not found or Directory not found or Invalid variable would have been more helpful.
suffice to say, none of this was designed to deal with dodgy scripting ..and something about this particular mix of missing variable and glob usage got this confused result.
Ed_P wrote:
17 Jun 2025, 05:24
The Shift+PrtScr option not working for screen selection is still a problem though.
seems to work here. does require holding and waiting for a moment, then it activates on release.
am using a slightly newer build, though, which might make a difference (fwiw, it behaves the same with 5.01 version too)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8961
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.1 alpha2 bug report

Post#7 by Ed_P » 17 Jun 2025, 16:09

ncmprhnsbl wrote:
17 Jun 2025, 06:55
suffice to say, none of this was designed to deal with dodgy scripting ..and something about this particular mix of missing variable and glob usage got this confused result.
Valid point.

But the error somehow occurred in terminal mode also with no variable involved. In 5.01 in terminal "activate abc.xyz" yields: "this is not a valid module".

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# activate abc.xzm
abc.xzm: This is not a valid module
root@porteus:/home/guest# activate /mnt/$DRV/abc.xzm
abc.xzm: This is not a valid module
root@porteus:/home/guest# activate /mnt/$DVRV/abc.xzm
abc.xzm: This is not a valid module
root@porteus:/home/guest# 
A similar msg in 5.1 would be nice rather than "already loaded".

Anyways, my OP script works now. :)

User avatar
Ed_P
Contributor
Contributor
Posts: 8961
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.1 alpha2 bug report

Post#8 by Ed_P » 17 Jun 2025, 19:25

ncmprhnsbl wrote:
17 Jun 2025, 06:55
seems to work here. does require holding and waiting for a moment, then it activates on release.
Yes, that approach does seem to work. :good:

New problem:

Code: Select all

guest@porteus:~$ pysol.py
Traceback (most recent call last):
  File "/usr/bin/pysol.py", line 27, in <module>
    from pysollib.init import init
ModuleNotFoundError: No module named 'pysollib'
guest@porteus:~$ 

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

Porteus-v5.1 alpha2 bug report

Post#9 by beny » 17 Jun 2025, 19:37

hi Ed_P, want you play solitaire:
https://slackware.nl/slakfinder/index.p ... e=#results this is not part of the core,and you have to search it for what you need

User avatar
Ed_P
Contributor
Contributor
Posts: 8961
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.1 alpha2 bug report

Post#10 by Ed_P » 18 Jun 2025, 00:00

Thanks beny. I have an old pysolfc bundle that has worked for yrs but fails in the 5.1 alpha2 system.

pysolfc-2.12.0-x86_64-alldesktops.xzm : Aug 28 2021

BTW New problem. Menu > Bundles yields: "There was a problem", "Bundle list does not contain modules."

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4293
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha2 bug reports

Post#11 by ncmprhnsbl » 18 Jun 2025, 12:54

I have an old pysolfc bundle that has worked for yrs but fails in the 5.1 alpha2 system.
"for yrs" being the key point.. a lot has changed in those years, python being one of those.
a reminder from 5.1 announcement:
At this point, while quite stable, there are only 64bit versions, no localization support, no bundles and limited package management.
Who is this for? Anyone who wants to contribute to the further development of Porteus by bug testing/reporting/fixing
or those who need/want the latest software and don't mind the lack of package availability.
anyhow, for pysolfc, as beny indicated, it looks like slackel package it for current and iirc slapt-mod is set up for slackel repo so you should be able to get it that way.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4293
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha2 bug reports

Post#12 by ncmprhnsbl » 18 Jun 2025, 13:20

Ed_P wrote:
17 Jun 2025, 16:09
But the error somehow occurred in terminal mode also with no variable involved. In 5.01 in terminal "activate abc.xyz" yields: "this is not a valid module".
A similar msg in 5.1 would be nice rather than "already loaded".
it's actually the same in 5.01 for incorrect paths, and a combination of wrong module names and and globs in (correct)paths (your examples aren't actually nonexistent paths ie. /mnt/$MISSING/abc.xzm = /mnt//abc.xzm )
but yeah it would be good to handle these errors correctly.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

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

Porteus-v5.1 alpha2 bug reports

Post#13 by beny » 18 Jun 2025, 14:31

hi, thanks ncmprhnsbl,for the record porteus-v5.1 alpha2 is a current so the python version is the 3.12.x,if Ed_P don't have read it here the link of the python deps that need to run pysolfc:
https://slackware.nl/slakfinder/show.php?pkg=3660674

User avatar
Ed_P
Contributor
Contributor
Posts: 8961
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.1 alpha2 test reports

Post#14 by Ed_P » 18 Jun 2025, 16:24

ncmprhnsbl wrote:
18 Jun 2025, 13:20
it's actually the same in 5.01 for incorrect paths, and a combination of wrong module names and and globs in (correct)paths (your examples aren't actually nonexistent paths ie. /mnt/$MISSING/abc.xzm = /mnt//abc.xzm )
OK. Good points, and good eyes, ncmp. :)
beny wrote:
18 Jun 2025, 14:31
here the link of the python deps that need to run pysolfc:
https://slackware.nl/slakfinder/show.php?pkg=3660674
Thanks again beny. This current/stable build thing is new for me in Porteus. Use to it in PorteuX. :)

Added in 14 hours 6 minutes 35 seconds:
beny wrote:
18 Jun 2025, 14:31
here the link of the python deps that need to run pysolfc:
https://slackware.nl/slakfinder/show.php?pkg=3660674
And here is the results of your link beny. :)

Code: Select all

root@porteus:/home/guest# 
root@porteus:/home/guest# ls -hon /home/guest/Downloads/pysol*
-rw-r--r-- 1 1000 53M Jun 19 02:04 /home/guest/Downloads/pysolfc-3.1.0-x86_64-1dj.txz
root@porteus:/home/guest# 
This is the results of trying to use slapt-mod. :(

Code: Select all

root@porteus:/home/guest# slapt-mod -m pysolfc
Reading Package Lists...Done
The following NEW packages will be installed:
  python-pysol_cards python3-attrs python3-configobj pysolfc 
0 upgraded, 0 reinstalled, 4 newly installed, 0 to remove, 0 not upgraded.
Need to get 53.4MB of archives.
Do you want to continue? [y/N] y
1/4 Get https://ftp.osuosl.org/pub/slackware/slackware64-current/ python-pysol_cards 0.24.0-x86_64-1 [32.0kB]...Done
2/4 Get http://www.slackel.gr/repo/x86_64/current/ python3-attrs 23.2.0-x86_64-1_SBo [709.0kB]...Done
Failed to download: Missing MD5 checksum, override with --no-md5
root@porteus:/home/guest# 
Where does one add the --no-md5 code?

Post Reply