[web2py] Re: Web2py multiple request variables to filter database output

2017-04-10 Thread Scorpa
Yes, that's what i'm trying to achive. For now i have three tables: ingredients, tags and data. Data table defined with - Field('ingredients', 'list:reference tag_ingr'), tags - db.define_table('tag_ingr', Field('name', type='string'), format='%(name)s') And

[web2py] Re: web2py behind IIS - 404 File or Directory Not Found. - RESOLVED

2017-04-07 Thread weheh
Hallelujah! Praise to Remco Boerma for his excellent youtube video on how to make web2py work behind IIS. I am beginning to believe my suspicion that there is a version compatibility problem with wfastcgi.py and/or python 2.7.X 32 vs. 64 bit that

[web2py] Re: web2py behind IIS - 404 File or Directory Not Found.

2017-04-07 Thread Brian M
I cannot truly help, but I do use IIS and have found that it can be cantankerous. I would suggest simply trying to get a static file from web2py then you can work on the IIS settings to allow certain types of files that it might be blocking. The 404 on a new IIS installation simply means you

[web2py] Re: web2py behind IIS - 404 File or Directory Not Found.

2017-04-06 Thread weheh
Now I'm wondering if the wfastcgi.py 3.0.0 that I downloaded is somehow not compatible with some of the python2.7 modules in the flow. On Thursday, April 6, 2017 at 7:48:44 PM UTC-6, weheh wrote: > > I've now compared my installation against a known good installation. All > the various

[web2py] Re: web2py behind IIS - 404 File or Directory Not Found.

2017-04-06 Thread weheh
I've now compared my installation against a known good installation. All the various parameters and installed routines are the same, but still getting the 404 message. Anybody have any thoughts about what it might be or what I should be looking at? On Thursday, April 6, 2017 at 3:12:51 PM

Re: [web2py] Re: web2py and python3

2017-04-05 Thread Dave S
On Wednesday, April 5, 2017 at 1:15:55 PM UTC-7, JorgeH wrote: > > If what prevents the release of web2py python 3 ready are small details , > why not release 2 versions, one for python 3, and the other one for python > 3. > > Eventually, all the libraries will be ported to Py 3, or will be

Re: [web2py] Re: web2py and python3

2017-04-03 Thread Richard Vézina
Good suggestion Paolo, I will try master asap, hope ealier than later as I am in the middle of a big refactoring... I was just stand up for the other that may ask them self what's going on. :) Richard On Mon, Apr 3, 2017 at 3:01 PM, Paolo Valleri wrote: > The best

Re: [web2py] Re: web2py and python3

2017-04-03 Thread Paolo Valleri
The best is to test your apps with python3 and report any issues. After a test period, I agree regarding pushing a new release Paolo 2017-04-03 16:46 GMT+02:00 Richard Vézina : > Glad to hear that Leonel... > > But could we have "official" wrapup of the progress so

Re: [web2py] Re: web2py and python3

