[web2py] Is there a web2py IRC channel?

2010-12-07 Thread Robert
nt

[web2py] Re: Is there a web2py IRC channel?

2010-12-07 Thread Robert
Dec 7, 7:42 pm, Robert wrote: > > > > > > > > > nt

[web2py] Best way to populate GAE datastore?

2010-12-07 Thread Robert
I recently deployed an web2py application on GAE. The datastore was empty at that point, and I couldn't add data through the Datastore Viewer since the tables/entities were not created yet. I now solved this by creating a form in web2py where I can manually populate the database with the initial

[web2py] Re: Best way to populate GAE datastore?

2010-12-07 Thread Robert
nt() == 0: >     db.table.insert(**my_dict_with_values) > > > > 2010/12/7 Robert > > > I recently deployed an web2py application on GAE.  The datastore was > > empty at that point, and I couldn't add data through the Datastore > > Viewer since the tables/entities

Re: [web2py] web2py 1.91.5 is OUT

2010-12-28 Thread Robert
Nice! Deploying and testing it right away! :)

[web2py] Re: congratulations on making it to pycon2011 :)

2011-01-07 Thread Robert
Congratulations, I hope my vote helped! :) I would join if it was held in Europe.

[web2py] Re: good news...

2011-01-12 Thread Robert
Nice! 2011 the year of web2py! :)

[web2py] Re: T-Shirts web2py

2011-01-28 Thread Robert
www.squidoo.com/cafepress_alternative Oh, yeah, I would like a thicker shirt. -- Robert

[web2py] Re: Learning materials for newbie

2011-01-29 Thread Robert
What?!? No web2py tree on the cover!!! :-D -- Robert On 2011-01-28 16:46:25 -0500, Richard Vézina said: Web2py book : http://www.web2py.com/book Richard On Fri, Jan 28, 2011 at 4:38 PM, noob.py wrote: Hello, I'm totally new to programming, but very motivated to learn it

[web2py] Re: web2py promoted at Google App Engine Montreal Hackathon Sat Jan 22

2011-02-03 Thread Robert
Awesome news, I am really curious to see where this is heading! By the way, 2 weeks ago I wrote a short post on our experiences on web2py and GAE. So I am extra thrilled, and will evangelize it even more. I really hope web2py gains more traction in the Netherlands, there are so many talented de

[web2py] redirect and decorators

2010-05-17 Thread Robert Boulanger
#x27;s not just the first letter of foo, means if foo would be bar it's also /application/controller/f ) if the decoration is removed everything is fine again. Anybody here who has a clue whats the reason for that ? Thanks Robert

Re: [web2py] Re: redirect and decorators

2010-05-18 Thread Robert Boulanger
Hi, that works, thanks. I still don't understand the behaviour, but I will have a look deeper inside to find that out. -Robert Am 18.05.2010 um 00:13 schrieb mdipierro: > This > > redirect(URL(r=request,f=foo)) > > should be > > redirect(URL(r=request,f='fo

[web2py] "wizard" style forms in web2py

2010-05-29 Thread Robert O'Connor
eloping something like this in web2py... Does anybody know either of an app that does this that I can look at for examples or perhaps a strategy of implementing this? If you're in the United States -- Happy Memorial Day weekend! -Robert O'Connor

[web2py] Re: New to web app development -- is web2py a good choice

2010-05-29 Thread Robert O'Connor
Some of the cookbooks are handy. What if somebody provided a way to do "wizard" style user interfaces. (I requested information on a separate thread -- which is currently awaiting moderation) There is both a lack of official documentation and even resources of those who've used it! I've done goog

Re: [web2py] Documentation on moving common code into modules?

2010-06-14 Thread Robert O'Connor
throw it into the "modules" directory in its own file say foo.py -Rob On Mon, Jun 14, 2010 at 5:11 PM, David Mitchell wrote: > Hello all, > > I'm at early days in my 1st serious web2py project, and I've got a few bits > of code that are common to multiple different controllers. > > I want to mo

Re: [web2py] Re: ARTICLE: The good and bad about web2py

