Re: [web2py] Re: IIS 8.5 static file using rewrite problem

2015-08-18 Thread Niphlod
following the recipe on the book. http://web2py.com/books/default/chapter/29/13/deployment-recipes#IIS On Tuesday, August 18, 2015 at 10:07:15 PM UTC+2, Dmitri Ermolaev wrote: > > how you start web2py under IIS ? > > 2015-08-18 11:07 GMT+03:00 Remco Boerma > >: > >> >> -- Resources: - http:

[web2py] Re: web2py exe

2015-08-18 Thread Massimo Di Pierro
if you simply click on web2py.exe. What do you see? You see a dashboard with [start server] button. If you do not see that can you give us more details abut the windows version? On Friday, 14 August 2015 13:37:11 UTC-5, web2py newbie wrote: > > Hi > > I recently started coding a python app and

[web2py] Re: web2py exe

2015-08-18 Thread Dave S
On Friday, August 14, 2015 at 12:21:01 PM UTC-7, Derek wrote: > > start it from the command line, what do you see? > Doesn't using -S imply he was using the command line? I would expect that there is a window where the "stop" button lives ... is that present? a bare 127.0.0.1:8000, for me, d

[web2py] Re: 2.12.1 is out

2015-08-18 Thread Massimo Di Pierro
2.12.3 is out and fixes this problem. On Tuesday, 18 August 2015 04:57:17 UTC-5, Massimo Di Pierro wrote: > > Apologies. Will post a new version asap. > > On Monday, 17 August 2015 10:02:36 UTC-5, Niphlod wrote: >> >> due to bad commit >> https://github.com/web2py/web2py/commit/e95115deb401552d1

[web2py] Re: Start web2py with different python version

2015-08-18 Thread LoveWeb2py
Hi Massimo, Ultimately your answer put me on the right track. Here is what I did to get it to work: https://www.fir3net.com/Programming/Python/how-do-i-compile-modwgsi-for-python-27.html Thank you so much! On Tuesday, August 18, 2015 at 6:42:18 PM UTC-4, Massimo Di Pierro wrote: > > Does this

[web2py] Re: Start web2py with different python version

2015-08-18 Thread Massimo Di Pierro
Does this help? http://stackoverflow.com/questions/6450459/mod-wsgi-and-multiple-installations-of-python On Tuesday, 18 August 2015 16:30:29 UTC-5, LoveWeb2py wrote: > > Hi Massimo, > > Thank you so much for your reply. I checked through all .conf files and > the only references it makes to any

[web2py] Re: Start web2py with different python version

2015-08-18 Thread LoveWeb2py
Hi Massimo, Thank you so much for your reply. I checked through all .conf files and the only references it makes to any type of python is the wsgi config. I'm using the default wsgi handler that web2py comes with. Is there anything else it could be? On Sunday, August 16, 2015 at 4:24:28 PM UTC

[web2py] Re: how to use validate_and_update?

2015-08-18 Thread K.J. Pamio
I solved the problem by filtering only the fields that have changed in form. Before I was sending all fields for validation, which caused the inconvenience. Thanks Em terça-feira, 18 de agosto de 2015 05:57:10 UTC-3, K.J. Pamio escreveu: > > Hi, > I do not understand the functioning of vali

Re: [web2py] Re: IIS 8.5 static file using rewrite problem

2015-08-18 Thread Dmitri Ermolaev
how you start web2py under IIS ? 2015-08-18 11:07 GMT+03:00 Remco Boerma : > Solved. > > While gathering information about my setup I found the solution. > > Setting "Default web site > Authentication > Anonymous Authentication > (keep enabled) " to "Application Pool Identity" solved my issue

[web2py] Re: creating a taggable post with upload field

2015-08-18 Thread Jaime Sempere
I have just checked a side project that I did today, and noticed that I wasnt able to see the pic either. I have been able to fix it using the upload field: form = SQLFORM(db.person, record, upload=URL('download')) I simply added that : upload=URL('download') to my SQLFORM() syntax and it wo

[web2py] Re: GAE unicodeDecodeError: 'ascii' codec can't decode byte... unable to fix it

2015-08-18 Thread Jaime Sempere
Hi, thanks a lot for the help Paollo, I have tried that but the error is still there with the development version. But... I have been able to 'fix it' I went to _compat.py line 27 and just print the obj: if not isinstance(obj, unicode): print obj return uni

[web2py] creating a taggable post with upload field

2015-08-18 Thread Carlos Cesar Caballero Díaz
Hi, I am creatig a blog app and I am having a problem with the grid, when I create or update a post, the post image is never visible in the form (the form show that there is no image), but everything is ok in the db, I supouse that is something related with the code for tagging, there is my vie

