[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3176: Creation of a headless WebForm runtime metapackage


http://gambaswiki.org/bugtracker/edit?object=BUG.3176&from=L21haW4-

Comment #6 by Omar MORENO:

I have a crucial update. I managed to fix the initial 404 error (it was an old manual header line I removed), so now the browser correctly requests the framework's dynamic stylesheet from the binary: [http://192.168.0.4/WebApp2.gambas/style:0.0.8.css](http://192.168.0.4/WebApp2.gambas/style:0.0.8.css).

However, that specific request immediately returns a 500 Internal Server Error.

I checked the Apache error_log (/var/log/apache2/error_log), and interesting enough, Apache is completely quiet—there are no segmentation faults or hard binary crashes logged at the OS level. The Gambas binary seems to exit with an error code or abort internally only when trying to handle and output that dynamic CSS route.

Because the browser receives a 500 instead of the framework's internal CSS, the entire geometry calculation, component placement, and properties like Label.Visible = False are completely broken on the client side.

I am attaching the source code of my test application. You will be able to verify that the project is clean and that my custom style.css is properly placed inside the .public folder, leaving the rest of the asset management entirely to the framework.

Since this is a clean, minimal openSUSE headless installation, is there any specific sub-component, cache directory permissions (like /tmp), or system library that gb.web.gui invokes exclusively to compile and serve the dynamic style:X.X.X.css stream?

Best regards.

Browser Console Output:

Plaintext
GET http://192.168.0.4/WebApp2.gambas/style:0.0.8.css
[HTTP/1.1 500 Internal Server Error 12ms]

Status: 500 Internal Server Error
Content-Type: text/html
Server: Apache
Referer: http://192.168.0.4/WebApp2.gambas
Cookie: GBSESSIONID-57656241707032=192.168.0.2:80:AD2E9E6BBB4319772F7A398F;

----------------------------------------------------------------------------

Attachment: WebApp2-0.0.9.tar.gz

Omar MORENO changed the state of the bug to: Accepted.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----