2010-08-01 Thread Robert O'Connor
-Rob On Sun, Aug 1, 2010 at 4:42 PM, Scott wrote: > I missed the last few sections when I pasted in my response :-) > > - web2py uses the DAL as documented here: > http://en.wikipedia.org/wiki/Web2py#Database_handling; > why is an ORM needed? > > - web2py has excellent IDE support through Eclip

[web2py] Making old urls for the book work

2010-08-12 Thread Robert O'Connor
Hey, Massimo could you make it so that the old URLS (which are cached by google) work? You don't break backwards compatibility in web2py, so why not follow suit with the book? =D --rob

Re: [web2py] Re: Making old urls for the book work

2010-08-12 Thread Robert O'Connor
Example: http://web2py.com/book/default/section/7/7 is busted (custom forms from the 2ed. of the book). That is cached/indexed by google. -Rob On Thu, Aug 12, 2010 at 6:12 PM, mdipierro wrote: > Sorry. I do not understand. :-( > > On Aug 12, 3:55 pm, "Robert O'Con

Re: [web2py] Re: Making old urls for the book work

2010-08-12 Thread Robert O'Connor
No problem! -Rob On Thu, Aug 12, 2010 at 6:29 PM, mdipierro wrote: > oops. fixed. thanks for pointing this out. > > > > On Aug 12, 5:21 pm, "Robert O'Connor" wrote: >> Example:http://web2py.com/book/default/section/7/7is busted (custom >> forms from t

Re: [web2py] Re: display rows with different color

2010-08-13 Thread Robert O'Connor
Or if the browser supports CSS3: http://www.w3.org/TR/css3-selectors/#nth-child-pseudo that works -- but it styles *ALL* tables... be warned :) -Rob On Fri, Aug 13, 2010 at 5:09 AM, mdipierro wrote: > Add something like this to the view (or the layout): > > jQuery("tr:odd").css("background-co

[web2py:23201] upload filename

2009-06-03 Thread Robert Marklund
27;%s_newfilename' % fieldname] = newfilename fields[fieldname] = newfilename So that people with there own fileuploads can make use of the appadmin . /Robert -- ______ Robert Marklund Phone: +46 (0)46 19 36 82 Mobile: +

[web2py:23670] Auth

2009-06-09 Thread Robert Marklund
elp: db.auth_user2.email.requiers = [IS_EMAIL(), IS_NOT_IN_DB(db, 'auth_user2.email')] /T -- __ Robert Marklund Phone: +46 (0)46 19 36 82

[web2py:24444] Sessions and flash

2009-06-18 Thread Robert Marklund
Hi, I have a flash uploader that don't send the session cookie to the upload function. And there for cant do auth. Is there any way i solve this ? Perhaps with post or get data to send the session id ? /R -- __ Robert Marklund Phone: +46 (0)46

[web2py:24652] Whats the status of T2 ?

2009-06-21 Thread Robert Marklund
I have read every where and on same places iread that the T2 plugin can/should be used and in some places that some of the functionality is moved in to web2py itself. So whats the status of it what should i use ? /R -- __ Robert Marklund Phone: +46

[web2py:24837] Multipe create forms on same page.

2009-06-23 Thread Robert Marklund
. I can see a solution in adding a form_prefix=None variable to SQLFORM that can fix all this. /R -- __ Robert Marklund Phone: +46 (0)46 19 36 82 Mobile: +46 (0)70 213 22 76 E-mail: robbelibob...@gmail.com

[web2py:24887] web2py 1.64.3

2009-06-24 Thread Robert Marklund
if request.extension != 'html': (_session, _formname) = (None, None) else: (_session, _formname) = (session, None) Its the same in .4 /R -- ______ Robert Marklund Phone: +46 (0)46 19 36 82 Mobile: +46 (0)70 2

[web2py:24970] db query problem

2009-06-25 Thread Robert Marklund
keywords exists. like this row.image = the image row.image_info = the image info row.keyword = None if there is no keyword. Is this possible ? /R -- ______ Robert Marklund Phone: +46 (0)46 19 36 82 Mobile: +46 (0)70 213 22 76 E-mail: robbelibob...@g

[web2py:25550] datetime wrong locale.