[web2py] problem with custom widget for list:reference

2015-08-18 Thread Carlos Cesar Caballero Díaz
Hi, I am working in a media galley plugin, and I need to create a custom widget for a list:reference field, but allways throws a "Validation error, field:media 0x7f402c1b2410>" error, someone have an example? a simple text field with |1|3|22| or something similar will work. -- Este mensaje le

[web2py] Re: Is there any alternative to Pythonanywhere hosting?

2015-08-18 Thread Glenn Jones
That sounds like you are connecting to the database, you're just not seeing the data you expect. How did you transfer the data from sqlite to MySQL? On Tuesday, 18 August 2015 10:14:54 UTC+1, Joe wrote: > > Hi Glenn, Yes, that's me. > Of course, I would be happy if you could help me out here as

[web2py] Re: 2.12.1 is out

2015-08-18 Thread Massimo Di Pierro
Apologies. Will post a new version asap. On Monday, 17 August 2015 10:02:36 UTC-5, Niphlod wrote: > > due to bad commit > https://github.com/web2py/web2py/commit/e95115deb401552d122ff06c3482c264e02eaf32 > > multi-groan :P > > On Monday, August 17, 2015 at 4:41:25 PM UTC+2, Paolo Valleri wr

[web2py] Re: Unable to send mail in web2py

2015-08-18 Thread Sai Harsh Tondomker
Now it's giving this error after removing line mail.settings.tls = False WARNING:web2py:Mail.send failure:(534, '5.7.14

[web2py] Re: IIS 8.5 static file using rewrite problem

2015-08-18 Thread Remco Boerma
I've uploaded a video demonstrating the installation I did which works quite well. it's far from perfect as a video and demonstration, but all the tinkering is in there, i think it matches your setup quite well. https://www.youtube.com/watch?v=gxOhsThD0FY Op dinsdag 18 augustus 2015 10:43:55

[web2py] Re: Is there any alternative to Pythonanywhere hosting?

2015-08-18 Thread Joe
Hi Glenn, Yes, that's me. Of course, I would be happy if you could help me out here as well! Thanks very much, I appreciate it! On Tuesday, August 18, 2015 at 4:56:54 PM UTC+8, Glenn Jones wrote: > > Hi Joe, > > PythonAnywhere dev here (glenn on the Forums). Are you the guy I was > talking to i

[web2py] how to use validate_and_update?

2015-08-18 Thread Kayro
Hi, I do not understand the functioning of validate_and_update . I'm doing the following: ret = db(db.auth_user.id==id_user).validate_and_update( first_name=first_name, last_name=last_name, username=user, password=psw, email=email) And validation is returning the username and

[web2py] Re: Is there any alternative to Pythonanywhere hosting?

2015-08-18 Thread Glenn Jones
Hi Joe, PythonAnywhere dev here (glenn on the Forums). Are you the guy I was talking to in the forum thread titled "Web2py app connecting to mysql database"? If you are, do you mind if I chime in to this with some of the details we worked out to give the web2py guys a little more to work on? O

[web2py] Re: Proposal: Documentation in form of a wiki

2015-08-18 Thread Niphlod
as long as he commits to support it for at least 2 years, go for it. Sorry but I'll stick to publish whatever recipe on web2pyslices.com for the moment. On Monday, August 17, 2015 at 11:39:45 PM UTC+2, Jaime Sempere wrote: > > I like the idea. I think we would need something like web2pyslices bu

[web2py] Re: IIS 8.5 static file using rewrite problem

2015-08-18 Thread Niphlod
didn't quite get if it's an error on the recipe (which I can't replicate, since it's my standard tried several times setup) or your "slightly changed recipe" was the cause of the error. On Tuesday, August 18, 2015 at 10:07:21 AM UTC+2, Remco Boerma wrote: > > Solved. > > While gathering informa

[web2py] Re: Is there any alternative to Pythonanywhere hosting?

2015-08-18 Thread Joe
The issue is that when I connect the app to the mysql and I check the database administration interface, the tables are all there as expected, but all the records are missing. The app was uploaded to Pyuthonanywhere using sftp because Pythonanywhere has a app size limit for the admin interface

[web2py] Re: IIS 8.5 static file using rewrite problem

2015-08-18 Thread Remco Boerma
Solved. While gathering information about my setup I found the solution. Setting "Default web site > Authentication > Anonymous Authentication (keep enabled) " to "Application Pool Identity" solved my issue. Here's a few tags and keywords for future reference when someone else bumps into