[web2py] Re: nav bar in 2.16.1

2017-12-21 Thread lucas
oh and i forgot to mention. if you narrow the browser window to the point that that button hides the menu, when you click on it it does do anything. that was under both safari and firefox, latest versions. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] nav bar in 2.16.1

2017-12-21 Thread lucas
hello one and all, i'm trying to update an older app into the new 2.16.1 and i want the nav bar centered with the login pulled to the right. no matter what css i do to the damn thing, i can't get it off of the left to center it in the window with the login pulling to the right, giving that

[web2py] Re: ChartistJS in web2py

2017-12-21 Thread Gualter Portella
Ok, Stifan. I will try this out and let you know. Thanks. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are

[web2py] Re: SSL Error: bad handshake when use requests lib

2017-12-21 Thread DaneW
I see that they are the same version and it is reasonably up to date. Presumably that is also the version used when you run a script within Web2py? If so then I'm afraid I don't have any further suggestions - sorry. I don't have a Facebook access token so I can't try it out - perhaps there is

[web2py] Re: ChartistJS in web2py

2017-12-21 Thread 黄祥
had you inspect it (chrome)? is it loaded in console tab in the browser inspection ? usually not put it (chartist.min.css and chartist.min.js) on the layout.html, just the html page that show the chart, because it will loaded in every page that extend layout.html (with or without the chart on

[web2py] ChartistJS in web2py

2017-12-21 Thread Gualter Portella
Dear all, I am developing an app which contains charts and a dashboard. I am experimenting with ChartistJS and tried to replicate the first example of its website in web2py. in layout.html, I added: ... in default/index.html, I added: {{extend

Re: [web2py] strange URL output ?!

2017-12-21 Thread António Ramos
Thank you Anthony. Always to the rescue... It works now. extension="bbb" does not return pdf... Again ,thank you for your time Regards António 2017-12-21 15:39 GMT+00:00 Anthony : > On Thursday, December 21, 2017 at 10:07:51 AM UTC-5, Ramos wrote: >> >> Not solved. I even

Re: [web2py] strange URL output ?!

2017-12-21 Thread Anthony
On Thursday, December 21, 2017 at 10:07:51 AM UTC-5, Ramos wrote: > > Not solved. I even set extension=None or extension="bbb" > keeps adding .pdf > Are you sure extension="bbb" results in a "pdf" extension? If you are posting to the URL with a .pdf extension, that extension will be propagated

Re: [web2py] strange URL output ?!

2017-12-21 Thread António Ramos
the problem is on line url = URL(a='fileit', c='events',f='list', host=True, args=[], vars=vars,extension=None) it adds .pdf to /fileit/events/list*.pdf/...* *Any ideas?* 2017-12-21 15:17 GMT+00:00 António Ramos : > this is my code that i call via post > > >

Re: [web2py] strange URL output ?!

2017-12-21 Thread António Ramos
this is my code that i call via post @request.restful() def uploadCOA(): import random import string response.view = 'generic.json' def POST(*args, **kw): try: uploaded_file = kw[kw.keys()[0]] coa = args[0] + "/" + args[1] filename =

Re: [web2py] strange URL output ?!

2017-12-21 Thread António Ramos
Not solved. I even set extension=None or extension="bbb" keeps adding .pdf 2017-12-21 14:29 GMT+00:00 Richard Vézina : > Maybe inherited from the previous request?? > > You can set "extension='html|json|etc'" to try to correct that... > > Richard > > On Thu, Dec

Re: [web2py] strange URL output ?!

2017-12-21 Thread Richard Vézina
Maybe inherited from the previous request?? You can set "extension='html|json|etc'" to try to correct that... Richard On Thu, Dec 21, 2017 at 7:06 AM, António Ramos wrote: > hello i cannot understand why this code >

[web2py] strange URL output ?!

2017-12-21 Thread António Ramos
hello i cannot understand why this code vars=dict(itemID=relatedto,t="entities",uuid=db.entities[relatedto]["uuid"],receipt=1,eventid=eventid) url = URL(a='fileit', c='events',f='list', host=True, args=[], vars=vars) returns this url http://myapp/fileit/events/list*.pdf*

[web2py] Re: SSL Error: bad handshake when use requests lib

2017-12-21 Thread killzane
1. unubtu terminal OpenSSL 1.0.2g 1 Mar 2016 2. python >>> import ssl >>> print ssl.OPENSSL_VERSION OpenSSL 1.0.2g 1 Mar 2016 DaneW於 2017年12月21日星期四 UTC+8下午6時00分01秒寫道: > > I recently have the same problem with certain websites - it seems to be an > OpenSSL issue with their webserver config or

[web2py] Re: SSL Error: bad handshake when use requests lib

2017-12-21 Thread DaneW
I recently have the same problem with certain websites - it seems to be an OpenSSL issue with their webserver config or their certificates. Could you tell us what version of OpenSSL is used both circumstances? terminal> openssl version and Python> print ssl.OPENSSL_VERSION On Wednesday, 20