2017-04-03 Thread Richard Vézina
Glad to hear that Leonel... But could we have "official" wrapup of the progress so far and where we heading to. Are we waiting m2crypto to become py3 compatible to release a new web2py version? I am sure we could benefit from a new web2py version if the master is not broken because of that (py3

[web2py] Re: web2py and python3

2017-04-03 Thread Leonel Câmara
Alex pretty much the only thing missing for py3 support is for m2crypto which web2py depends on for X509 stuff to support python 3, according to their repository they're really close to finishing py3 support. So I would say we're almost

Re: [web2py] Re: web2py and python3

2017-04-02 Thread Alex
Is there any progress or at least a timeline when web2py will officially support Python 3? It's 11 months since the last web2py release and I don't see much activity on github. So this is worrying me a little bit. I have a lot of web2py projects and I'll start a large project in a few months.

[web2py] Re: Web2py multiple request variables to filter database output

2017-03-27 Thread Marlysson Silva
You want select many images , highlight them and search at database by ids's images highlighted ? Real-time? Em segunda-feira, 20 de março de 2017 10:40:13 UTC-3, Scorpa escreveu: > > Hello folks! > > I'm struggling with one idea: > I want to make visual filter such as - you can click on any

[web2py] Re: web2py using "foreign" form

2017-03-23 Thread Scott Hunter
There is no `request.post_vars`, and thus no `request.post_vars.stripeToken`, when the controller the form was submitted to executes. I cannot see any such hidden field in the DOM, but there not being one would explain why it isn't getting back to me. Further poking around, I found a section

[web2py] Re: web2py using "foreign" form

2017-03-23 Thread Anthony
On Thursday, March 23, 2017 at 10:20:29 AM UTC-4, Scott Hunter wrote: > > That's what I would have thought, but if I have the following in my view: > > "POST"> >src="https://checkout.stripe.com/checkout.js";

[web2py] Re: web2py using "foreign" form

2017-03-23 Thread Scott Hunter
That's what I would have thought, but if I have the following in my view: https://checkout.stripe.com/checkout.js"; class="stripe-button" data-email="{{=auth.user.email}}" data-key="{{=pk}}" data-amount="{{=amount}}" data-name="UKI TMS"

[web2py] Re: web2py using "foreign" form

2017-03-23 Thread Anthony
If the form is submitted via a POST request, everything will be in request.post_vars (request.post_vars is not specific to web2py-generated forms -- it is simply where posted data are made available). Anthony On Thursday, March 23, 2017 at 4:52:56 AM UTC-4, Scott Hunter wrote: > > Suppose I

Re: [web2py] Re: web2py + apache2 can't load Theano (Ubuntu Server 14.04)

2017-03-20 Thread Jordan Myers
Thank you for the reply. Apparently the issue was only when I tried to import theano in a controller. This worked with the rocket server, but not with Apache for some reason. Moving the code to a module and only invoking it with my web2py_scheduler service solved the issue (an immediate response

[web2py] Re: web2py + apache2 can't load Theano (Ubuntu Server 14.04)

2017-03-20 Thread Massimo Di Pierro
How is theano installed? Could it be apache2 is using a different pythonversion? In any case, I recommend you use Nginx over Apache. On Monday, 6 March 2017 14:17:10 UTC-6, Jordan Myers wrote: > > Hello > > I've migrated my code to start using Apache2 after successful setup just > using

[web2py] Re: Web2py admin > database datetime field error

2017-03-18 Thread lyn2py
I'm at testing stage, so sqlite, with plans to move over to postgresql, which I discovered to handle such nonexistent dates similarly. Yes I can do a select on fields that do not have dates. On Friday, March 17, 2017 at 8:15:10 AM UTC+8, Dave S wrote: > > > > On Thursday, March 16, 2017 at

[web2py] Re: Web2py admin > database datetime field error

2017-03-16 Thread Dave S
On Thursday, March 16, 2017 at 3:59:47 PM UTC-7, lyn2py wrote: > > > I've loaded a bunch of data into the DB, and some of the tables and rows > has the datetime field "-00-00" > > That caused web2py admin > this app's database to raise an error because > of the datetime field: > "year is

[web2py] Re: web2py ajax function - checkbox form element value

2017-03-14 Thread 黄祥
the value of checkbox is either on or None *e.g.* *controllers/default.py* def callback(session_order_product): counter = int(request.vars.counter) if request.vars.action == 'adjust_factory': id = int(request.vars.id) factory = request.vars.factory if factory == 'on': factory = 'None'

[web2py] Re: web2py/pydal.Download uploaded file error when the original filename of uploaded file is chinese cha

2017-03-05 Thread Yibing Liu
https://github.com/web2py/web2py/pull/1575 solved this problem. 在 2017年3月2日星期四 UTC+8下午7:01:10,Marlysson Silva写道: > > Appers some error ticket with a message? Or just just "server error" .. > > Em quarta-feira, 1 de março de 2017 23:52:54 UTC-3, Yibing Liu escreveu: >> >> I am using web2py. I

[web2py] Re: web2py/pydal.Download uploaded file error when the original filename of uploaded file is chinese cha

2017-03-02 Thread Marlysson Silva
Appers some error ticket with a message? Or just just "server error" .. Em quarta-feira, 1 de março de 2017 23:52:54 UTC-3, Yibing Liu escreveu: > > I am using web2py. I cloned the latest version of pydal. I define a > 'upload' field in my table. Then I upload a image whose filename is chinese

[web2py] Re: web2py & react

2017-02-18 Thread Marlysson Silva
Great! Em quinta-feira, 16 de fevereiro de 2017 15:05:38 UTC-3, José L. escreveu: > > Inspired by > https://medium.com/react-redux/introducci%C3%B3n-a-redux-js-8bdf4fe0751e#.iqodqn8cc > I have created a small project, using web2py instead of Django: > https://github.com/jredrejo/web2pyreactpoc >

[web2py] Re: Web2py Websocket in Rest

2017-02-18 Thread nexususer68
it depends you can use tornado web framework. but if you want to make a complete website and chatting is one of it's features then it's better to use both in order to benefit from web2py features . but either way you have to start by learning how to use tornado.websocket and then you'll be

[web2py] Re: Web2py Websocket in Rest

2017-02-17 Thread PK
I wanna use real time chatting application with web2py but my front end is android app.So i have to send Rest Json data.Should i use web2py and tornado something like web_socketmessaging.py or should i only use tornado. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Web2py Websocket in Rest

2017-02-17 Thread Htet Wai Kyu
i want to creat chatting application with json. Can i use tornado websocket with web2py(something like websocket_messaging.py )? or should i only use Tornado -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: web2py & react

2017-02-16 Thread José Luis Redrejo
Sorry, bad link in my previous email. The article that inspired me was https://hackernoon.com/ reconciling-djangos-mvc-templates-with-react-components-3aa986cf510a#. 5605vfe3r José L. 2017-02-16 19:04 GMT+01:00 José Luis Redrejo : > Inspired by

[web2py] Re: Web2py conditional models

2017-02-15 Thread Bentorey Hernández Cruz
Thank you Anthony, it seems that there was at some point a problem with the app_settings. On Sunday, 29 January 2017 03:35:49 UTC, Anthony wrote: > > Are migrations turned on, and if so, is there a *.table file for this > table in the app's /databases folder? That could mean the table was >

[web2py] Re: Web2py Websocket in Rest

2017-02-14 Thread nexususer68
while you can make a restful api with web2py you can't do websocket with web2py you will need an async web server with a non blocking framework (something like tornado ...) if you will only request resources using websockets there is no benefit from using web2py but if you want to use

[web2py] Re: [web2py:34645] Re: Does your Response Flash get in the way?

2017-02-13 Thread Paul Ellis
Hi Thadeus, How did you move the flash messages? On Thursday, 5 November 2009 17:52:15 UTC+1, Thadeus Burgess wrote: > > Instead of putting a timer on response.flash, I moved its location to > another location on the site that does conflict with any text. > > -Thadeus > > > > > On Thu, Nov 5,

Re: [web2py] Re: web2py and python3

2017-02-02 Thread Paolo Valleri
In the last months few patches have been accepted in the current master branch, as a result web2py core components can be tested on py3 too. Few features are missing see https://github.com/web2py/web2py/issues/1353. Feel free to try and report/fix any new issue discovered. Paolo On Thursday,

Re: [web2py] Re: web2py and python3

2017-02-02 Thread Muhammad Hashim Malik
Its about eight months passed but no news about web3py. What's the latest updated in this regard? On Wednesday, 25 May 2016 03:17:46 UTC+5, Dave S wrote: > > > > On Tuesday, May 24, 2016 at 1:42:35 PM UTC-7, Sayth Renshaw wrote: >> >> Of course though as Massimo cited all education

[web2py] Re: Web2py Added to Vinta's Awesome-Python

2017-02-01 Thread Michael M
My change has been merged. https://github.com/vinta/awesome-python/blob/master/README.md#web-frameworks -- 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) ---

[web2py] Re: Web2Py & Pycharm Debugger not working

2017-01-31 Thread Harold Sarmiento
I have merged my project Web2py to the last version, this causes the debug breakpoints does not work never more, if i return to my previous commit, the breakpoints work again, then seems to be a problem with the new versión of Web2py. I am using Eclipse Mars 2 Release (4.5.2) with Pydev

[web2py] Re: web2py 2.13.1 is OUT

2017-01-29 Thread Leonel Câmara
I guess we could add an option to exclude the databases folder too. -- 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

[web2py] Re: web2py 2.13.1 is OUT

2017-01-29 Thread Andrew Buchan
Thanks for the clarification. It makes sense to to use the same behaviour as a w2p file deploy, though it would be good if it said so somewhere, and also that this should only be used for first time deployments, accidentally point this to an app that already exists and you risk serious

[web2py] Re: Web2py Added to Vinta's Awesome-Python

2017-01-27 Thread Massimo Di Pierro
Thank you! On Tuesday, 24 January 2017 18:15:48 UTC-6, Michael Messmer wrote: > > Hello All, > > Just wanted to get Web2py some additional exposure out there. If y'all > could thumbs up my pull request it will get added. Thanks! > > https://github.com/vinta/awesome-python/pull/787 > > Also a

[web2py] Re: web2py 2.13.1 is OUT

2017-01-27 Thread Leonel Câmara
> I nerve-wrackingly went to submit the form, but it failed saying the username already exists - does this mean it even tries to register me? Yes it does register you for a free pythonanywhere account if you are not registered. This is meant to be a very easy way of getting your project

[web2py] Re: web2py 2.13.1 is OUT

2017-01-27 Thread Andrew Buchan
How does "allow deploying to pythonanywhere from the web2py admin that you're running locally" work...? There is no documentation I could find in the book, and the form doesn't say what it might do when I click submit, or where it might put the app (will it overwrite my app with the same

[web2py] Re: Web2PY MySQL DB connection and data retrieval

2017-01-19 Thread Dave S
On Wednesday, January 18, 2017 at 8:54:00 PM UTC-8, Sankhajit Das wrote: > > > > On Thursday, January 19, 2017 at 10:11:53 AM UTC+5:30, Sankhajit Das wrote: >> >> how can i store all the sqlite database in a variable? smbdy help me >> with full code pls >> > > > or how can i write all the

Re: [web2py] Re: Web2py app on Android/IOS with notifications

2017-01-19 Thread Gael Princivalle
>Or better yet, configure your web server to serve those files directly, without hitting web2py at all. Yes that's the better solution, thanks. -- Gael Princivalle 2017-01-17 20:20 GMT+01:00 Anthony : > On Tuesday, January 17, 2017 at 2:01:28 PM UTC-5,

[web2py] Re: Web2py diagram support for PyCharm

2017-01-18 Thread LoveWeb2py
This is an example of what I was referring to: http://www.jetbrains.com/help/pycharm/2016.2/viewing-model-dependency-diagram.html On Thursday, January 19, 2017 at 2:21:57 AM UTC-5, LoveWeb2py wrote: > > Hello, > > I noticed Django has a diagram builder in PyCharm, but web2py does not. > > It

[web2py] Re: Web2PY MySQL DB connection and data retrieval

2017-01-18 Thread Sankhajit Das
On Thursday, January 19, 2017 at 10:11:53 AM UTC+5:30, Sankhajit Das wrote: > > how can i store all the sqlite database in a variable? smbdy help me > with full code pls > or how can i write all the sqlite data in a text file??/ -- Resources: - http://web2py.com -

[web2py] Re: Web2PY MySQL DB connection and data retrieval

2017-01-18 Thread Sankhajit Das
how can i store all the sqlite database in a variable? smbdy help me with full code pls -- 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

[web2py] Re: Web2PY MySQL DB connection and data retrieval

2017-01-18 Thread Sankhajit Das
On Tuesday, January 17, 2017 at 8:14:01 PM UTC+5:30, Sankhajit Das wrote: > > hey. I have created a mysql database in my web2py app. >> > now i want to create another sqlite database such that whatever data i > enter > in sqlite database. it automatically gets copied in mysql database. > Pls

[web2py] Re: Web2PY MySQL DB connection and data retrieval

2017-01-17 Thread 黄祥
perhaps you can put delete() or truncate() function to delete data in database table in form accepts() or form accepted() function best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Web2PY MySQL DB connection and data retrieval

2017-01-17 Thread Sankhajit Das
how can we delete data automatically from a table in database after clicking submit button of a form in web2py -- 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

[web2py] Re: Web2PY MySQL DB connection and data retrieval

2017-01-17 Thread Dave S
On Tuesday, January 17, 2017 at 6:44:01 AM UTC-8, Sankhajit Das wrote: > > hey. I have created a mysql database in my web2py app. >> > now i want to create another sqlite database such that whatever data i > enter > in sqlite database. it automatically gets copied in mysql database. > Pls

[web2py] Re: Web2py app on Android/IOS with notifications

2017-01-17 Thread Anthony
On Tuesday, January 17, 2017 at 2:01:28 PM UTC-5, Gael Princivalle wrote: > > I mean: > https://www.mtbconnection.com/OneSignalSDKWorker.js > It's required to have this file on the root level. > I use a parametric router, do you know how I can do it? > > routers = dict( > BASE = dict( >

[web2py] Re: Web2py app on Android/IOS with notifications

2017-01-17 Thread Gael Princivalle
I mean: https://www.mtbconnection.com/OneSignalSDKWorker.js It's required to have this file on the root level. I use a parametric router, do you know how I can do it? routers = dict( BASE = dict( domains = { "www.mtbconnection.com" : "mtbconnection", } ),

[web2py] Re: Web2py app on Android/IOS with notifications

2017-01-17 Thread Anthony
On Tuesday, January 17, 2017 at 9:50:53 AM UTC-5, Gael Princivalle wrote: > > It's required to have the 3 SDK file accessible from the top level root. > See here at 2.3: > https://documentation.onesignal.com/docs/web-push-sdk-setup-https > > For an html file I know how to do it, but for json or js

[web2py] Re: Web2py app on Android/IOS with notifications

2017-01-17 Thread Gael Princivalle
Thanks Anthony, OneSignal seems a good solution. I took a look to the API. https://documentation.onesignal.com/reference Some examples: https://documentation.onesignal.com/reference#create-notification I'll try to use it also because it could be a simple all-around solution, when web push

[web2py] Re: Web2PY MySQL DB connection and data retrieval

2017-01-17 Thread Sankhajit Das
> > hey. I have created a mysql database in my web2py app. > now i want to create another sqlite database such that whatever data i enter in sqlite database. it automatically gets copied in mysql database. Pls somebody help me do ds with full code. -- Resources: - http://web2py.com -

[web2py] Re: Web2py app on Android/IOS with notifications

2017-01-16 Thread Leonel Câmara
You can do it using something like pyAPNs for iOS devices and python-gcm for android ones. I actually did it a while ago, and while it worked, I do not recommend it as I faced many problems in the beginning, and I would follow Anthony's suggestion nowadays. I will give you my code using these

[web2py] Re: Web2py app on Android/IOS with notifications

2017-01-15 Thread Anthony
You might consider a service like OneSignal (it's free). It's all client-side Javascript, so doesn't interact with web2py. Anthony On Sunday, January 15, 2017 at 9:15:29 AM UTC-5, Gael Princivalle wrote: > > Hello. > > There is a really interesting post about Web2py

[web2py] Re: Web2py not connect to Oracle DB (error DAL)

2016-12-29 Thread ratlionstasus
thank you all. Passed connection servise_name! HAPPY NEW YEAR! суббота, 24 декабря 2016 г., 6:58:42 UTC+3 пользователь ratlio...@gmail.com написал: > > good day. learn web2py. installed, configured server to connect to > orcle,but cannot connect through dal, with sqlplus connects fine. line

[web2py] Re: Web2py not connect to Oracle DB (error DAL)

2016-12-28 Thread ratlionstasus
Fixed a URI , but now get the error ORA-12162 суббота, 24 декабря 2016 г., 6:58:42 UTC+3 пользователь ratlio...@gmail.com написал: > > good day. learn web2py. installed, configured server to connect to > orcle,but cannot connect through dal, with sqlplus connects fine. line 116, > in the

[web2py] Re: Web2py not connect to Oracle DB (error DAL)

2016-12-28 Thread ratlionstasus
Sorry I test correct uri tooday, this my errors. Dal('oracle://user:password@sid') -- 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

[web2py] Re: Web2py not connect to Oracle DB (error DAL)

2016-12-28 Thread ratlionstasus
Database oracle 11.04 Connect uri: 'oracle://user/password@sid' Test any uri: 'oracle://user/password@ip :port/sid' Error! Cli python and sqlplus this connect string, connection Ok! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: Web2py not connect to Oracle DB (error DAL)

2016-12-28 Thread Massimo Di Pierro
we will need more details. what database? what is the URI string? On Friday, 23 December 2016 21:58:42 UTC-6, ratlionsta...@gmail.com wrote: > > good day. learn web2py. installed, configured server to connect to > orcle,but cannot connect through dal, with sqlplus connects fine. line 116, > in

[web2py] Re: web2py as Grafana endpoint

2016-12-13 Thread Dave S
On Monday, December 5, 2016 at 11:15:20 AM UTC-8, Dave S wrote: > > On Friday, December 2, 2016 at 5:53:46 PM UTC-8, Dave S wrote: >> >> >> >> On Friday, December 2, 2016 at 12:10:55 PM UTC-8, Dave S wrote: >>> >>> >>> >>> On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote:

Re: [web2py] Re: Web2py with ngix

2016-12-12 Thread Richard Vézina
Hello Boggy, Are you installing web2py over your own server or or cloud service? If it your own server can you details what you have done so far, are you trying to install web2py by hand or you use one the scripts provided with web2py? Richard On Sat, Dec 10, 2016 at 2:21 AM, J Boggy

Re: [web2py] Re: Web2py with ngix

2016-12-09 Thread J Boggy
thz i have been solved. Now other error is i cannot import some module althougn i have been installed and tested on python. But in web2py controller i can't import module -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

[web2py] Re: Web2py multiple table joins

2016-12-09 Thread Val K
Maybe try to replace db.auth_user.id with auth.user.id or just auth.user_id On Friday, December 9, 2016 at 9:13:27 AM UTC+3, mfarees...@gmail.com wrote: > > Hi > I want to write a query in web2py. The purpose of this query is to return > all users that belong to a user group specified in the

Re: [web2py] Re: Web2py with ngix

2016-12-09 Thread wish7code
https://github.com/web2py/web2py/issues/1545 Cheers Toby On Friday, 9 December 2016 02:32:58 UTC+1, Richard wrote: > > Could you link issue here? > > > Richard > > On Thu, Dec 8, 2016 at 5:03 PM, wrote: > >> I just posted an issue with uwsgi and

Re: [web2py] Re: Web2py with ngix

2016-12-09 Thread Richard Vézina
Yes, there were a lot of changes related to systemd as the way to init deamon as change a lot... Despite all the criticism about systemd, I found it a lot more simpler to write init (just a few lines of code) compare to the old /etc/init.d/ bash script file... Regards Richard On Fri, Dec 9,

Re: [web2py] Re: Web2py with ngix

2016-12-09 Thread Mirek Zvolský
Thanks, Richard. I have my Web2py fork and I will send PR in the future if I will know, what to improve. I have just now compared current Web2py script --vs-- version of script I have used (it was in my fork, but I have reinstalled without it) --vs-- configuration files on my well working

Re: [web2py] Re: Web2py with ngix

2016-12-08 Thread Richard Vézina
Could you link issue here? Richard On Thu, Dec 8, 2016 at 5:03 PM, wrote: > I just posted an issue with uwsgi and setup-web2py-nginx-uwsgi-ubuntu.sh to > the mailing list ( https://groups.google.com/forum/#!topic/web2py/U_ > GTzcdXdKE ) > This might possible be related..

[web2py] Re: Web2py with ngix

2016-12-08 Thread wish7code
I just posted an issue with uwsgi and setup-web2py-nginx-uwsgi-ubuntu.sh to the mailing list ( https://groups.google.com/forum/#!topic/web2py/U_GTzcdXdKE ) This might possible be related.. On Thursday, 8 December 2016 05:53:58 UTC+1, J Boggy wrote: > > Web2py with ngix start work well. > But

Re: [web2py] Re: Web2py with ngix

2016-12-08 Thread Richard Vézina
No problem... You maybe could post diff of your change, it would greatly help to understand what you change. Maybe it get rejected because it was applying for Debian only? Anyway thanks for your contribution, I just want to point you in the rigth direction to improve chance your work didn't get

Re: [web2py] Re: Web2py with ngix

2016-12-08 Thread Mirek Zvolský
Hi Richard. I'm beginner with Linux (upgrade from Windows to Linux was one of best steps in my professional life!). However at this time it is for me not good idea to write bash scripts for some complex product. In fact I made PR in this case (when I have added something from other post in

Re: [web2py] Re: Web2py with ngix

2016-12-08 Thread Richard Vézina
Hello Mirek, Your contribution is pretty much appreciate, but it would make more sens that you submit your improvements as a PR over github and then point other users over you fork or the PR pending acceptation our your commit once PR accepted... Thanks for your help Richard On Thu, Dec 8,

[web2py] Re: Web2py with ngix

2016-12-08 Thread Mirek Zvolský
One thing more In my opinion the service is controlled without ".service" in name. systemctl start emperor.uwsgi(if /etc/systemd/system/emperor.uwsgi.service used) systemctl start uwsgi(if the name is /etc/systemd/system/uwsgi.service as (maybe) in your 'digitalocean' article)

[web2py] Re: Web2py with ngix

2016-12-08 Thread Mirek Zvolský
And here is the version of script that I have used (I hope so) to install on my machine. So if you decide use the installation script setup-web2py-nginx-uwsgi-ubuntu.sh maybe you could try the version from current trunk github.com/web2py/web2py and as second one you can try this version:

[web2py] Re: Web2py with ngix

2016-12-08 Thread Mirek Zvolský
And this is the third file: -rw-r--r-- 1 root root /etc/systemd/system/emperor.uwsgi.service [Unit] Description = uWSGI Emperor After = syslog.target [Service] ExecStart = /usr/local/bin/uwsgi --ini /etc/uwsgi/web2py.ini RuntimeDirectory = uwsgi Restart = always KillSignal = SIGQUIT Type =

[web2py] Re: Web2py with ngix

2016-12-08 Thread Mirek Zvolský
On my working machine (Debian 8 Testing (systemd), nginx) I have installed with the script https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh but there was some problem or some missing code which I have found somewhere here in user group. I am not sure if

[web2py] Re: web2py as Grafana endpoint

2016-12-05 Thread Dave S
On Friday, December 2, 2016 at 5:53:46 PM UTC-8, Dave S wrote: > > > > On Friday, December 2, 2016 at 12:10:55 PM UTC-8, Dave S wrote: >> >> >> >> On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote: >>> >>> >>> >>> On Monday, November 28, 2016 at 11:11:48 PM UTC-8, Dave S wrote:

[web2py] Re: web2py as Grafana endpoint

2016-12-02 Thread Dave S
On Friday, December 2, 2016 at 12:10:55 PM UTC-8, Dave S wrote: > > > > On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote: >> >> >> >> On Monday, November 28, 2016 at 11:11:48 PM UTC-8, Dave S wrote: >>> >>> On Monday, November 28, 2016 at 3:23:59 PM UTC-8, Massimo Di Pierro >>>

[web2py] Re: web2py as Grafana endpoint

2016-12-02 Thread Dave S
On Thursday, December 1, 2016 at 12:15:50 AM UTC-8, Dave S wrote: > > > > On Monday, November 28, 2016 at 11:11:48 PM UTC-8, Dave S wrote: >> >> On Monday, November 28, 2016 at 3:23:59 PM UTC-8, Massimo Di Pierro wrote: >>> >>> response from web2py controller? web2py returns bytes. It is up to

[web2py] Re: web2py as Grafana endpoint

2016-12-01 Thread Dave S
On Monday, November 28, 2016 at 11:11:48 PM UTC-8, Dave S wrote: > > On Monday, November 28, 2016 at 3:23:59 PM UTC-8, Massimo Di Pierro wrote: >> >> response from web2py controller? web2py returns bytes. It is up to you to >> put utf8 or ascii in there. web2y does not care. >> >> >> > Okay, I

[web2py] Re: web2py as Grafana endpoint

2016-11-28 Thread Dave S
On Monday, November 28, 2016 at 3:23:59 PM UTC-8, Massimo Di Pierro wrote: > > response from web2py controller? web2py returns bytes. It is up to you to > put utf8 or ascii in there. web2y does not care. > > > Okay, I overrode the Content-Type header to remove the "charset: utf-8", and I set

[web2py] Re: web2py as Grafana endpoint

2016-11-28 Thread Massimo Di Pierro
response from web2py controller? web2py returns bytes. It is up to you to put utf8 or ascii in there. web2y does not care. On Monday, 28 November 2016 01:08:20 UTC-6, Dave S wrote: > > Any suggestions on how to force the response to ASCII instead of UFT-8? > > /dps > > > On Tuesday, November

[web2py] Re: web2py as Grafana endpoint

2016-11-27 Thread Dave S
Any suggestions on how to force the response to ASCII instead of UFT-8? /dps On Tuesday, November 22, 2016 at 11:36:27 PM UTC-8, Dave S wrote: > > > > On Thursday, November 17, 2016 at 11:09:27 PM UTC-8, Dave S wrote: >> >> >> >> On Thursday, November 17, 2016 at 2:38:57 PM UTC-8, Niphlod

[web2py] Re: web2py with IIS and Postgresql

2016-11-27 Thread Massimo Di Pierro
Can you access it from the shell. I would be surprised if there are no restrictions to connect to a remote prostgres. You may need a SSL tunnel. On Friday, 25 November 2016 22:11:41 UTC-6, Alvaro Diaz Valenzuela wrote: > > Hi, I have successfully installed web2py behind IIS on an Azure VM with

[web2py] Re: web2py and self-signed SSL certificates

2016-11-25 Thread andreas
I got a similar error after accessing my local Apache/Web2py site with https but on port 80 (port forwarding on VirtualBox machine). After changing the port to 443 (and the use of the apache VirtualHost directive for 443 including the ssl directives), everything works. I used the commands from

[web2py] Re: web2py as Grafana endpoint

2016-11-22 Thread Dave S
On Thursday, November 17, 2016 at 11:09:27 PM UTC-8, Dave S wrote: > > > > On Thursday, November 17, 2016 at 2:38:57 PM UTC-8, Niphlod wrote: >> >> if the request comes in either as a POST or as a PUT it has a body (since >> all examples report a faily nested query structure, I'd say it's the

Re: [web2py] Re: web2py react-python

2016-11-21 Thread Mark Graves
One other thing that popped into my head after reading Anthony's points about search engine indexing would be permanent URI views (theoretically), whereas with pure JS apps often my experience has been less than thrilling with the routing capacities. On Mon, Nov 21, 2016 at 3:41 PM, Anthony

[web2py] Re: web2py react-python

2016-11-21 Thread Anthony
On Monday, November 21, 2016 at 4:44:07 AM UTC-5, Leonel Câmara wrote: > > José a use case may be for graceful degradation when clients don't have > javascript. > The other typical use cases for server-side rendering are (a) support search engine indexing, and (b) faster rendering of the

Re: [web2py] Re: web2py react-python

2016-11-21 Thread José Luis Redrejo
Yes, thanks for the use case. I had not thought of that possibility. Nowadays it's weird to think of someone using a non-javascript ready browser. José L. 2016-11-21 12:59 GMT+01:00 Mark Graves : > Way better use case Leonel, thanks =) > > On Mon, Nov 21, 2016 at 3:44 AM,

[web2py] Re: web2py remote access

2016-11-21 Thread Jim S
What installation method did you use? How are you starting web2py? Is it running on port 80? -Jim On Monday, November 21, 2016 at 9:42:54 AM UTC-6, Mark C wrote: > > Hello. I've installed web2py on rhel 6 and have successfully connected to > the admin interface (ssh tunneling), but was

Re: [web2py] Re: web2py react-python

2016-11-21 Thread Mark Graves
Way better use case Leonel, thanks =) On Mon, Nov 21, 2016 at 3:44 AM, Leonel Câmara wrote: > José a use case may be for graceful degradation when clients don't have > javascript. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > -

[web2py] Re: web2py react-python

2016-11-21 Thread Leonel Câmara
José a use case may be for graceful degradation when clients don't have javascript. -- 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

[web2py] Re: web2py as Grafana endpoint

2016-11-17 Thread Dave S
On Thursday, November 17, 2016 at 2:38:57 PM UTC-8, Niphlod wrote: > > if the request comes in either as a POST or as a PUT it has a body (since > all examples report a faily nested query structure, I'd say it's the case > vs a simple querystring in a GET) > > If the body carries the correct

[web2py] Re: web2py as Grafana endpoint

2016-11-17 Thread Niphlod
if the request comes in either as a POST or as a PUT it has a body (since all examples report a faily nested query structure, I'd say it's the case vs a simple querystring in a GET) If the body carries the correct content-encoding, it's automatically parsed into request.vars. You can still

[web2py] Re: web2py with DB2/Os400

2016-11-08 Thread António Ramos
solved... http://ochiba77.blogspot.pt/2011/09/how-to-connect-db2-with-python-pyodbc.html 2016-11-08 15:28 GMT+00:00 António Ramos : > Any guidelines working with os400/db2 ? > regards > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: web2py for windows server. IIS or Nginx?

2016-11-03 Thread Niphlod
IIS and ISAPI --> helicon ? AFAIK it was the "old" standard. When Azure eventually moved to support python web apps, smart guys at MS implemented the - until that moment - missing link to run natively a fastcgi python process speaking with IIS through the "same interface" that runs any other

Re: [web2py] Re: web2py for windows server. IIS or Nginx?

2016-11-02 Thread Pbop
We built a SHIB SSO and OAUTH SSO middleware in web2py that handles 1000+ concurrent users with very good results in IIS and ISAPI running a WSGI wrapper ala the cookbook instructions. I hear IIS and FastCGI and wonder if this is a better deployment option? Are you aware of any advantages of

Re: [web2py] Re: web2py for windows server. IIS or Nginx?

2016-11-02 Thread Niphlod
it's from some time ago but should work without issues. I think some improvements have been made regarding wfastcgi availability as a proper package, but in any case, I'm here to help (and maybe we can revisit the segment on the book with your experience). : should be "verbatim" but

Re: [web2py] Re: web2py for windows server. IIS or Nginx?

2016-11-02 Thread Omi Chiba
OK! I failed last time but it worth try again. I will follow the book try it later. http://www.web2py.com/books/default/chapter/29/13/deployment-recipes?search=iis#IIS On Wednesday, November 2, 2016 at 3:43:37 AM UTC-5, Niphlod wrote: > > *nix --> nginx with uwsgi > windows --> iis with fastcgi

<    5   6   7   8   9   10   11   12   13   14   >