Re: [Gambas-user] Logging errors in apps running as Application.Daemon
Peace! Making apps daemons is exactly what I want to achieve, but couldn't get interpreter errors to log to file in native daemon mode. So I thought maybe a wrapper can start a non daemon app, intercept all output including interpreter errors, and go into background? This is boot time start "service" apps. Cheers -- View this message in context: http://gambas.8142.n7.nabble.com/Logging-errors-in-apps-running-as-Application-Daemon-tp59450p59519.html Sent from the gambas-user mailing list archive at Nabble.com. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1110: Error trying to add event on menu complete
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4- Comment #5 by Víctor PEREZ: Probe in the development version and the event menu does not appear when you type the second low script. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Logging errors in apps running as Application.Daemon
On Thu, 22 Jun 2017, alexchernoff wrote: > Anyone know if there is a wrapper to daemonize apps while keeping them in > regular console mode? That way maybe it will be possible to log fatal > interpreter errors? > Why do you want to daemonise then? From the manpage of daemon(): The daemon() function is for programs wishing to detach themselves from the controlling terminal and run in the background as system daemons. Maybe it's time to ask what you want to accomplish, because it's probably not running a daemon. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Class HtmlDocument
Le Thu, 08 Jun 2017 16:02:32 +0200, Adrien Prokopowicza écrit: Le Tue, 06 Jun 2017 15:50:24 +0200, adamn...@gmail.com a écrit: On Mon, 5 Jun 2017 11:56:34 +0200 Hans Lehmann wrote: Hello, why creates the following source text: Public Sub btnCreateHTMLDocument_Click() Dim hHtmlDocument As HtmlDocument hHtmlDocument = New HtmlDocument At this point hHtmlDocument.Html5 is false!! *hHtmlDocument.Html5 = False** * Print hHtmlDocument.ToString(True) hHtmlDocument.Save(Application.Path &/ "test.html", True) End this HTML5 document? I would have expected: strict HTML 1.0! /> Hans So, I guess that you are right. In fact, changing it to True and then back to False seems to have absolutely no effect on the generated html text. Oh well, back to Adrien for this one I'd say. b Hi guys, sorry for the delay, I've been a bit busy and missed your email ! This is indeed a bug in gb.xml.html, I'm looking into fixing it ASAP. :) Regards, This is now fixed in revision #8148. :) -- Adrien Prokopowicz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user