-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash #64
Comments
It seems to work now! But it's slow... I guess it's a big file. |
Hmm, it does seem to be a memory issue due to the creaky old server... but the good news is that it works if I turn on all the punctuation and orthographic filters: https://saktumiva.org/wiki/wujastyk/susrutasamhita/06-su.ut-31-end/provisional-edition_uttaratantra?upama_ver=h153eehd57 Turning on the filters means fewer differences, which means less to collate, which means it runs faster. |
Thanks, Charles. Your link led me to a Cloudflare timeout screen and on a second try to the same 503 message. :-( This raises a couple of follow-on questions for me.
|
I used the "trick" of collating each witness one at a time, so that those collations get cached. I guess when you changed the provisional edition, the cache got invalidated... here's what it looks like now: The For installing saktumiva, it's not too difficult — you just need PHP and a web server, Apache or Nginx should be fine. I haven't made a Docker image yet... that's a good idea though. Peter Pasedach runs his own instance of saktumiva on his own server; the instructions are at the bottom of the readme: https://github.com/chchch/upama |
Okay, that's working for me again now. I started from Saktumiva / Startmap / Wiki and so on, so as to get a new cached file. Now I've got that string, |
I'm now having the same problem with the Cikitsāsthāna files: https://saktumiva.org/wiki/wujastyk/susrutasamhita/04-su.ci/provisional-edition_cikitsasthana?upama_ver=hj9jczgnwl I tried the gradualistic approach you describe; didn't work. ... wait, I tried again and got a good collate with |
I got a collation here: https://saktumiva.org/wiki/wujastyk/susrutasamhita/04-su.ci/provisional-edition_cikitsasthana?upama_ver=hjddkbutpy I basically had to collate each witness separately, one at a time, and then do one with all four. But ultimately this is an issue with the system struggling with big files... I'm actively working on v2 right now! For the caching: the cache IDs actually identify a particular configuration — the witnesses collated and the filters applied. So even if you edit the files, the URL will still remain valid, and it will always give you an up-to-date collation. I think the only thing that would invalidate the URL is if you change the filenames. PS I noticed that in witness A, you've broken up some compounds (śakala-kapāla...) that aren't broken in your edition (sakalakapāla...) |
I've got Apache2 and Dokuwiki running and I've copied the Saktumiva files to the /var/www/dokuwiki/lib/tpl and /var/www/dokuwiki/lib/plugins directories as instructed, and a blank sidebar.txt file in /var/www/dokuwiki/data/pages. The result is here: http://206.12.96.209/doku.php?id=wiki:welcome What should I do next? Charles, I know you're not a general support desk for computer help :-) So you can just say no, or point me to documentation. Or perhaps I should be asking Peter, since he's done all this successfully. |
V2, hooray.
|
I couldn't load your site for some reason... it timed out. In general though, the next step is to go to the Admin panel, "Extension manager", and enable to "Upama Plugin". Then, in "Configuration settings", change the template to "saktumiva". As for upama_ver=hjddkbutpy, I'm guessing it's probably at the very edge of the 30 second time limit, so it doesn't work reliably. |
Ah ok, you need the mbstring extension. If you're on Ubuntu and using php8.1, it's this: https://packages.ubuntu.com/jammy/php8.1-mbstring |
I was having crash problems with Cikitsāsthāna, Charles, and I used your "trick" of collating each witness one at a time. Got me a new URL code string, and a good compile. Do we need a "clear cache" button? |
Hmm, usually the Clearing the cache is actually kind of bad, since if all the cache files are deleted, the system has to collate each file again, which will probably time out. On your server, try making a |
thanks; points taken.
I've upped the max execution in /etc/php8.1/apache/php.ini
…On Tue, 14 Nov 2023 at 06:41, chchch ***@***.***> wrote:
Hmm, usually the upama_ver string doesn't change...
Clearing the cache is actually kind of bad, since if all the cache files
are deleted, the system has to collate each file again, which will probably
time out.
On your server, try making a php.ini file and setting max_execution_limit
to a couple minutes to see if that works.
—
Reply to this email directly, view it on GitHub
<#64 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF2DBQSZVWQXAUNSFMMGZ3YENYKNAVCNFSM6AAAAAA6M54JX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJQGIZDMOBUHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
When I try to collate Suśrutasaṃhitā Uttaratantra 31-66 together with the vulgate edition, like this, I'm getting,
I get a good collate if I leave out witness A, the transcription of the vulgate printed edition, like this.
Is this a memory limitation at Saktumiva, or is there something wrong with my files? I hope it's not that they're too big. I'm loath to cut files in half yet again.
The text was updated successfully, but these errors were encountered: