Re: [web2py] Re: vue.js

2017-02-26 Thread St. Pirsch
s for web2py on the > model and changed all of the views accordingly. I left the delimiters for > vuejs as default ('{{' '}}') > > regards, > > John > > On Monday, January 30, 2017 at 10:24:25 AM UTC+1, St. Pirsch wrote: >> >> Hello John, >> Wou

Re: [web2py] Re: vue.js

2017-01-30 Thread St. Pirsch
Hello John, Would you mind sharing your solution? Thx, Stephan -- 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

Re: [web2py] Re: vue.js

2017-01-27 Thread St. Pirsch
It seems, the problem is that the server doesn't send anything back when you're doing a query, f.i. search?q=Game Am Freitag, 27. Januar 2017 20:35:28 UTC+1 schrieb Val K: > > Vue delimiters are configurable too! > @scaffold /static >

[web2py] Form submission randomly not working

2016-12-10 Thread St. Pirsch
Hi, I am experiencing form submission is occasionally not working. There is no error whatsoever, form entries get cleared. It seems to getting better with cache disabled, but maybe it's just an impression. model: db.define_table('teilnehmer', Field('vorname', label=T('Name')),

Re: [web2py] vue.js

2016-10-16 Thread St. Pirsch
Fields a populated correctly but any queries in the scaffolding app return "Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)" Does the app need to be preconfigured in any way ? Am Dienstag, 11. Oktober 2016 16:59:11 UTC+2 schrieb Marlysson Silva: > >

[web2py] Search on list:reference tables with SQLFORM.Grid

2016-09-27 Thread St. Pirsch
I am coming back to this topic for a second time since I couldn’t get an answer last time and it would facilitate things a lot for me: The SQLFORM.Grid has a very sophisticated filter system to make queries over selected tables easy. It seems, however, that it is actually not possible to

[web2py] Re: SQLFORM.grid: search in a list:reference field does not work

2016-09-15 Thread St. Pirsch
Although there is a "in", "contains" and "not in" now in the grid search operator field, 'list:reference' - fields are not listed in the table columns dropdown. Will it be possible to employ such operations with the grid widget? Am Dienstag, 5. April 2016 03:57:53 UTC+2 schrieb Massimo Di

[web2py] Re: SQLFORM.grid: search in a list:reference field does not work

2016-08-11 Thread St. Pirsch
Hello, has this already been updated. It seems that in the current version it is still not possible. Is there a way to enable it by altering sqlhtml.py for instance? Would be very helpful to use this feature. Thanks, Stephan Am Dienstag, 5. April 2016 03:57:53 UTC+2 schrieb Massimo Di Pierro:

Re: [web2py] Re: python process consumes 100% cpu

2016-08-01 Thread St. Pirsch
6 um 06:08 Uhr: > That's good to know. You could take a look at this page: > https://www.python.org/download/mac/tcltk/ to understand if there are > Tcl/Tk issues related to your environment. This may solve the CPU issue ... > am not sure. > > > On Sunday, July 31, 2016 at 8:50:0

Re: [web2py] Re: python process consumes 100% cpu

2016-07-31 Thread St. Pirsch
> Kiran Subbaramanhttp://subbaraman.wordpress.com/about/ > <http://www.google.com/url?q=http%3A%2F%2Fsubbaraman.wordpress.com%2Fabout%2F=D=1=AFQjCNGCNBQZT62ec1gGm9BQ3W8oY8hVzA> > > On Sun, 31-07-2016 5:17 PM, St. Pirsch wrote: > > Yes, I'm running from source stp$ python2.7 > /Users/

[web2py] Re: python process consumes 100% cpu

2016-07-31 Thread St. Pirsch
: 167, CPU Time: 40:31,72 process changes: 216261 Errors: 10123684 Mach Syscalls: 63753 Unix syscalls: 187562 Am Samstag, 30. Juli 2016 20:22:17 UTC+2 schrieb St. Pirsch: > > Hi all, > running web2py.py 2.14.6 on a mac 10.11.6 gets me constantly a 100% cpu > usage on python. Is this a

[web2py] Re: python process consumes 100% cpu

2016-07-31 Thread St. Pirsch
Yes, I'm running from source stp$ python2.7 /Users/stp/Sites/web2py/web2py.py Am Sonntag, 31. Juli 2016 08:40:58 UTC+2 schrieb Massimo Di Pierro: > > Not a known issue. Do you have the same problem if you run from source? > > On Saturday, 30 July 2016 13:22:17 UTC-5, St. Pirsch wro

[web2py] python process consumes 100% cpu

2016-07-30 Thread St. Pirsch
Hi all, running web2py.py 2.14.6 on a mac 10.11.6 gets me constantly a 100% cpu usage on python. Is this a known issue & is there a solution? Thanks - Stephan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Translation of the Online Book (to German) and general question about how to translate Wiki Pages

2016-01-04 Thread St. Pirsch
There is a good tutorial in the web2py cookbook: https://books.google.de/books?id=cwjpG47z_7IC=frontcover=de=gbs_ge_summary_r=0#v=onepage=false Chapter "Using cookies to set the language"

[web2py] Markmin best practices

2015-10-04 Thread St. Pirsch
I have some noob questions on how to use Markmin correctly: Is there a way to link pictures within markmin, i.e. to produce ? I noticed that anchors get the prefix "markmin-" automatically. I guess there is a concept behind this decision, but I do not see the reason & is there a way to

[web2py] How to urlify a computed field?

