squeak-smalltalk / squeak-object-memory

Issues and assets related to the Squeak object memory.
https://bugs.squeak.org
MIT License
12 stars 1 forks source link

"500 Internal Server Error" for "Help > Squeak Swiki" #14

Open dram opened 2 years ago

dram commented 2 years ago

When opening Swiki from menu bar "Help > Squeak Swiki" in Squeak 6.0 alpha, following error is occurred:

Internal Server Error
Error: File write failed

Comanche/6.2 (unix)  Server at wiki.squeak.org Port 80
LinqLover commented 2 years ago

Known server issues. Maybe we should automatically retry each failed access a number of times?

dram commented 2 years ago

If it's a known server issue, can it be fixed in server side?

dram commented 2 years ago

Look briefly into this issue, File write failed seems like a low level error, and may be related to VM.

According to version info displayed in footer of wiki.squeak.org, this sevice is running under Squeak 3.7. Is there any plan to upgrade to 5.3 or 6.0?

I kind of think that it's better to do upgrade firstly, before trying to fix this issue.

dram commented 2 years ago

Interesting that Swiki and it's dependences can be loaded into Squeak 6.0 alpha without any error, following are detailed steps:

  1. Load DynamicBindings-lr.13.mcz from http://www.squeaksource.com/DynamicBindings/
  2. Load KomServices-lr.21.mcz from http://www.squeaksource.com/KomHttpServer/
  3. Load KomHttpServer-pmm.67.mcz from http://www.squeaksource.com/KomHttpServer/
  4. Load Swiki.cs from https://wiki.squeak.org/swiki/39
  5. Do ComSwikiLauncher openAsMorph
dram commented 2 years ago

With several tweaks, basic features (view, create, edit and search) are functional now, see this repository for more detail: https://github.com/dram/Swiki

LinqLover commented 2 years ago

Wow! If you are making further progress, maybe we could update the hosted instance on wiki.squeak.org?

dram commented 2 years ago

I think it's possible, but before that a thorough test is needed.

dram commented 2 years ago

Just finished the migration of Swiki's web infrastructure to WebServer, now Swiki can run on Squeak 6.0 without any dependency.

Currently only basic features are supported, will need more work to be fully functional.