Re: [Gambas-user] Empty PDF problem - maybe Cairo too slow?
Am 17.08.2013 10:48, schrieb Rolf Schmidt: Hi Rolf-Werner When the whole thing runs from cron, it will deliver 0 Byte PDFs, but the originals on the system are fine (the copies remain in the directory). The mailing system does not see any error. Problems with cron usually result from missing pathes. Cron does not starts a shell with its enviroment. So you have to use absolut paths to your programm(s) and perhap setup environment variable if needed. Hope thät helps Rolf At first, I thought this might solve it, but it's some problem within the external Perl script when called from a shell within a cron environment. It seems to have to do with paths, but it's beyond my reach, maybe a call to a Perl library. In the end, I solved this by starting the mail transfer not from a shell within the Gambas program but afterwards. The sendEmail Perl script then runs on its own, called by a bash script, and reads the data from a list the Gambas program has prepared beforehand. Calling myProgram.Gambas myMailScript runs flawlessly. It's just a shame I didn't get the Gambas SMTP client to work, it would have made things a lot easier. Regards Rolf -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] About coordinates in .FindChild(...) function
Hello Benoît, I did some other testing and analysis: I place a TextLabel on Form I have noticed that the object Child is identified with the function .FindChild(...), if the object is placed in the range of the coordinates TextLabel1.X = 99 TextLabel1.Y = 29. In fact, if I place the TextLabel at coordinates .X = 100 - .Y = 30, the TextLabel is no longer returned by that function. And so on: - .X = 100 - .Y = 29 no good - .X = 99 - .Y = 30 no good For the test I used this simple line: If IsNull(Me.FindChild(99, 29)) = False Then Print Object.Type(Me.FindChild(99, 29)) Regards vuott Dom 18/8/13, Benoît Minisini gam...@users.sourceforge.net ha scritto: Oggetto: Re: [Gambas-user] About coordinates in .FindChild(...) function A: mailing list for gambas users gambas-user@lists.sourceforge.net Data: Domenica 18 agosto 2013, 18:18 Le 17/08/2013 21:09, Ru Vuott a écrit : Hello, I was trying .FindChild ( X As Integer, Y As Integer ) As Control function, I noticed that this function detects and returns any Child Object of a its Parent Container, only if this Object is positioned at the coordinates .X = 0 and .Y = 0 . So, even if only one of the two coordinates is greater than zero, the child object is no longer identified/returned. It is normal or I'm doing something wrong? Regards vuott Do you have some code that shows me the problem? -- Benoît Minisini -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] About coordinates in .FindChild(...) function
Le 19 août 2013 16:50, Ru Vuott vu...@yahoo.it a écrit : Hello Benoît, I did some other testing and analysis: I place a TextLabel on Form I have noticed that the object Child is identified with the function .FindChild(...), if the object is placed in the range of the coordinates TextLabel1.X = 99 TextLabel1.Y = 29. In fact, if I place the TextLabel at coordinates .X = 100 - .Y = 30, the TextLabel is no longer returned by that function. And so on: - .X = 100 - .Y = 29 no good - .X = 99 - .Y = 30 no good For the test I used this simple line: If IsNull(Me.FindChild(99, 29)) = False Then Print Object.Type(Me.FindChild(99, 29)) Why ... = False ? This is not needed Ok so if I understand well the find child don't take position into account... Just the size Regards vuott Dom 18/8/13, Benoît Minisini gam...@users.sourceforge.net ha scritto: Oggetto: Re: [Gambas-user] About coordinates in .FindChild(...) function A: mailing list for gambas users gambas-user@lists.sourceforge.net Data: Domenica 18 agosto 2013, 18:18 Le 17/08/2013 21:09, Ru Vuott a écrit : Hello, I was trying .FindChild ( X As Integer, Y As Integer ) As Control function, I noticed that this function detects and returns any Child Object of a its Parent Container, only if this Object is positioned at the coordinates .X = 0 and .Y = 0 . So, even if only one of the two coordinates is greater than zero, the child object is no longer identified/returned. It is normal or I'm doing something wrong? Regards vuott Do you have some code that shows me the problem? -- Benoît Minisini -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] About coordinates in .FindChild(...) function
Ok so if I understand well the find child don't take position into account... Just the size So that actually the object can be detected/returned by the function .ChilFind(), it seems to me that: 1) it has to be placed in its position range: - ChildObject.X = 99 - ChildObject.Y = 29 2) (it being understood the previous point 1 ) also the arguments of function have...: anyContainer.ChilFind(= 99, = 29) Try yourself. bye vuott Lun 19/8/13, Fabien Bodard gambas...@gmail.com ha scritto: Oggetto: Re: [Gambas-user] About coordinates in .FindChild(...) function A: mailing list for gambas users gambas-user@lists.sourceforge.net Data: Lunedì 19 agosto 2013, 16:58 Le 19 août 2013 16:50, Ru Vuott vu...@yahoo.it a écrit : Hello Benoît, I did some other testing and analysis: I place a TextLabel on Form I have noticed that the object Child is identified with the function .FindChild(...), if the object is placed in the range of the coordinates TextLabel1.X = 99 TextLabel1.Y = 29. In fact, if I place the TextLabel at coordinates .X = 100 - .Y = 30, the TextLabel is no longer returned by that function. And so on: - .X = 100 - .Y = 29 no good - .X = 99 - .Y = 30 no good For the test I used this simple line: If IsNull(Me.FindChild(99, 29)) = False Then Print Object.Type(Me.FindChild(99, 29)) Why ... = False ? This is not needed Ok so if I understand well the find child don't take position into account... Just the size Regards vuott Dom 18/8/13, Benoît Minisini gam...@users.sourceforge.net ha scritto: Oggetto: Re: [Gambas-user] About coordinates in .FindChild(...) function A: mailing list for gambas users gambas-user@lists.sourceforge.net Data: Domenica 18 agosto 2013, 18:18 Le 17/08/2013 21:09, Ru Vuott a écrit : Hello, I was trying .FindChild ( X As Integer, Y As Integer ) As Control function, I noticed that this function detects and returns any Child Object of a its Parent Container, only if this Object is positioned at the coordinates .X = 0 and .Y = 0 . So, even if only one of the two coordinates is greater than zero, the child object is no longer identified/returned. It is normal or I'm doing something wrong? Regards vuott Do you have some code that shows me the problem? -- Benoît Minisini -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] About coordinates in .FindChild(...) function
Le 19/08/2013 18:15, Ru Vuott a écrit : Ok so if I understand well the find child don't take position into account... Just the size So that actually the object can be detected/returned by the function .ChilFind(), it seems to me that: 1) it has to be placed in its position range: - ChildObject.X = 99 - ChildObject.Y = 29 2) (it being understood the previous point 1 ) also the arguments of function have...: anyContainer.ChilFind(= 99, = 29) Try yourself. bye vuott I cannot reproduce the bug. Can you send me a project that shows it? Thanks. -- Benoît Minisini -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to bring forward Gambas server pages? (gbw3 related files who to expose in http)
From: Beno?t Minisini gam...@users.sourceforge.net Subject: Re: [Gambas-user] How to bring forward Gambas server pages? (gbw3 related files who to expose in http) To: mailing list for gambas users gambas-user@lists.sourceforge.net Message-ID: 52100d56.6080...@users.sourceforge.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Don't use Gambas server pages, this is just a bad way of doing things. Gambas can do better: make a normal project with the gb.web component and use it as a CGI script. Please how can i put this files in web server? (maybe my question could be due i never work with cgi directly) And i note that i see a http server component in gambas3, this are related to ? -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] About coordinates in .FindChild(...) function
Here the attached file. regards vuott Lun 19/8/13, Benoît Minisini gam...@users.sourceforge.net ha scritto: Oggetto: Re: [Gambas-user] About coordinates in .FindChild(...) function A: mailing list for gambas users gambas-user@lists.sourceforge.net Data: Lunedì 19 agosto 2013, 18:17 Le 19/08/2013 18:15, Ru Vuott a écrit : Ok so if I understand well the find child don't take position into account... Just the size So that actually the object can be detected/returned by the function .ChilFind(), it seems to me that: 1) it has to be placed in its position range: - ChildObject.X = 99 - ChildObject.Y = 29 2) (it being understood the previous point 1 ) also the arguments of function have...: anyContainer.ChilFind(= 99, = 29) Try yourself. bye vuott I cannot reproduce the bug. Can you send me a project that shows it? Thanks. -- Benoît Minisini -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user findchild-0.0.1.tar.gz Description: application/gzip -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Application_Read() called with no end
Le 18/08/2013 21:08, Tobias Boege a écrit : Hi Benoit, I'm using Application_Read() in a project now and it seems to misbehave. I have attached a project which mirrors its input from within Application_Read() using the Debug instruction. The problem is, even though the file I am redirecting in is completely read, Application_Read() is still called with no end: $ echo abc /tmp/file $ gbx3 /tmp/file MMain.Application_Read.12: abc MMain.Application_Read.12: MMain.Application_Read.12: MMain.Application_Read.12: ^C Maybe there is some feof(stdin) check missing to stop the watch since to select(2), the file is still readily readable at the EOF. As callback_read() in gbx_c_file.c seems to be widely shared, I don't want to mess around with it without knowing the rest of the code. Regards, Tobi Revision #5811 should fix that. The principle is disabling the read watch as soon as reading a stream fails for any reason. If anything goes wrong after this fix, you will have to wait for two weeks: I leave Paris for holidays! Regards, -- Benoît Minisini -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Application_Read() called with no end
On Mon, 19 Aug 2013, Beno?t Minisini wrote: Le 18/08/2013 21:08, Tobias Boege a ?crit : Hi Benoit, I'm using Application_Read() in a project now and it seems to misbehave. I have attached a project which mirrors its input from within Application_Read() using the Debug instruction. The problem is, even though the file I am redirecting in is completely read, Application_Read() is still called with no end: $ echo abc /tmp/file $ gbx3 /tmp/file MMain.Application_Read.12: abc MMain.Application_Read.12: MMain.Application_Read.12: MMain.Application_Read.12: ^C Maybe there is some feof(stdin) check missing to stop the watch since to select(2), the file is still readily readable at the EOF. As callback_read() in gbx_c_file.c seems to be widely shared, I don't want to mess around with it without knowing the rest of the code. Regards, Tobi Revision #5811 should fix that. The principle is disabling the read watch as soon as reading a stream fails for any reason. If anything goes wrong after this fix, you will have to wait for two weeks: I leave Paris for holidays! Works! Bon voyage. (I have to practice French again a little as in two weeks, I'll spend my holidays there :-)) Regards, Tobi -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Application_Read() called with no end
Le 19/08/2013 23:56, Tobias Boege a écrit : On Mon, 19 Aug 2013, Beno?t Minisini wrote: Le 18/08/2013 21:08, Tobias Boege a ?crit : Hi Benoit, I'm using Application_Read() in a project now and it seems to misbehave. I have attached a project which mirrors its input from within Application_Read() using the Debug instruction. The problem is, even though the file I am redirecting in is completely read, Application_Read() is still called with no end: $ echo abc /tmp/file $ gbx3 /tmp/file MMain.Application_Read.12: abc MMain.Application_Read.12: MMain.Application_Read.12: MMain.Application_Read.12: ^C Maybe there is some feof(stdin) check missing to stop the watch since to select(2), the file is still readily readable at the EOF. As callback_read() in gbx_c_file.c seems to be widely shared, I don't want to mess around with it without knowing the rest of the code. Regards, Tobi Revision #5811 should fix that. The principle is disabling the read watch as soon as reading a stream fails for any reason. If anything goes wrong after this fix, you will have to wait for two weeks: I leave Paris for holidays! Works! Bon voyage. (I have to practice French again a little as in two weeks, I'll spend my holidays there :-)) Regards, Tobi Really? If you go to Paris, tell me so that we can meet. Regards, -- Benoît Minisini -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Application_Read() called with no end
On Tue, 20 Aug 2013, Beno?t Minisini wrote: Le 19/08/2013 23:56, Tobias Boege a ?crit : On Mon, 19 Aug 2013, Beno?t Minisini wrote: Le 18/08/2013 21:08, Tobias Boege a ?crit : Hi Benoit, I'm using Application_Read() in a project now and it seems to misbehave. I have attached a project which mirrors its input from within Application_Read() using the Debug instruction. The problem is, even though the file I am redirecting in is completely read, Application_Read() is still called with no end: $ echo abc /tmp/file $ gbx3 /tmp/file MMain.Application_Read.12: abc MMain.Application_Read.12: MMain.Application_Read.12: MMain.Application_Read.12: ^C Maybe there is some feof(stdin) check missing to stop the watch since to select(2), the file is still readily readable at the EOF. As callback_read() in gbx_c_file.c seems to be widely shared, I don't want to mess around with it without knowing the rest of the code. Regards, Tobi Revision #5811 should fix that. The principle is disabling the read watch as soon as reading a stream fails for any reason. If anything goes wrong after this fix, you will have to wait for two weeks: I leave Paris for holidays! Works! Bon voyage. (I have to practice French again a little as in two weeks, I'll spend my holidays there :-)) Regards, Tobi Really? If you go to Paris, tell me so that we can meet. Argh, no. It's going to be Sainte-Maxime at the other end of France. I'll keep that in mind for another year. Regards, Tobi -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to bring forward Gambas server pages? (gbw3 related files who to expose in http)
El 19/08/13 20:28, Benoît Minisini escribió: - When I have time (after my holidays in two weeks?) I will write an example project of how to make a web site with Gambas. Surely some sort of little wiki or blog. Regards, Ye! We are waiting desperately for it ;-) Regards Jesus Guardon -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] About coordinates in .FindChild(...) function
well. bye vuott Lun 19/8/13, Benoît Minisini gam...@users.sourceforge.net ha scritto: Oggetto: Re: [Gambas-user] About coordinates in .FindChild(...) function A: mailing list for gambas users gambas-user@lists.sourceforge.net Data: Lunedì 19 agosto 2013, 22:19 Le 19/08/2013 20:46, Benoît Minisini a écrit : Le 19/08/2013 20:18, Ru Vuott a écrit : Here the attached file. regards vuott Thanks. *Now* I understand what you are talking about! OK, the bug should be fixed in revision #5810. Regards, -- Benoît Minisini -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to bring forward Gambas server pages? (gbw3 related files who to expose in http)
On Tue, 2013-08-20 at 00:27 +0200, Jesus Guardon wrote: El 19/08/13 20:28, Benoît Minisini escribió: - When I have time (after my holidays in two weeks?) I will write an example project of how to make a web site with Gambas. Surely some sort of little wiki or blog. Regards, Ye! We are waiting desperately for it ;-) Regards Jesus Guardon Very much looking forward to this :-) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user