[web2py] web2py with python 2.7 and web2py running on python 3

2020-03-14 Thread Andrea Fae'
Is it possible to have 2 differents environment on the same PC?
web2py running python2.7 and web2py running ppython 3 separated...?
Thank you 

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/81ed4136-3600-49a9-8e7b-d6cda7a813c5%40googlegroups.com.


[web2py] 6th book release

2020-03-14 Thread Andrea Fae'
What are the differences between 5th book release and 6th online book 
prerelease?
thank you

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/67015dda-37b1-44a4-8dc1-890e7b0b3f83%40googlegroups.com.


Re: [web2py] py4web in Google App Engine route app

2020-03-14 Thread Jacinto Parga
Yes. I've created a new application that is the only one I want to serve. 
In that case how can I  do in py4web the same thing I do with routes.py in 
web2py

Thanks

El lunes, 10 de febrero de 2020, 7:07:02 (UTC+1), Massimo Di Pierro 
escribió:
>
> Your .gitcloudignore appears to be ignoring all of the apps:
>
> apps/filemanager
> apps/filemanager/*
> apps/todo
> apps/todo/*
> apps/examples
> apps/examples/*
> apps/_dashboard
> apps/_dashboard/*
> apps/_scaffold
> apps/_scaffold/*
> apps/_minimal
> apps/_minimal/*
> apps/_default
> apps/_default/*
> apps/_documentation/*
> apps/superheroes
> apps/superheroes/*
>
>
>
> On Wednesday, 5 February 2020 12:38:56 UTC-8, Jacinto Parga wrote:
>>
>> No, thanks.
>>
>> Finally it was a problem with the .gcloudignore
>>
>> I had to get rid off every app but the one I wanted to deploy and the 
>> other unneccesary files to the GAE. The only thing left is that I need to 
>> add the name of the application to route the main domain to the proper app.
>>
>> This is my .gcloudignore
>> # This file specifies files that are *not* uploaded to Google Cloud 
>> Platform
>> # using gcloud. It follows the same syntax as .gitignore, with the 
>> addition of
>> # "#!include" directives (which insert the entries of the given 
>> .gitignore-style
>> # file at that point).
>> #
>> # For more information, run:
>> #   $ gcloud topic gcloudignore
>> #
>> .gcloudignore
>> # If you would like to upload your .git directory, .gitignore file or 
>> files
>> # from your .gitignore file, remove the corresponding line
>> # below:
>> .git
>> .gitignore
>>
>> #Ojo no se puede quitar requirements.txt
>>
>> # Python pycache:
>> __pycache__/
>> # Ignored by the build system
>> /setup.cfg
>>
>> .travis.yml
>> *.pyc
>> *.pyo
>> *~
>> #*
>> *.1
>> *.bak
>> *.bak2
>> *.svn
>> *.w2p
>> *.class
>> *.rej
>> *.orig
>> Thumbs.db
>> .DS_Store
>> ./deposit
>> ./benchmark
>> ./build
>> ./dist
>> ./ssl
>> ./docs
>> ./logs
>> ./*.zip
>> !apps/*
>> apps/filemanager
>> apps/filemanager/*
>> apps/todo
>> apps/todo/*
>> apps/examples
>> apps/examples/*
>> apps/_dashboard
>> apps/_dashboard/*
>> apps/_scaffold
>> apps/_scaffold/*
>> apps/_minimal
>> apps/_minimal/*
>> apps/_default
>> apps/_default/*
>> apps/_documentation/*
>> apps/superheroes
>> apps/superheroes/*
>> apps/*/databases/README*
>> pps/*/databases/*
>> apps/*/uploads/*
>> apps/*/*.py[oc]
>> packages/
>> deployment_tools/*
>> deployment_tools/
>> tests/*
>> tests/
>> README.md
>> test-requirements.txt
>> source-context.json
>> password.txt
>> py4web-start.py
>> setup.py
>>
>>
>> And I'm using the default app.yaml may be this is the problem
>>
>> runtime: python37
>>
>>
>> # Handlers define how to route requests to your application.
>> handlers:
>>
>> - url: .*  # This regex directs all routes to main.bottle
>>   script: auto
>>
>> So I had to write  the name of the application in the navigation bar: 
>>
>> https://myapplication.appspot.com/*aplicationname*
>>
>> In other case I get a not found page.
>>
>> And it goes very very slow, it is only a login page.
>>
>> Some help?
>>
>>
>>
>> El martes, 4 de febrero de 2020, 20:09:59 (UTC+1), Christian Varas 
>> escribió:
>>>
>>> Hi I haven’t tried GAE but maybe is the controller.
>>>
>>> Are you using the decorator ’action()’ to expose the function ?.
>>>
>>> Ex:
>>> @action('some_name')
>>> def some_function():
>>>
>>>   return locals()
>>>
>>> Then you acces like http://IP/your_app/some_name
>>>
>>> Cheers.
>>> Chris.
>>>
>>> El El mar, 4 de feb. de 2020 a la(s) 15:46, Jacinto Parga <
>>> jpa...@gmail.com> escribió:
>>>
 I cannot properly deploy a simple py4web app in GAE. I think it's just 
 a .gcloudignore or a app.yaml configuration issue. The only thing I've got 
 is a not found page.

 [image: minimal-py4web.png]

 Some help about how to route the right app in the google app engine?

 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 subscribed to the Google 
 Groups "web2py-users" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to web...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/web2py/a7ba6f1c-2c53-4f30-8197-9c0b51d3229d%40googlegroups.com
  
 
 .

>>>

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this 

[web2py] Re: web2py broken with Python 3.8

2020-03-14 Thread villas
Hi Jim
I think you are understanding it correctly, there isn't enough explicit 
info to give you enough reassurance.about moving to 3.8.  I do not use 3.8 
myself, but if Massimo says it works, then I assume it now does, but you 
still have to test your own app in your own environment.  As you say, 
hopefully any 3.8 users might chip in here with something more specific.  I 
usually check the Github issues if I'm concerned about general bugs.

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/9eb26cc5-7824-4ceb-a735-0f7d511df51f%40googlegroups.com.