2015-09-22 Thread St. Pirsch
Hi, I'am trying to generate a slug url from a computed field: Field('url_name', compute=lambda r: r['first_name']+'-'+r['last_name']), Something like: Field('url_name', compute=lambda r: r['first_name']+'-'+r['last_name'], requires=IS_SLUG()), doesn't seem to work, nor I get to treat the

Re: [web2py] How to urlify a computed field?

2015-09-22 Thread St. Pirsch
Got it, grazie 1000! Am Dienstag, 22. September 2015 13:30:21 UTC+2 schrieb Manuele: > > Il 22/09/15 12:32, St. Pirsch ha scritto: > > Yes, this works perfectly. I do not fully understand the line, though. > > What is the [0] actually doing? Isn't there just one row? &g

Re: [web2py] How to urlify a computed field?

2015-09-22 Thread St. Pirsch
=False)( > r['first_name']+'-'+r['last_name'])[0]) > > work for you? > > On Tue, Sep 22, 2015 at 8:17 AM, St. Pirsch <spi...@gmail.com > > wrote: > >> Hi, >> I'am trying to generate a slug url from a computed field: >> Field('url_name', compute=lambda r:

Re: [web2py] Re: What is Hooks in Database Administration in appadmin ?

2015-09-18 Thread St. Pirsch
THX! El mar., 15 de septiembre de 2015 12:46, Niphlod <niph...@gmail.com> escribió: > update appadmin.py from the latest master repo... > > > On Saturday, September 12, 2015 at 10:37:56 PM UTC+2, St. Pirsch wrote: >> >> There is an 404 while loading the admin

[web2py] Re: What is Hooks in Database Administration in appadmin ?

2015-09-12 Thread St. Pirsch
There is an 404 while loading the admin editor /admin/edit/app/views/ which becomes visible when opening the tab on the bottom. Is there a way to avoid this? Tables hooks invalid function (appadmin/hooks) Am Sonntag, 31. Mai 2015 23:11:20 UTC+2 schrieb Πέτρος Χατζηλάμπρος: > > When I go to

[web2py] Re: Help/documentation on auth.wiki

2015-06-30 Thread St. Pirsch
the wiki menu embedded. It will be returned via ajax. Works! Thank You On Monday, 29 June 2015 16:36:20 UTC-5, St. Pirsch wrote: 1. What template means in this context is not layout template but content template. You can start a new page with a copy of another page. Pages have tags. All

[web2py] Help/documentation on auth.wiki

2015-06-29 Thread St. Pirsch
Hi, I'am trying to get familiar with the auth.wiki, which I think is great to use for simple cms tasks. The documentation in the book is a bit short, a least from the perspective of a novice. I couldn't find much more information on auth.wiki here nor elsewhere. Maybe it would help other

[web2py] Re: Help/documentation on auth.wiki

2015-06-29 Thread St. Pirsch
UTC-5, St. Pirsch wrote: Hi, I'am trying to get familiar with the auth.wiki, which I think is great to use for simple cms tasks. The documentation in the book is a bit short, a least from the perspective of a novice. I couldn't find much more information on auth.wiki here nor elsewhere

[web2py] Can't find file_blob

2014-05-05 Thread St. Pirsch
Hi, I'm trying to catch image data on upload to GAE, in order to store it in the google cloud. My model: db.define_table('fragen', ... Field('bild','upload'), ... As far as I understand, web2py generates a blob field automatically on GAE enviroment, so I didn't implement it in

[web2py] Re: GAE: Downloading uploaded images

2014-05-01 Thread St. Pirsch
a URL that serves it directly from blobstore. cfh On Monday, April 28, 2014 3:28:24 PM UTC-7, St. Pirsch wrote: Hi, i am trying to find an efficient way to display images uploaded to GAE. Currently, im using the download action: * background-image: url({{=URL('download', args

[web2py] GAE: Downloading uploaded images

2014-04-28 Thread St. Pirsch
Hi, i am trying to find an efficient way to display images uploaded to GAE. Currently, im using the download action: * background-image: url({{=URL('download', args=line.contents.vorschaubild)}});* Since there are a lot images to display, there should be a less power consuming way to get the

Re: [web2py] Re: uploads GAE

2013-11-25 Thread St. Pirsch
with the application can be stored in a static folder and mapped via app.yaml to be handled with a static file handler and caching policies set in app.yaml cfh On 11/24/13, 2:43 , St. Pirsch wrote: I am experiencing the same problem right now. I am running an application with version 2.51

[web2py] Re: uploads GAE

2013-11-24 Thread St. Pirsch
I am experiencing the same problem right now. I am running an application with version 2.51 on GAE, where images are uploaded via the standard Field('file', 'upload'), and retrieved using the download helper, which continues to work correctly. Today, I tried to launch an application on ver.

[web2py] Static file caching on GAE

2013-11-20 Thread St. Pirsch
The book states that a static asset management has been introduced: http://web2py.com/books/default/chapter/29/04/the-core?search=Static+asset+management#Static-asset-management As I understand it, static files are not cached in the browser unless a dynamic versioning path is introduced.

[web2py] Question on Orderby and DAL field types

2013-03-01 Thread St. Pirsch
Hello from a novice, I'am trying to define a field that enables me make my entries sortable manually. I choose 'integer' as field type: db.define_table('image', Field('Position', 'integer', label=T('Position')), In my controller, I use orderby to sort the entries: images =

[web2py] DAL type 'integer' and orderby

2013-03-01 Thread St. Pirsch
Hi, I'am trying to show my entries in an manually defined order. I choose 'integer' as field type: *db*.define_table('image', Field('Position', 'integer', label=T('Position')), In my controller, I use *orderby* to sort the entries: *images* =*db*().* select*(*db.image.ALL*,