QLCommander v 2.2.7- For Testers!

Anything QL Software or Programming Related.
User avatar
tofro
Font of All Knowledge
Posts: 3055
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QLCommander v 2.2.7- For Testers!

Post by tofro »

Andrew wrote: Tue Mar 18, 2025 12:59 pm
pjw wrote: Tue Mar 18, 2025 11:31 am Andrew, did you ever test MDxxx with your 14TB disks?
I did some tests a few weeks ago - up to 4 TB is ok, beyond 4TB the info is not correct, but at least is not crashing. I will test again today.
Well, there seems to be a bit of capacity in reserve, then :)


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
pjw
QL Wafer Drive
Posts: 1607
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QLCommander v 2.2.7- For Testers!

Post by pjw »

Andrew wrote: Tue Mar 18, 2025 12:59 pm
pjw wrote: Tue Mar 18, 2025 11:31 am Andrew, did you ever test MDxxx with your 14TB disks?
I did some tests a few weeks ago - up to 4 TB is ok, beyond 4TB the info is not correct, but at least is not crashing. I will test again today.
But i found a possible bug in MDFree - i will document it, with steps.
It would be interesting for me to know what STAT (and ideally QPAC2 too..) does with disks > 4TB on QPC2 and SMSQmulator. Obviously, MDxxx is not able to do better than the platform it is on as It relies in large part on system calls. Q-emulator, I believe, simply limits the size of host OS devices it is prepared to support. That seems to me to be the sensible approach. I mean, why would anyone in the QL universe want to know about petabyte hard disks and beyond..?


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
User avatar
pjw
QL Wafer Drive
Posts: 1607
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QLCommander v 2.2.7- For Testers!

Post by pjw »

Andrew wrote: Tue Mar 18, 2025 12:59 pm
pjw wrote: Tue Mar 18, 2025 11:31 am Andrew, did you ever test MDxxx with your 14TB disks?
I did some tests a few weeks ago - up to 4 TB is ok, beyond 4TB the info is not correct, but at least is not crashing. I will test again today.
But i found a possible bug in MDFree - i will document it, with steps.
Id be very glad to get your feedback! (Sorry for all the trouble youre having with it!)


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
User avatar
pjw
QL Wafer Drive
Posts: 1607
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QLCommander v 2.2.7- For Testers!

Post by pjw »

tofro wrote: Tue Mar 18, 2025 1:27 pm
Andrew wrote: Tue Mar 18, 2025 12:59 pm
pjw wrote: Tue Mar 18, 2025 11:31 am Andrew, did you ever test MDxxx with your 14TB disks?
I did some tests a few weeks ago - up to 4 TB is ok, beyond 4TB the info is not correct, but at least is not crashing. I will test again today.
Well, there seems to be a bit of capacity in reserve, then :)
Yes, all my programming projects are starting to pile up..


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
User avatar
dilwyn
Mr QL
Posts: 3050
Joined: Wed Dec 01, 2010 10:39 pm

Re: QLCommander v 2.2.7- For Testers!

Post by dilwyn »

tofro wrote: Tue Mar 18, 2025 1:27 pm
Andrew wrote: Tue Mar 18, 2025 12:59 pm
pjw wrote: Tue Mar 18, 2025 11:31 am Andrew, did you ever test MDxxx with your 14TB disks?
I did some tests a few weeks ago - up to 4 TB is ok, beyond 4TB the info is not correct, but at least is not crashing. I will test again today.
Well, there seems to be a bit of capacity in reserve, then :)
4TB... and that's just for the QL software he writes :D :ugeek:


javier2112
ROM Dongle
Posts: 40
Joined: Thu Jan 27, 2022 6:02 pm

Re: QLCommander v 2.2.7- For Testers!

Post by javier2112 »

Andrew wrote: Mon Mar 17, 2025 10:38 pm
javier2112 wrote: Mon Mar 17, 2025 9:43 pm 1) If I set up an unmounted partition as initial path for a panel, QLC displays the following message error:
"Task QLC227M4 halted, after line 15345. Reason: not found."

Then QLC closes. In v21, it beeps but doesn't close.
At line 15345 I call MDFREE that calculates the free space in drive. MDFREE is part of Per's toolkit MDINFO.
In v2.1 I did not displayed the free space on drive, so I didn't used MDINFO ...

I cannot replicate this bug on my systems (QPC, Q68, QL+SGC+QL-SD)
So I need more details about your system: memory, storage (Qubide, QL-SD or QIMSI). When you say "unmounted partition" my guess is that you are using a QUBIDE.
I have no idea how to test if a partition is mounted or not. Maybe someone knows and can help!!
My QL is a stock with 896KB RAM, a Trump Card and a José Leandro's QubIDE with a 128Mb drive, partitioned in 3 units (win1, win2, win3) of the same size. In QubIDE systems, only win1 is mounted by default at boot.

