Updated port of SQLite
djp (9726) 54 posts |
A bit more WimpSlot looks to be needed, increase WimpSlot -min to 1280K. That worked on a Titanium. |
Chris Mahoney (1684) 2165 posts |
Sorry! I thought about that yesterday while I was waiting for the tests to run, but ultimately forgot to change it. The download links above have now been updated, and a fixed package is on its way. If you’ve hand-edited !Run then PackMan might get confused if you don’t change it back. |
Andrew McCarthy (3688) 605 posts |
Thank you for the updates on the crash; I can increase the Next memory slot in the Tasks window, as well. It works; thanks again for the tips. |
Andrew McCarthy (3688) 605 posts |
Packman updated the application, and it has the same problem; I also tried a reinstallation. |
Chris Mahoney (1684) 2165 posts |
Hmm. Does it fail as soon as you run the SQLite app, or is it when you do something with a database? Can you confirm that your !Run file is now specifying a minimum of 1280k (instead of 1024)? What did you manually set the Next slot to earlier? |
Andrew McCarthy (3688) 605 posts |
Yes, it fails immediately. If I set Next manually to 1280K, it works and keeps on working. However, it crashes if I set it to the same value in the Run file. Before that, I was dragging Next to a random spot over 2000K. |
Chris Mahoney (1684) 2165 posts |
How bizarre! Can you please try setting 1536 in the !Run file and see whether that helps? It’s happy with 1280 on my machine so I wonder why it doesn’t like it on yours. |
Andrew McCarthy (3688) 605 posts |
Error message:
No change. RISC OS 5.28 (16-Dec-20). I restored another release and it reports SQLite version 3.39.0 2022-06-25 14:57:57 no error. |
djp (9726) 54 posts |
That is the error that occurs if WimpSlot -min is at the original lower value of 1024K. The later build currently on PackMan, |
Doug Webb (190) 1180 posts |
I have the similar issues. Upgrade SQLite and it aborts when trying to start. Delete it and reinstall and the same. Alter the !Run file -min wimpslot from 1024K to 1280K and it works. Starting it says 3.40.0 2022-11-16 12:10:08 So bit of checking and Updating the lists gives me the latest version which works without altering the !Run file :-) |
Chris Mahoney (1684) 2165 posts |
With which settings in !Run?
The current package is “3.40.0-2”; anyone having issues should ensure that their PackMan is “seeing” that version.
Thanks for testing :) |
Andrew McCarthy (3688) 605 posts |
@Chris, I used the one you referenced above. I have spotted an issue. I have installed the latest Packman version, which claims to be 3.40.0-2. On changing the Next memory slot to run it, it reports 3.40.0 2022-11-16 12:10:08. |
Chris Mahoney (1684) 2165 posts |
There have been a couple of different references above, so can you please copy/paste your !Run in here just to double-check everything?
That’s correct. The new package doesn’t have any changes to the SQLite binary, just the !Run file. |
Andrew McCarthy (3688) 605 posts |
The !Run file as per a new installation; no changes. Tasks, Application tasks, Next 640K |
Paolo Fabio Zaino (28) 1882 posts |
@ Andrew
As a general rule, on modern machines, you can configure WimpSlot -next to something like 4096k, that will help when copying files (improve performances) and also when using ShareFS (improve’s ShareFS stability). It also helps when transfering files using !OmniCLient (as a side note). This because the filer uses the next slot size for its copying operations. The 640k is something that really was useful only on really really old machines like the Archimedes. Already on the RiscPC it was better to have something like 1024k or 2048k for the next slot. Just my 0.5c |
Sprow (202) 1158 posts |
Not related to Wimp slots, but can I just throw into the mix that there’s a vital dot missing from the end of the value being set as |
Chris Mahoney (1684) 2165 posts |
This is the bit I don’t understand. It’s as if the WimpSlot command in !Run is being ignored or something. This is a bit beyond me; can any RISC OS experts shed some light on this?
So there is! Thanks for noticing. I’ve updated my master copy so that’ll be fixed in the next release. |
Rick Murray (539) 13850 posts |
Correct. It is. You’re setting the WimpSlot of the current task, then calling *TaskWindow which will start up a different task (using the Next slot size). |
Chris Mahoney (1684) 2165 posts |
Interesting! Thanks for the advice. I wonder why it works for some people (including me) but not others. Andrew: Can you please try changing the final line to the following, and see whether it fixes it?
|
Andrew McCarthy (3688) 605 posts |
I certainly can, Chris. Interlude music. It fixes the error message I posted, and it opens and displays the expected prompt. :) SQLite version 3.40.0 2022-11-16 12:10:08 On closing the task window that’s opened, I encounter a warning dialogue box with the word Escape. Paolo: Thank you. $1.00 ;) |
Chris Mahoney (1684) 2165 posts |
Excellent! I’m glad we got to the bottom of that, and the next release will have !Run fixed.
Except your system strikes again! :) Has anyone else seen that, or know what could cause it? |
Nick Prince (9776) 3 posts |
It is very good to see SQLite making its way to Risc OS. In Linux, Windows, BSD and Mac there is a lovely browser to go with it. Is anybody seeing if they can port that over? |
Chris Mahoney (1684) 2165 posts |
Would you consider providing a link to, or at least giving the name of, this lovely browser? |
Steve Pampling (1551) 8172 posts |
A quick query produced one, which may or may not be the right one: https://github.com/sqlitebrowser/sqlitebrowser |
Chris Mahoney (1684) 2165 posts |
Indeed, there are several, and I didn’t want to play guessing games. |