[web2py:15036] '=' used for padding urlsafe_b64encode() confusing web2py when in URL arg

2009-01-16 Thread cjparsons
Depending on the size of the input string, urlsafe_b64encode() padds the resulting string with '=' characters. If the generated string is used as a URL argument e.g. http://localhost:8000/default/app/controller/function/DxFOVxWvvzGdOSh2ARkK-2XPXNavnpiCkD6RuKLffvA= Then I appear to get an "inval

[web2py:15037] Home Based Online data entry Jobs and form filling Jobs available. No fees/deposit required.

2009-01-16 Thread vidhya is my darling
Wanted data entry workers. Job is only through Internet. Work part time. You can earn Rs.750-2000/- daily. These are genuine Internet jobs. No Investment required. Only serious enquires please http://www.dataconversionjobs.com?id=122413 . Register freely to get data entry jobs. ==

[web2py:15038] Re: Error with response.menu

2009-01-16 Thread Oscar
Thank you! Oscar. On 17 ene, 02:11, Fran wrote: > On Jan 16, 4:55 am, Oscar wrote: > > > B.T.W. there is a way to modify login and registration form called by > > t2 functions? > > The Views can be amended either by creating files called views/ > login.html & views/register.html or else having

[web2py:15039] Re: datetime.date is not JSON serializable

2009-01-16 Thread carlo
There is also a dates JQuery plugin which seems to be able to convert a string date in a Date javascript object: this could be useful as you can have Json serialize dates as strings and then convert them to javascript Date objects. Anyone tried it? carlo On 15 Gen, 16:10, achipa wrote: > Yes, I

[web2py:15040] Re: Unable to run web2py in a git workspace

2009-01-16 Thread BigBaaadBob
Ceej: I'm using git-svn to track Massimo's SVN repo directly. It is probably just me, but I prefer to track the authoritative repo. I worry if different repos have the different "trunk" content. I know you are only talking about .gitignore files but it feels like a slippery slope to me. --~--

[web2py:15042] DB connection - invalid Key

2009-01-16 Thread Erik Telford
I am attempting to connect to a mysql db using the following: def mydb(): db = SQLDB("mysql://etelford:bulabu...@localhost:3306/etelford") r = db().select(db.tblAccounts.ALL) return r however, I receive this error: KeyError: 'tblAccounts' I am able to make the db connection and I c

[web2py:15041] KeyError on web2py SQL

2009-01-16 Thread Erik Telford
I am attempting to connect to a mysql db using the following: def mydb(): db = SQLDB("mysql://user:passw...@localhost:3306/thedbname") r = db().select(db.tblAccounts.ALL) return r however, I receive this error: KeyError: 'tblAccounts' I am able to make the db connection and I can succ

[web2py:15043] Re: KeyError on web2py SQL

2009-01-16 Thread mdipierro
db=SQLDB(...) ## start of missing part db.define_table('tblAccounts',) ## end of missing part db().select(db.tblAccounts,) You need to define in the model the tables you are using else web2py does not know about them. If the table is prehexisting: db.define_table('tblAccounts',

[web2py:15044] Re: KeyError on web2py SQL

2009-01-16 Thread Erik Telford
Excellent. Thanks, Massimo. I'm new to this for sure. Can you delete my first post on this subject for future readers? It didn't post before I reposted this one an hour later so I thought my first one didn't work. Thanks again, ET On Jan 16, 9:22 am, mdipierro wrote: > db=SQLDB(...) > > ## sta

[web2py:15045] Re: SELECT AS in web2py ?

2009-01-16 Thread apaterno
One more question, Is any way I can customize the Colum Names of a SQLTABLE ? Thnks On Jan 15, 10:36 pm, Hector Paterno wrote: > Terrific, thank you ! > > > > On Thu, Jan 15, 2009 at 4:08 PM, mdipierro wrote: > > > You can use as but only to rename tables. > > > You need to do this the web2py

[web2py:15046] Re: Unable to run web2py in a git workspace

2009-01-16 Thread BigBaaadBob
Massimo: I'm curious on your thoughts here. I'd like to use git and track your Google repo because I think that is the authoritative one. There are options: * If you make the currently empty directories non-empty (by adding a .something file or something) this will "just work". * I can cause

[web2py:15047] Questions and Introduction

2009-01-16 Thread mickgardner
Hi there, firstly wanted to say thanks to the developers for building such a fantastic and easy to use web framework i especially like the intuitiveness of the design and web application development interface. Secondly, an introduction and some questions. I've been trying to learn django for a

[web2py:15048] Re: Unable to run web2py in a git workspace

2009-01-16 Thread Yarko Tymciurak
bazaar and svn version directories and files;cvs and mercurial and git do not; To "hold" directories (since they are not really versioned) you need to put an empty file in them. You can see how I handled it for mercurial by looking at the repository at http://bitbucket.org/yarko/web2py/ (you don

[web2py:15049] Re: Unable to run web2py in a git workspace

2009-01-16 Thread Yarko Tymciurak
Of course, if it were I - I would not put empty placeholder files in my master if I did not need to, nor useless init files We who mirror where that is needed can write our own scripts to hold those directories (by putting empty files in; I wouldn't do the other way around, as the whole point

[web2py:15050] Re: Unable to run web2py in a git workspace

2009-01-16 Thread Yarko Tymciurak
The person maintaining the github repository should just do this; It doesn't look like github has an issue tracker (shame), so you can't really report this to the mirror maintainer... I've edited that wiki, and put a warning in it (I'm sure someone will be unhappy, but oh, well!) On Fri, Jan 16,

[web2py:15051] Re: Unable to run web2py in a git workspace

2009-01-16 Thread Yarko Tymciurak
It looks like ceej maintains this mirror - I've sent him an email about this so he can take care of it. On Fri, Jan 16, 2009 at 8:13 PM, Yarko Tymciurak wrote: > The person maintaining the github repository should just do this; > It doesn't look like github has an issue tracker (shame), so you c

[web2py:15052] Re: Unable to run web2py in a git workspace

2009-01-16 Thread Yarko Tymciurak
doh - see how tired I am? ceej wrote in this thread... sorry for all my noise... On Fri, Jan 16, 2009 at 8:17 PM, Yarko Tymciurak wrote: > It looks like ceej maintains this mirror - I've sent him an email about > this so he can take care of it. > > > On Fri, Jan 16, 2009 at 8:13 PM, Yarko Tymci

[web2py:15053] Re: Unable to run web2py in a git workspace

2009-01-16 Thread BigBaaadBob
I just want to point out, for those who do not know git, that it isn't necessary to use github to use git. By using git-svn ( the "git svn" command) you can directly track the Google svn repo. Some may prefer using the github repo and some (like I do) may prefer to track the Google svn repo. Gi

[web2py:15054] Re: Editing in Chrome, Opera and IE8 Beta

2009-01-16 Thread dhmorgan
Principally an issue of popup blocking. I tested the page in Chrome, FireFox, Safari, and IE-6; only Chrome kills it; it even kills the little 'toggle' switch at the bottom. It is a criticized feature of Chrome insofar as it there's no method to override the blocking for trusted sites without disa