I've been trying hard last QLC beta and I've discovered another fail that ocurrs when trying to view o extract the contents of a zip file whose file name contains some spaces. For example, you'll get a "Not found error" with a file called "flp1_PE guide". I suppose QLC makes a call similar to:
EX unzip;"-d whateverpath flp1_PE guide"

This obviously fails, but can be easily corrected with inner single quotes (or the other way):
EX unzip;"-d whateverpath 'flp1_PE guide'"

Another fail arises also when trying to view o extract the contents of a zip file, when you exited from QLC and re-entering it twice o more times. QLC doesn't display any error but no contents of the zip file. Maybe to load QLC code as an extension causes the problem, because its memory is not freed and the extension is reloaded every time QLC is executed?


User avatar
Andrew
QL Wafer Drive
Posts: 1031
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCommander v 2.2.7- For Testers!

Post by Andrew »

dilwyn wrote: Tue Mar 18, 2025 3:34 pm
tofro wrote: Tue Mar 18, 2025 1:27 pm
Andrew wrote: Tue Mar 18, 2025 12:59 pm
I did some tests a few weeks ago - up to 4 TB is ok, beyond 4TB the info is not correct, but at least is not crashing. I will test again today.
Well, there seems to be a bit of capacity in reserve, then :)
4TB... and that's just for the QL software he writes :D :ugeek:
:D :D :D :D


User avatar
Andrew
QL Wafer Drive
Posts: 1031
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCommander v 2.2.7- For Testers!

Post by Andrew »

pjw wrote: Tue Mar 18, 2025 11:49 am PS: Executing QLC227_exe in SMSQmulator I get the error "MORE is not loaded"
I have checked - More is included in qlcmin_code and qlcsms_code.
Have you loaded qlcsms_code?


User avatar
Andrew
QL Wafer Drive
Posts: 1031
Joined: Tue Jul 17, 2018 9:10 pm

Re: QLCommander v 2.2.7- For Testers!

Post by Andrew »

javier2112 wrote: Tue Mar 18, 2025 5:18 pm 1) If I set up an unmounted partition as initial path for a panel, QLC displays the following message error:
"Task QLC227M4 halted, after line 15345. Reason: not found."
Fixed - if initial directory is not found then it defaults to win1_
(There already was a workaround for this: just use qlcconfig_bas and set the program to start with win1_ in both panels)
javier2112 wrote: Tue Mar 18, 2025 5:18 pm 2) Sometimes, when I try to list the contents or unzip a zip file, I get an error like before close itself:
"Task QLC227M4 halted, after line 18190 adjust DATASPACE please."
Fixed - increased dataspace
javier2112 wrote: Tue Mar 18, 2025 5:18 pm I've been trying hard last QLC beta and I've discovered another fail that ocurrs when trying to view o extract the contents of a zip file whose file name contains some spaces. For example, you'll get a "Not found error" with a file called "flp1_PE guide".
Fixed
Note - is bad practice to use filenames that contain space. Also a filename must have no more than 1 underscore that separates the name and extension.
javier2112 wrote: Tue Mar 18, 2025 5:18 pm Another fail arises also when trying to view o extract the contents of a zip file, when you exited from QLC and re-entering it twice o more times. QLC doesn't display any error but no contents of the zip file. Maybe to load QLC code as an extension causes the problem, because its memory is not freed and the extension is reloaded every time QLC is executed?
Could not replicate. I started and stopped QLCommander 15 times, and each time I was able to view and extract the zip file.
QLCommander only executes the external zip/unzip/viewzip programs (those included in the kit) - QLC_code has no code for zip.

Please download and test the new version
Last edited by Andrew on Fri Mar 21, 2025 9:54 am, edited 3 times in total.


User avatar
pjw
QL Wafer Drive
Posts: 1607
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QLCommander v 2.2.7- For Testers!

Post by pjw »

Andrew wrote: Tue Mar 18, 2025 7:00 pm
pjw wrote: Tue Mar 18, 2025 11:49 am PS: Executing QLC227_exe in SMSQmulator I get the error "MORE is not loaded"
I have checked - More is included in qlcmin_code and qlcsms_code.
Have you loaded qlcsms_code?
Oops! I must have missed the memo. I wasnt aware the toolkit code had to be LRESPRed prior. Will it be baked in, as one does, in the final version?


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
Post Reply