2009-07-03 Thread Robert Marklund
Hi, it seams like the locale is not set for datetime objects used in modules folder. with locale i mean that the language used by the T object should be set as locale. If this is correct how can i get the locale from web2py ? /R -- __ Robert

[web2py:22923] jQuery noCoflict

2009-05-29 Thread Robert Marklund
Would it be possible to use jQuery in noConflict mode internally so that you can use other javascript engines as well ? See this for more info: http://docs.jquery.com/Using_jQuery_with_Other_Libraries /Robert -- __ Robert Marklund Phone: +46 (0)46 19

[web2py:22935] Re: jQuery noCoflict

2009-05-30 Thread Robert Marklund
the welcome app in this direction, > assuming it does not break anything. > > Massimo > > On May 29, 3:13 pm, Robert Marklund wrote: > > Would it be possible to use jQuery in noConflict mode internally so that > you > > can use other javascript engines as well ? >

Re: [web2py] Re: new demo appliance for gmap and fullcalendar

2012-09-21 Thread Robert O'Connor
Same issue as all the above ---rob Sent from my phone...excuse any typos. On Sep 21, 2012 9:27 AM, "Richard Vézina" wrote: > Forgot it : > > Don't forget the appliances page: > http://web2py.com/appliances > > I think the AppointmentManager app implements a calendar that might be > interesting.

[web2py] How do you change memcache session expiry?

2012-09-27 Thread Robert Clark
(Using web2py 1.99.7. Running on Ubuntu/EC2 with Elasticache) I've followed the deployment recipe for storing sessions in memcache but they expire after 300 seconds of inactivity. That appears to be because MEMDB doesn't look to pass down a time_expiry, therefore the set() function from gluon

[web2py] Re: How do you change memcache session expiry?

2012-09-28 Thread Robert Clark
Thanks, I am not having any problems with the memcached api & python interface, that part all works as advertised. The problem is that if you follow the deployment recipe for storing sessions in Memcached, then they always expire after 300s and there's no way to provide an expiry. Here's what'

[web2py] How can you configure memcache and built-in cache to be present at the same time

2012-05-16 Thread Robert Clark
Is there a way to configure both MemcacheClient and the built-in cache at the same time? We would like to use built-in cache to hold singleton or short-life python objects across requests (being a process-only cache it suits well) and Memcache for everything else (sessions and expensive-to-cre

[web2py] Re: How do you change memcache session expiry?

2012-09-29 Thread Robert Clark
r 2012 07:11:10 UTC-5, Niphlod wrote: >>> >>> yep, open a bug on http://code.google.com/p/web2py/issues/list >>> >>> On Saturday, September 29, 2012 5:24:07 AM UTC+2, Robert Clark wrote: >>>> >>>> Thanks, I am not having any problems wi

[web2py] Re: web3py?

2012-12-10 Thread Robert Clark
A couple of days ago in the "web3py important!" thread I posted some thoughts on URL route matching syntax for the @expose() method, but my post is yet to surface. Posting a more-considered version here for consideration and feedback. I've been looking into some other frameworks, and Alloy

Re: [web2py] Re: web3py?

2012-12-10 Thread Robert Clark
ec 10, 2012 at 9:33 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > web3py does that already. Although it does not support the exact syntax > you proposed. Did you try it? > > > On Monday, 10 December 2012 17:42:20 UTC-6, Robert Clark wrote: >> >&g

[web2py] SQLFORM.grid and custom display values from fields not displayed in the table.

2012-01-13 Thread Robert Clark
Can I first say that SQLFORM.grid is great and a massive productivity gain, thanks Massimo & the rest of the web2py team. My question is around formatting a column when the display value depends on other non-visible columns (or other related tables). We're using the "links" parameter and a lambda

[web2py] Executing controller- and function-specific models in web2py shell

2012-01-15 Thread Robert Clark
If running a web2py shell, how can model files within controller subdirectories be made available in the environment? For example if we have these two model files: myapp/models/db.py myapp/models/acontroller/db_controller.py Then when launching web2py using: $> python web2py.py -S myapp -M Typi

[web2py] new user startup error question

2012-01-20 Thread robert schaefer
Hi, I am using RedHat Linux Ver 5.0., python 2.6.2 I downloaded the source and started the server with the command "python web2py.py" and got the message: Starting browser... Error showing url: There was an error launching default action command associated with this location. How seriou

[web2py] Re: Fw: [security-77] Secure Coding (web app) Competition

2012-03-06 Thread Robert Kooij
This is a Java contest, web2py/Python is out. Wrong boards. ;) "The web application will be based on Google’s App Engine for Java. Progamming with Python and Go is not allowed." On Tuesday, March 6, 2012 8:16:06 AM UTC+1, Luther Goh Lu Feng wrote: > > Fyi for web2py developers > > - Forwarde

