[web2py] Re: install js package to web2py

2018-02-10 Thread 黄祥
i think, it's depend where do you installed it (global or not), assuming you follow the instruction on github and execute npm install nipplejs --save in folder static then in your view, you define the path on that folder e.g. not tested views/default/index.html best regards, stifan --

[web2py] Re: About Rest API uploads (again)

2018-02-10 Thread Massimo Di Pierro
what's cgi.py? What web server are you using? On Sunday, 4 February 2018 22:16:04 UTC-6, marco mansilla wrote: > > Hi everyone, this is something that has been asked several times and still > there's no specific solution. > > I need to upload files by using a Rest API, so far I know we have nice

[web2py] Re: Just a silly thread to say... thanks to all web2py developers team

2018-02-10 Thread Massimo Di Pierro
Well. thank you. It means a lot to all of us. On Friday, 9 February 2018 03:42:10 UTC-6, Jaime Sempere wrote: > > Hi, > > this is gonna sound a littile silly, but I have been wanting to publish a > thread like this from years ago. > > I just wanna say to Massimo and all the web2py developers

[web2py] Re: only static files forbidden on centos 7.4 apache 2.4

2018-02-10 Thread 黄祥
better use nginx to serve web2py, found a lot of problem when using apache with web2py best regards, stifan -- 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: query to match if boolean field is not True

2018-02-10 Thread Massimo Di Pierro
I would expect that too but it is not a web2py issue. It is a database issue. web2py simply translate those in NOT mytable.boolean_field = 'T' On Tuesday, 6 February 2018 17:32:44 UTC-6, David Zejda wrote: > > Hi :) > > Intuitively I would expect that these queries are equivalent ways to match

[web2py] Re: PYTHON 3

2018-02-10 Thread Massimo Di Pierro
Let's be clear web2py supported python3 for some time thanks to you, Paolo, and many others. Support is getting betters. yet one needs web2py apps written in python 3 to run with web2py on python 3. Apps written for python 2 will not work without some refactoring. On Saturday, 10 February

[web2py] Re: web2py_osx.zip seems way out of date ???

2018-02-10 Thread Massimo Di Pierro
OK. will update as soon as we release a new version. On Wednesday, 7 February 2018 21:55:28 UTC-6, jim kaubisch wrote: > > Just to clarify, the web2py.app file in the "mac_osx.zip" is the one that > looks to be out of date > > On Wednesday, February 7, 2018 at 10:47:19 AM UTC-8, jim kaubisch

Re: [web2py] Re: About Rest API uploads (again)

2018-02-10 Thread Marco Mansilla
Firefox, and same error pops on Chrome, I'm using the default development server included un web2py. For now I worked around this by storing images as blobs. El 11 feb. 2018 01:43, "Massimo Di Pierro" escribió: > what's cgi.py? What web server are you using? > > On

[web2py] Re: Should I use the menu helper for this?

2018-02-10 Thread Massimo Di Pierro
I would recommend you do it manually. replace{{=MENU}} with {{for item in menu:}} {{=item[0]}} {{pass}} On Monday, 5 February 2018 12:25:26 UTC-6, LoveWeb2py wrote: > > > Hello, > > response.side_menu = [ > (T('First Section'), False, URL('#'),[ > (SPAN('Section 1a'), False,

[web2py] Re: Help with MSSQL Connection

2018-02-10 Thread Massimo Di Pierro
you may have multiple versions of python installed. On Wednesday, 1 July 2015 14:50:49 UTC-5, JC wrote: > > Hello > I had a similar problem, causes by 2 things: 1- sql configuration was > wrong. 2- I need to specify the path fro the pyodbc location. > Hope this help you > > > On Tuesday,

[web2py] install js package to web2py

2018-02-10 Thread Mario Breški
Hi all, I'm noob still in web programming and in web2py so I'm stuck here. I want to add virtual joystick button to my page and I find out about the stuff on github. I don't know how to implement that to my web2py application. Any help would have been appriciated

Re: [web2py] Re: About Rest API uploads (again)

2018-02-10 Thread Marco Mansilla
I'll try on apache and Nginx asap. El 11 feb. 2018 01:46, "Marco Mansilla" escribió: > Firefox, and same error pops on Chrome, I'm using the default development > server included un web2py. > > For now I worked around this by storing images as blobs. > > El 11 feb. 2018

[web2py] Re: Web2py scheduler

2018-02-10 Thread Massimo Di Pierro
Please install and use psycopg2. There are known issues with pg8000. On Tuesday, 6 February 2018 08:17:51 UTC-6, Simona Chovancová wrote: > > solved, ran worker in different application than the task was sent from > > On Tuesday, February 6, 2018 at 2:34:24 PM UTC+1, Simona Chovancová wrote: >>

[web2py] Re: Demo site pointed from About page is not working

2018-02-10 Thread Massimo Di Pierro
It means it cannot even save the ticket because no write access to the filesystem. On Tuesday, 6 February 2018 13:53:08 UTC-6, Marcelo Huerta wrote: > > The about page of the main web2py site ( > http://web2py.com/init/default/what) points to a demo page at > http://www.web2py.com/demo_admin,

[web2py] Re: only static files forbidden on centos 7.4 apache 2.4

2018-02-10 Thread lucas
better use nginx to serve web2py, found a lot of problem when using apache with web2py is it really much much better? in what ways? why would I change? Lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Intersection of rows

2018-02-10 Thread Dave S
On Friday, February 9, 2018 at 5:26:35 PM UTC-8, Anthony wrote: > > Anyway, given your code, it looks like we would not expect any results in >>> the intersection of the two Rows objects, as the conditions of each query >>> are mutually exclusive (i.e., "waypoint" either equals X or Y). Of

[web2py] Re: Intersection of rows

2018-02-10 Thread Anthony
> > segq1 = db.segment.waypoint.contains(request.args[0]) > segq2 = db.segment.waypoint.contains(request.args[1]) > runs1 = db((db.run.id == db.segment.partof) & segq1).select("run.id", > "run.description", "run.distance","run.duration", orderby = db.run.id|db. > run.duration,

[web2py] only static files forbidden on centos 7.4 apache 2.4

2018-02-10 Thread lucas
hey all, setting up a new server on centos 7.4 and apache 2.4. web2py is running fine for i get the welcome content but none of the files under static are coming down to the client. please makes suggestions. thank you. lucas here is my default.conf file where you'll see i've tried a bunch

[web2py] Re: PYTHON 3

2018-02-10 Thread Leonel Câmara
It has already happened. Web2py does support python 3, if you see all the latest commits in the github repository have been to fix python 3 issues as obviously it hasn't been tested as much as python 2.7. Problems you have due to python 3 are considered web2py bugs so it's definitely supported.

[web2py] PYTHON 3

2018-02-10 Thread LoveWeb2py
Need to know if this is actually going to be happening soon. We're making critical design choices now and will be implementing next month. We currently use web2py, but obviously it doesn't support python3. PS: For the love of all that's holy, please don't name it web3py. Web2py v3 makes