Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread Alex
you can find basic information here: https://www.reportbro.com/docs/installation client side you only have to initialize the plugin. For server integration with web2py there is an example implementation as well: https://www.reportbro.com/static/download/reportbro_web2py.py On Wednesday, November

Re: [web2py] Logger issue

2017-11-22 Thread Alex
I'm not missing anything with logging.conf. As I mentioned above it is not just simply rewriting the logging configuration because I have to adapt the deployment process as well. Therefor I'd like to know in advance if you think that rewriting the logger would solve this issue. And I'd like to

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
Not that easy :) i´m reading your links and also this link https://github.com/jobsta/reportbro-designer/blob/master/demos/custom_save.html where i´m stuck in the save part what url do i put in the save url ? [image: Imagem inline 1] i moved the run function from the reportbro_web2py.py to a con

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
[image: Imagem inline 1] 2017-11-22 11:07 GMT+00:00 António Ramos : > Not that easy :) > > i´m reading your links and also this link > https://github.com/jobsta/reportbro-designer/blob/ > master/demos/custom_save.html > > where i´m stuck in the save part > > what url do i put in the save url ? >

[web2py] Dynamically changing requirement of field in form

2017-11-22 Thread Simona Chovancová
Hello. I have a form in web2py that controls editing and adding new user. But some fields need different requirements based on when user is being added or edited. Can I somehow change field requirements in view? I can only detect this in view. So far I came up with something like this, but it d

[web2py] Re: Dynamically changing requirement of field in form

2017-11-22 Thread Simona Chovancová
figured out no longer needed On Wednesday, November 22, 2017 at 12:49:23 PM UTC+1, Simona Chovancová wrote: > > Hello. > > I have a form in web2py that controls editing and adding new user. But > some fields need different requirements based on when user is being added > or edited. Can I someho

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread Alex
On Wednesday, November 22, 2017 at 12:07:56 PM UTC+1, Ramos wrote: > > Not that easy :) > > i´m reading your links and also this link > > https://github.com/jobsta/reportbro-designer/blob/master/demos/custom_save.html > > where i´m stuck in the save part > > what url do i put in the save url ? > t

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
Some questions ... 1 - i see that you have already a report_request table with the reports. Are you talking about this table to save reports? Looks to me that this table is to save the "templates" of the pdf reports 2 - How do i merge data from my db with your templates and generate a live pdf w

[web2py] SyntaxError: Adapter not found for gae

2017-11-22 Thread Tommi Lahtonen
Latest web2py (2.16.1 ) and latest Google App Engine launcher (1.9.63) do not work together on Windows 7. Welcome application works but admin interface does not. Trying to open Admin will give you this error: INFO 2017-11-22 15:15:22,841 module.

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread Alex
On Wednesday, November 22, 2017 at 1:46:06 PM UTC+1, Ramos wrote: > > Some questions ... > > 1 - i see that you have already a report_request table with the reports. > Are you talking about this table to save reports? Looks to me that this > table is to save the "templates" of the pdf reports > t

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
Great. Will investigate further... Also another question the reportbro logo at the bottom of the pdf is there to stay? I´m doing a private app for my business. Do i need to pay any licence? How do i remove that logo in the bottom of the page? Regards António 2017-11-22 13:31 GMT+00:00 Alex :

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
I got it . I have to read the record from the report_request table and do a json.load before the Report(definition, mydata) also in the designer i have to create paramenters... Thank you 2017-11-22 14:55 GMT+00:00 António Ramos : > Great. Will investigate further... > > Also another question > >

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread António Ramos
About fonts there is only available Courier new Helvetica Times new roman I need aria, how do i add it ? adding it to static folder and changing the addicional_fonts does not work [image: Imagem inline 1] Regards 2017-11-22 15:45 GMT+00:00 António Ramos : > I got it . > I have to read the r

[web2py] scheduler: force another try, count tries

2017-11-22 Thread Martin Weissenboeck
Two questions: ​(1) Under some conditions (email send not successfully) ​I want to force an other try after some minutes. Would it be a good idea to raise an Exception? (2) Let's say scheduler_task.retry_failed is 5 and we are in the second repetition. How can I get these number = 2? Is there any

Re: [web2py] Logger issue

2017-11-22 Thread Dave S
On Wednesday, November 22, 2017 at 2:50:45 AM UTC-8, Alex wrote: > > I'm not missing anything with logging.conf. As I mentioned above it is not > just simply rewriting the logging configuration because I have to adapt the > deployment process as well. Therefor I'd like to know in advance if you

Re: [web2py] Re: how to create pdf report in web2py???

2017-11-22 Thread Alex
you do not have to buy a license for a private app: https://www.reportbro.com/license/index the logo is only printed when using the public available reportbro instance. When you use your own server there will not be a logo on the generated pdf file. Unless you call generate_pdf with add_watermar

[web2py] Re: scheduler: force another try, count tries

2017-11-22 Thread Dave S
On Wednesday, November 22, 2017 at 9:25:31 AM UTC-8, mweissen wrote: > > Two questions: > > ​(1) Under some conditions (email send not successfully) ​I want to force > an other try after some minutes. Would it be a good idea to raise an > Exception? > > Who would be raising the exception? >

[web2py] How to distribute your applications as binaries¶

2017-11-22 Thread mostwanted
Hi guys, i am trying to make my application a widnows desktop app, (i'm from Ubuntu), i'm reading the steps in the link below http://web2py.com/books/default/chapter/29/14/other-recipes#How-to-distribute-your-applications-as-binaries

[web2py] Re: How to distribute your applications as binaries¶

2017-11-22 Thread 黄祥
On Thursday, November 23, 2017 at 12:19:51 PM UTC+7, mostwanted wrote: > > Hi guys, i am trying to make my application a widnows desktop app, (i'm > from Ubuntu), i'm reading the steps in the link below > > http://web2py.com/books/default/chapter/29/14/other-recipes#How-to-distribute-your-applicat

[web2py] Re: How to distribute your applications as binaries¶

2017-11-22 Thread Dave S
On Wednesday, November 22, 2017 at 9:19:51 PM UTC-8, mostwanted wrote: > > Hi guys, i am trying to make my application a widnows desktop app, (i'm > from Ubuntu), i'm reading the steps in the link below > > http://web2py.com/books/default/chapter/29/14/other-recipes#How-to-distribute-your-applic

[web2py] Re: How to distribute your applications as binaries¶

2017-11-22 Thread Dave S
On Wednesday, November 22, 2017 at 10:37:19 PM UTC-8, 黄祥 wrote: > > On Thursday, November 23, 2017 at 12:19:51 PM UTC+7, mostwanted wrote: >> >> Hi guys, i am trying to make my application a widnows desktop app, (i'm >> from Ubuntu), i'm reading the steps in the link below >> >> http://web2py.co

[web2py] Re: How to distribute your applications as binaries¶

2017-11-22 Thread mostwanted
When i run my .bat file it just flashes a black console and then closes, it doesn't display any errors or anything to notify me about what iIm doing wrong! What could i be missing? exactly the same as Stifan's; @echo off set command=C:\Users\mesho\Desktop\myapp\web2py\web2py.exe set interfaces=0