Re: [web2py] Re: py4web has now a grid ...

2019-10-05 Thread sandeep patel
@Massimo,

Grid not working properly, Only seeing a blank page.
Please, Give me some direction.



Thanks
Sandeep



On Mon, Sep 16, 2019 at 2:49 AM isi_jca 
wrote:

> Hi!
>
> This is output from console and the browser is Google Chrome Versión
> 66.0.3359.181 (Build oficial) (64 bits)
>
> [jalbornoz@QuoVadis ~]$ ./py4web.sh
>
> ██╗ ██╗   ██╗██╗  ██╗██╗██╗███╗██╗
> ██╔══██╗╚██╗ ██╔╝██║  ██║██║██║██╔╝██╔══██╗
> ██╔╝ ╚╔╝ ███║██║ █╗ ██║█╗  ██╔╝
> ██╔═══╝   ╚██╔╝  ╚██║██║███╗██║██╔══╝  ██╔══██╗
> ██║██║██║╚███╔███╔╝███╗██╔╝
> ╚═╝╚═╝╚═╝ ╚══╝╚══╝ ╚══╝╚═╝
> It is still experimental...
>
> assets-folder:
> /home/jalbornoz/py4web-env/lib64/python3.7/site-packages/py4web/assets
> Choose a one-time dashboad password:
> Dashboard is at: http://127.0.0.1:8000/_dashboard
> [X] loaded _dashboard
> [X] loaded _default
> [X] loaded MyFirstApp
> Bottle v0.12.17 server starting up (using TornadoServer())...
> Listening on http://127.0.0.1:8000/
> Hit Ctrl-C to quit.
>
> WARNING:tornado.access:404 GET /favicon.ico (127.0.0.1) 1.93ms
> WARNING:tornado.access:404 GET /_dashboard/static/favicon.ico (127.0.0.1)
> 1.59ms
> WARNING:tornado.access:404 GET /MyFirstApp/static/favicon.ico (127.0.0.1)
> 1.18ms
> WARNING:tornado.access:404 GET /_default/static/favicon.ico (127.0.0.1)
> 0.92ms
> Titulo Grilla
>
>
>
>
> El domingo, 15 de septiembre de 2019, 14:13:41 (UTC-3), Massimo Di Pierro
> escribió:
>>
>> what bowser? any console error? what do you see in the page source?
>>
>> On Saturday, 14 September 2019 15:15:18 UTC-7, isi_jca wrote:
>>>
>>> Hi Massimo:
>>>
>>> When I try the example I only watch a page blank. Why?
>>>
>>> Best Regards
>>>
>>> El jueves, 12 de septiembre de 2019, 3:31:36 (UTC-3), Massimo Di Pierro
>>> escribió:

 ... it is incomplete. It is experimental. The API is subject to change.
 But I could use some community feedback:

 from py4web.utils.publisher import Publisher, ALLOW_ALL_POLICY


 # exposes services necessary to access the db via ajax
 publisher = Publisher(db, policy=ALLOW_ALL_POLICY)


 # expose as /examples/grid
 @action('grid')
 @action.uses('grid.html')
 def example_grid():
  return dict(grid=publisher.grid(db.person))

 embed in template with [[=grid]] in templates/grid.html as in web2py.
 The difference from web2py is that the grid communicate with the server
 via ajax and the style is in static/components/mtable.html
 Still does not access authentication based access control but will add
 it very soon.

 You can try it.

 https://github.com/web2py/py4web/blob/master/apps/examples/__init__.py#L41

>>> --
> 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/ae5df04c-e27a-4a94-b2e8-6c8158c01107%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 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/CA%2BvcePWZPYi%2BJLproiS1CQcmB7we%2BhyMPX86jUjEE%2BsxvEJ2MQ%40mail.gmail.com.


[web2py] How to set upup for my site

2019-10-05 Thread sesoa sesoa
I'm trying to give my site that PWA feel by integrating the offline 
functionality into it and i found out that i can use upup to achieve this 
but i don't know how to set it up on web2py. If possible can i get an 
example from anyone who understands how or anyone who has used it?

Thank you

SS

-- 
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/5e7fa5bf-8fd3-4caf-93b5-432c0704221e%40googlegroups.com.


[web2py] Re: Dropzone app thumbnail error in web2py appliances

2019-10-05 Thread dirman
i really need help on this

On Wednesday, October 2, 2019 at 10:15:37 AM UTC, dirman wrote:
>
>  'utf8' codec can't decode byte 0xb7 
> in position 0: invalid start byte
>
> Getting the above error as thumbnails are not showing. what could be the 
> issue?
>

-- 
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/88e0c5db-6155-46e9-8a76-fbd96c33663d%40googlegroups.com.