Re: [web2py] Re: web2py received 2011 BOSSIE Award by InfoWorld.com

2011-09-08 Thread Robert Kooij
About time. ;) Grats everyone and Massimo in particular!

[web2py] Using trunk

2011-09-14 Thread Robert Aldridge
. I'm somewhat familiar with Bazaar, Git, and Mercurial. What would be the best/easiest way for me to get set up with either the latest nightly build or trunk? Thanks, Robert

[web2py] Re: what about web2py 2.0?

2011-09-20 Thread Robert Kooij
2.0 should be a mark of maturity in my opinion. I fear change in software. I strongly recommend you all to read the following article, because this is not where we want to be in a few years: http://www.unleashedmind.com/en/blog/sun/the-drupal-crisis It's about the current state of the well mark

[web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-23 Thread Robert Clark
Hi Massimo Here are the steps to reproduce this problem in web2py 1.99.2 (these steps worked fine on 1.98.x versions) 1) In web2py admin create "New simple application" called "foo" 2) Add to db.py: auth.settings.allow_basic_login = True 3) Decorate call() with @auth.requires_login in defau

[web2py] SparkleShare

2011-10-28 Thread Robert Marklund
If someone is looking for a nice mission with web2py why not create a web UI for the sparkleshare service. More info here: http://sparkleshare.org/ https://github.com/hbons/SparkleShare Whats available today: https://github.com/hbons/SparkleShare-Dashboard /R

[web2py] Is there a controller post-action hook? Or should we use a decorator.

2011-11-12 Thread Robert Clark
Is there a simple way to register code for execution after each controller action has been executed? Our problem is that most of our controller actions eventually obtain a pymongo connection object (from cache.ram) which itself pools connections internally and are thread-safe. These connection o

Re: [web2py] can web2py be used as a static website generator?

2011-11-20 Thread Robert Shaver
But can I put an HTML file in a directory on the server and reach it from the web? That's what I think of as a static web page. For example: http://mydomain.com/index.html

[web2py] Doc Bug Report on the web2py book

2011-11-20 Thread Robert Shaver
Didn't locate a bug reporting system so I thought I'd just post this here. On page: http://web2py.com/book/default/chapter/04?search=server Search for "The view sees every variable". Right after this there is an unintentional line break causing this text: "defined in models and returned by the

Re: [web2py] can web2py be used as a static website generator?

2011-11-20 Thread Robert Shaver
I'm just starting to read the web2py docs so I'm a complete noob ... however this may be the answer: "Requests for files in the static folder are handled directly and large files are automatically streamed to the client." I found this in the web2py book page at this link

[web2py] Can web2py do shared IP hosting

2011-11-20 Thread Robert Shaver
I'm completely new to web2py and so far have only been reading the documents to see if it has the features I'm looking for to implement my next project. Please let me know if I'm asking the wrong questions or if there's anything else I should be considering along with these questions. Many serv

[web2py] Re: Can web2py do shared IP hosting

2011-11-21 Thread Robert Shaver
Dear Massimo, Thank you for your quick response. I heard your interview on FLOSS Weekly and that's how I discovered web2py. I guess I misread something. I thought I could download web2py and install it with a built-in web server ... Rocket I think was the name. (I haven't researched Rocket yet

Re: [web2py] Can web2py do shared IP hosting

2011-11-21 Thread Robert Shaver
Hi Phyo, Thanks for your response. My current environment is a dedicated server machine with a single web server which servers multiple web separate sites on sub-domains and dedicated IP addresses. The configuration at this level has always been handled by an administrator so I know less about

