Open feldti opened 2 years ago
See also #55.
Do you see both errors in any way related to each other ?
I don't know enough to say how they are related. The error report is different, but they share the fact that recent updates to Dolphin use Windows APIs that are not properly supported by Wine. To debug this will require diving into Dolphin and Wine, and then reporting bugs to the Wine team. I'm torn about how much effort to put into Wine support when I'm investigating alternatives that would not require Windows.
What are the possible alternatives "not require Windows"? Jade under Wine is very useful - because one can develop under Linux (with the Gemstone/Server) without starting a VM running Windows ONLY to use Jade (as I have to do now).
I recognize and appreciate the value of Jade under Wine (macOS is my primary environment and I keep a Windows VM around primarily to run Jade). Unfortunately, these problems are typically Wine bugs discovered because of changes to Dolphin—and debugging Wine is far out of my expertise. I can spend a lot of time on it and not make much progress. Even if I were to come up with a simple reproducible case, someone would still need to find and fix the problem in Wine then we would wait for a new release of Wine. I've spent time on this without progress.
As to alternatives, I have been considering a couple alternatives. First is building a web-based IDE that looks familiar to Smalltalk developers (https://github.com/jgfoster/Jade/tree/flutter). Second is to use VS Code since it is familiar to non-Smalltalk developers (https://github.com/jgfoster/vscode-gemstone/tree/web-sockets). Comments are welcome!
Hello James,
amazing, what you already tried out (in different technologies) ! I did not get the VisualCode example running - but much applause for that work !
By the way - in my Gemstone development process I consider changing my development path: in prior and current development model I tried to add more and more specific Smalltalk code (mostly from Squeak) and do all stuff in Smalltalk within Gemstone. I think about stopping that idea - I actually consider to work with a very basic Gemstone/S system and do most of the stuff externally by other applications written in other languages - like http processing, event/messaging system etc ....
So, one way would be to use 0MQ communication library to communicate (from Gemstone/S) with those external processes (candidate technology is .NET6 and C#). Perhaps I would use the PostgreSQL library from Norm and perhaps a RabbitMQ library he considers to write. So, mainly three additional Smalltalk packages I would consider.
Have you ever thought about that ?
Marten
Thanks for the comments. There is certainly a trade-off between doing things inside GemStone vs. outside. On the one hand, it is nice to reduce the number of pieces (so do more in GemStone) and on the other hand it is nice to use other things if they solve a problem and reduce the amount of code you need to write.
I typically use something like Nginx as a front-end to serve static pages and handle HTTPS. But unless there already is an external PostgreSQL database I wouldn't add one. And I haven't yet run into a case where I wanted to use an external message bus (though I recognize that others might have that need).
I'm also getting a 'division by zero 14.0' error when trying to log in.
(Ubuntu 20.04.4 LTS / Wine 5.0-3ubuntu1)
I would not expect to get a reliable solution under Wine with any Dolphin stuff - so I always use a VM only with Windows and Jade to do my development ...
Marten
Just as information: I installed new Ubuntu 22.04 LTS, installed wine 7.0 (and later development branche 7.8) and wanted to start Jade - but its not useable. I got an error: "Common control call failed".
It can be tested (once only - after starting Jade) - In the window "Jade Login": switch the tab page from "Logins" to "GCI Activity" and you get the error.