[web2py] Re: cannot run web2py on windows 7 machine with python 2.7 installed

2011-11-21 Thread Robert Shaver
I am having exactly the same problem. I'm on Windows 7 64 bit. I searched my disk for Python and found 6,647 occurrences of the word. From the various names on the files I believe that I have versions 2.5, 2.6.1 and 2.6.6 as a result of installing web2py, OpenOffice, InkScape and Blender. So wh

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Robert Kooij
- Try to avoid vagueness or bad marketing terms. Be factual. - Would not try to use more than three properties. (secure, scalabale, fast, easy to learn, productive, great community etc.) Pick the three that are most important. - Let's not forget the obvious, explain t

[web2py] Re: Proposals for New Tagline

2011-03-15 Thread Robert Kooij
If it's all too boring, we could spice things up! :) web2py: making web development sexy since 2007.

[web2py] Re: we need a few more good people!

2011-03-31 Thread Robert Kooij
Waiting for approval as well. :) By the way I ran into the following small typo's in the site, maybe someone can fix them: (1) Once logged in on the "Experts" page. (http://experts4solutions.com/e4s/default/experts) Typo in the title "Experts Pedning Approval" (2) (C) Footer still says 2010,

Re: [web2py] Re: a chance to vote for web2py

2011-05-06 Thread Robert Kooij
Voted! :)

[web2py] Can local_import() import a class definition?

2011-06-28 Thread Robert Clark
I can't seem to get local_import() importing classes from module files in the same way 'from X import Y' normally works in Python. Say I have the following in mymodule.py def my_func(arg1): doSomething(arg1) class my_class(object): __init__(self): ...etc. my_class_ref = my_class

[web2py] Re: Can local_import() import a class definition?

2011-06-28 Thread Robert Clark
ass() > > It is veyr odd and I do not think this has anything to do with > local_import. Something else is going on. > Anyway, local_import is deprecated. Try > > from mymodule import my_class > > this should work now even if mymodule is in applications/yourapp/ > modules/

Re: [web2py] Re: More Manual Issues

2013-06-04 Thread Robert Moore
Yep, that's the first thing I tried - dinna work. Actually, I tried lots of variations before I devolved to begging for alms on the web - as one always should. On Tue, Jun 4, 2013 at 11:42 AM, Anthony wrote: > This works for me: > > {{=DIV(B(I("hello ", "")), _class="myclass")}} > > The extra "

Re: [web2py] Simplest form of internal messaging

2013-08-04 Thread Robert O'Connor
A message queue is also needed potentially...if this is real time...also this is python...a monkey can do this... On Aug 4, 2013 9:29 PM, "Alex Glaros" wrote: > Can anyone help me think of a primitive form of internal messaging between > users of an app? No external email, nothing fancy because

Re: [web2py] PyCharm 3.0 EAP web2py support!!

2013-08-08 Thread Robert O'Connor
EAP is fine. I use it all the time. On Aug 8, 2013 4:04 PM, "Richard Vézina" wrote: > > http://confluence.jetbrains.com/display/PYH/JetBrains+PyCharm+Preview+%28EAP%29 > > 30 days free from july 29 > > But it not even as stable as a beta... Be aware. > > Richard > > > On Thu, Aug 8, 2013 at 3:56

Re: [web2py] Re: Another Book Correction Needed (5th ed P.369)

2013-08-20 Thread Robert Moore
Thanks, now it works. Man, seems like learning this stuff would be a lot easier *if I had already learned it*. Then spotting/fixing these book errors would be a breeze. On Tue, Aug 20, 2013 at 1:46 PM, Alex wrote: > seems like > import re > is missing at beginning of function. > > Alex > > A

Re: [web2py] Re: Help with 5th ed. book example 11.2.1 not working (conditional fields in forms)

2013-09-07 Thread Robert Moore
Thanks a trillion! I had started looking at the jQuery specifications and had immediately zeroed in on .attr but, because of my unfamiliarity with Javascript in general and jQuery in particular, I didn't see the particular issue just yet. Your help is extremely appreciated. It's very difficult to

Re: [web2py] Re: Making validators trigger only when data is present

2013-09-17 Thread Robert Moore
Well, by now I have tested the heck out of this thing, and the ill behavior has gone away and I can't get it to come back. My natural curiosity wants to know why but, in any case, good riddance! On Tue, Sep 17, 2013 at 4:12 PM, REM <32variati...@gmail.com> wrote: > In further explorati

Re: [web2py] Conexao POSTGRESQL vs PYTHON/WEB2PY - problemas

2013-10-28 Thread Robert O'Connor
Posting in english may be a better ideaj --rob Sent from my cell...excuse typos On Oct 28, 2013 10:35 AM, "Carlynhos77" wrote: > ola, realmente esse trem nao vai... criei o arquivo db.py, joguei o codigo > nele, tirei as referencias do gluon, dai ja veio outros erros... > > vou rever os vide

[web2py] Re: How to increase the number of open forms that can be submitted (from 10) ?

2016-06-10 Thread Robert Pates
Well, Thanks Anthony and Leonel for excellent suggestions -- The issue went away when I ensure that each of the 16 forms generated had a unique formname value. However, I spent some time trying to combine this with Leonel's suggestion to use ajax (with LOAD= ?). But didn't manage to figure that

[web2py] Re: How to increase the number of open forms that can be submitted (from 10) ?

2016-09-12 Thread Robert Pates
en if the forms are LOADed because > of the CSRF protection mechanism. Anyway, this one one case where you are > looking for the wrong solution to the problem. You should use JS to > generate those forms and submit them via ajax to different controller. > > On Friday, 10 June 201

[web2py] CouchDB support

2016-10-24 Thread Robert F
Still on the learning curve regarding Web2py but would like to know how to use the CouchDB DAL interface. CouchDB is mentioned in the support docs but does not appear during start up in list of database adapters found. For example I get: Database drivers available: psycopg2, pymysql, imaplib,

[web2py] Forgot Password not working?

2016-12-02 Thread Robert Porter
I get this error when trying "Forgot Password": tools.py:808 - Mail.send failure:coercing to Unicode: need string or buffer, lazyT found This is running on GAE locally. It works fine for a welcome email and for "Lost Username". -- Resources: - http://web2py.com - http://web2py.com/book (Docu

[web2py] ERROR:Rocket.Errors.Thread-4:Unhandled Error when serving connection

2013-12-22 Thread Robert Held
l it over a menu which I have in models/menu.py with ... ('Teststream', False, URL('default', 'test_stream'))... I get the following error at the console: ERROR:Rocket.Errors.Thread-4:Unhandled Error when serving connection: Traceback (most recent call last): F

[web2py] ERROR:Rocket.Errors.Thread-4:Unhandled Error when serving connection

2013-12-22 Thread Robert Held
is ok. But when I call it over menu with ... ('Teststream', False, URL('genre', 'test_stream')) ... I get the following error at the console: ERROR:Rocket.Errors.Thread-4:Unhandled Error when serving connection: Traceback (most recent call last): File "/hom

[web2py] question about SQLFORM.grid

2014-01-03 Thread Robert Bjornson
Hi all, I am a newcomer to web2py, and have what I hope is a simple beginner question. I am following the "mywiki" example in the getting started tutorial. In it, one can display all the documents for a page using this url: *http://127.0.0.1:8000/mywiki/default/documents/1* *The controller fo

[web2py] using CAS

2014-01-16 Thread Robert Bjornson
Hi, I'm trying to use our university CAS server as the authentication for my web2py app. I am able to direct logins to CAS fine, by using this code in my model file: auth=Auth(db, cas_provider='https://securedev.its.yale.edu/cas') After completing the cas login, when I look at db.auth_user ta

[web2py] Re: using CAS

2014-01-16 Thread Robert Bjornson
014 5:17:26 PM UTC-5, Massimo Di Pierro wrote: > > You can do > > if auth.user and not auth.user.first_name: > pull them from ldap and store them in auth.user > > On Thursday, 16 January 2014 16:10:18 UTC-6, Robert Bjornson wrote: >> >> Hi, >> &g

[web2py] How to increase the number of open forms that can be submitted (from 10) ?

2016-04-28 Thread Robert Pates
I have inherited a very nice clinical trials randomization module written in web2py (2.9.5) and have been asked to modify it to accommodate a new clinical study. The application features a screen to display all the randomization strata in a list on the screen -- each stratum generates a form us

[web2py] Reverse Groupby with Join Bug?

2018-08-27 Thread Robert Porter
I'm trying to do a groupby that gets the last entry for each item checked out by a user from db.checkout (i.e. they've checked it out multiple times, but I just want the last entry). I then want to join on db.item. db.checkout: user_id item_id (reference item) db.item: item_name WITHOUT the j

[web2py] Re: Reverse Groupby with Join Bug?

2018-08-27 Thread Robert Porter
I'm using GoogleSQL. DAL sometimes seems to have some nuances there compared to MySQL. I think your suggestion will probably work. I was just as confused at the ~ operator working in groupby as you! Thanks! On Monday, 27 August 2018 20:21:22 UTC-7, Anthony wrote: > > WITHOUT the join works p

[web2py] Does the latest version of web2py still not allow us to specify key field as UUID ?

2019-04-14 Thread Robert Gilbert
I am using the latest version of web2py and want to implement UUID as my primary Key. Just checking if I still have to use a workaround and create a separate uuid field while web2py uses an internal ID (integer) field as record identifier ? Longing for the day when we have a choice in Models to

[web2py] Python version in web2py console says 3.7 but 2.7 in the web console settings

2019-05-13 Thread Robert Rice
I am testing OpenCV and need version 2.7 and that is what the site version says (2.7.12). I updated the default.py for this new website and it failed due to the use of python v 2.7 classes. Whats up? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/

[web2py] Re: Can I simulate multiple user logins to web2py from a single computer?

2014-05-04 Thread Robert Kooij
Or if you want to keep it even simpler, just use multiple (different) browsers, each browser keep track of their own session. I assume, as a web developer you have Chrome, Firefox and Safari installed anyway? Should be able to simulate 3 different user to start with. :) On Monday, May 5, 2014

[web2py] Re: Error when trying to use Google Cloud SQL

2017-05-03 Thread Robert Porter
Ah, I see your errors show "C:", so that has to be the output from the local Google Cloud instance on Windows. Can you show the error message from the Google Cloud server logs (after you've deployed the app)? When I tried to recreate the error in the cloud, it worked fine (unfortunately). If

[web2py] request.requires_https() while using taskqueue.add() in GAE possible?

2017-09-17 Thread Robert Porter
If I use Google's taskqueue.add(), it keeps giving me a 303 error over and over in the logs because it tries to use the HTTP version of the page the POST is sent to, but I have request.requires_https() in my db.py. I can't find a way for taskqueue to attempt an HTTPS connection. Removing reque

[web2py] How to display Google Maps (iFrame?)

2015-06-01 Thread Robert Porter
I've been beating my head against this for two days, so I'm sorry if it's a dumb question, but I'm really lost. I have googleplaces working and giving me lat/lon data without any problem. Now I want to display this data on a Google Map using web2py. Am I forced to use something like gmaps.js?

[web2py] Re: My son made a new web2py logo

2015-06-01 Thread Robert Porter
Then again, combining a capital "W" and the roman numeral "II" has a pretty specific meaning for most of the world. On Monday, 1 June 2015 11:06:16 UTC-7, Massimo Di Pierro wrote: > > Time to revamp the web site? > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - h

[web2py] Re: My son made a new web2py logo

2015-06-01 Thread Robert Porter
You could almost combine the "/ /" of the "W" with the "II" and the pi symbol into one character. On Monday, 1 June 2015 11:06:16 UTC-7, Massimo Di Pierro wrote: > > Time to revamp the web site? > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/w

[web2py] Re: How to display Google Maps (iFrame?)

2015-06-04 Thread Robert Porter
That sounds like maybe a good idea if I knew how to do that.. So I'll go look into it! Thanks! On Monday, 1 June 2015 17:04:24 UTC-7, 黄祥 wrote: > > just an idea, why not use components for google maps? > > best regards, > stifan > -- Resources: - http://web2py.com - http://web2py.com/book (Do

[web2py] Re: How to display Google Maps (iFrame?)

2015-06-15 Thread Robert Porter
On Friday, 5 June 2015 06:28:54 UTC-7, 黄祥 wrote: > > please take a look at web2py book about components and plugins > ref: > > http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax > > best regards, > stifan > Thanks to both of you. This was very helpful

[web2py] Peculiar behavior of request.vars inside URL() (BUG?)

2015-06-28 Thread Robert Porter
I have lat/lng coordinates in my request.vars['coords'] saved with a '|' separating each coordinate. When I use URL(request.vars['coords']), it converts the '|' into '%7C'. This seems like a web2py error, but please let me know if I've made a mistake. And please let me know if there's some wo

[web2py] Only one table fails to create in MySQL... and there's nothing special about it.

2015-06-29 Thread Robert Porter
I got everything working fine at home on my Ubuntu 14.04 server. Then I did a git push to pythonanywhere.com. Web2py created all my new tables except for one, and it continues to fail to create this table. Tech support at pythonanywhere can't find the problem. Here's my table that is having

[web2py] Re: Peculiar behavior of request.vars inside URL() (BUG?)

2015-06-29 Thread Robert Porter
For now, I'm just separating my coordinates with a letter of the alphabet, since it doesn't make any difference. I'll try to give this a shot when I get home. Thanks! On Sunday, 28 June 2015 16:14:31 UTC-7, villas wrote: > > Hi Robert, > I think args and vars ar

[web2py] Re: Only one table fails to create in MySQL... and there's nothing special about it.

2015-06-30 Thread Robert Porter
7;s supposed to be there (because of a > corresponding .table file found on the folder) > > On Monday, June 29, 2015 at 8:37:41 PM UTC+2, Robert Porter wrote: >> >> I got everything working fine at home on my Ubuntu 14.04 server. Then I >> did a git push to pythonanywhe

[web2py] Re: as_dict() on a row fails when connected to MySQL on Amazon RDS

2015-07-03 Thread Robert Porter
Could you show your DB code for reference? And you should jump in appadmin to check just what has been uploaded to the DB to be sure. On Wednesday, 1 July 2015 07:01:19 UTC-7, Sean Ballow wrote: > > We are connecting successfully to MySQL on RDS > > And when attempting to insert a new record it

[web2py] Form upload troubles when AJAX=True on component

2015-07-03 Thread Robert Porter
This first part works fine on its own. It's when I try to make this part of an AJAX component inside another page that it fails. Model: db.define_table('temp_pics', Field('image', 'upload', required=True, notnull=True, requires=IS_IMAGE())) Controller: # This will reload itself and allow changi

[web2py] Re: Form upload troubles when AJAX=True on component

2015-07-04 Thread Robert Porter
That's an answer, but not a solution. I think I found a workaround. Doing some final testing and will post again if I get a proper solution. Picture sharing is one of the fundamental pillars of the web. It's very disappointing that web2py doesn't have a definitive solution to this (after 3 d

[web2py] Really Weird DB Bug?

2015-07-09 Thread Robert Porter
Program is acting like two identical lists containing only two items (list/entries are same content and type) are different. The code is commented and is extremely straightforward. If I declare "submitted_tags = ['test','test'], it works fine and doesn't put in a second entry, but if I take th

[web2py] Re: Really Weird DB Bug?

2015-07-11 Thread Robert Porter
Ok, here's a better comma-delimited separator that looks for trailing and following spaces: submitted_tags = [x.strip() for x in str(XML(request.vars['submitted_tags'], sanitize=True)).lower().split(',')] On Thursday, 9 July 2015 16:32:28 UTC-7, Robert Porter wrote: &

[web2py] Persistent Login?

2015-09-05 Thread Robert Porter
How can I make a login persistent. I want you to have to clean your cookies to ever be logged out. Right now I have a bug where I get logged out after a pretty short time (even though I set auth.settings.expiration=3600), so I just want a way where you absolutely cannot logout unless you c

[web2py] Random Logouts?

2015-09-05 Thread Robert Porter
I seem to have a bug where it will log me out for no reason, but I can't find a way to reproduce it. I do not touch session cookies anywhere in my site and I've set the auth expiration to 360. I do not have any way for the user to logout other than clicking the logout button. I don't wan

  1   2   >