My original email was correct:
The statement in the book *You can truncate the table, i.e., delete all
records and reset the counter of the id*. is not correct. The id-counter
does not get reset during truncate. That is the case with Postgresql. I
have not tested that on other databases.
The
thanks, i will try this later. I found a workaround for my Problem. The
PowerFormWizard form was integrated in a Website of googlesites. When i
open an extra window, which is not integrated in googlesites, all works
fine.
Thanks OF.
I think that your csv output should have a fixed column length. The
way you are trying to create the file would produce variable column
length for each row, unless you provide a way of adding the blank
fields.
Row objects have as_dict method. You could use this method to map row
data to a new
I'm not sure if these are actual bug fixes or simply misinformed hacks
(please let me know), but I think they might be useful to the
community. My notes are for version 1.99.2 so the line numbers may be
a little off. Most of the changes are the result of trying to get
Oracle and multiple key
On Tuesday, January 24, 2012 2:38:16 AM UTC-5, Ben Goosman wrote:
Thanks Massimo, I didn't realize there was an approval stage. (hence
the 3 submissions :))
Only the first time you post (to prevent spammers from getting in).
There are settings for almost everything. Sometimes the book doesn't
explain every single one though. The best way to figure out what's going on
is to open the gluon/tools.py file, and find the Auth class. This class
will have all the settings listed with their default values at the top of
the
I cannot find a documented way of directing the traceback to the
console. A command line option to show traceback data in the console
might be useful.
On 23 ene, 13:13, Iwan Gabovitch qubo...@googlemail.com wrote:
Hello,
I run web2py locally, to develop a website. Whenever there is an error, I
This is not working (it remains E-mail):
auth.messages.label_email = 'Email'
Are you using the default auth.define_tables() to create you Auth models?
You may need to show some code.
Remember me (for 30 days works) - but there is a space above it up to
password - how to remove
Also on Sign Up form I got a message 'too short' below the Password field
- in the book link there is not correspondent function to change it.
That's coming from the default CRYPT validator. Try:
db.auth_user.password.requires[-1].error_message = 'Your custom error
message'
This assumes
Which one are we using as the primary repo now, is it Google Code or GitHub?
Excellent! Thank you. Uploading your changes to trunk...
On Jan 24, 1:39 am, Ben Goosman bgoos...@gmail.com wrote:
I'm not sure if these are actual bug fixes or simply misinformed hacks
(please let me know), but I think they might be useful to the
community. My notes are for version 1.99.2 so
Thanks, just an update: I'm still getting this error, evern with latest
trunk.
You could try printing this command's output to the console in
development:
...
server.login(email, password)
...
It is in line 29 of web2py source installation/gluon/contrib/
login_methods/email_auth.py
gluon/contrib/login_methods/email_auth.py
On 23 ene, 13:48, pattu
I need to unencrypt auth password having the key.
How to do that?
I gave up on the first attempt after waiting over 10 minutes for a reply.
Second attempt worked and promptly.
Used Visa.
btw, thanks for the reasonable pricing on the pdf format.
I hate it when the price for the physical copy and the price for the pdf
are almost the same.
i bought the 3rd edition from LULU.
can i get a free pdf of the 4th edition?
If it helps, consider it a donation with benefits ;).
Hello,
the tutorial is making some progress:
Begining with chapter 5, it should be interesting for web2py users, that
are already familiar with the basics of web2py and want
to learn about functional testing with selenium.
Some links to start:
Selenium setup:
Well, i need a donation too :)
2012/1/24 Magnitus eric_vallee2...@yahoo.ca
If it helps, consider it a donation with benefits ;).
I am using Git
Em 24/01/2012 12:20, Ross Peoples ross.peop...@gmail.com escreveu:
Which one are we using as the primary repo now, is it Google Code or
GitHub?
Awesome! Can't wait to check this out...
Hello all,
Getting started with the tutorial in the docs... edited default.py as directed
and things worked as expected. Edited default/index.html to include the bare
html tags as shown in the tutorial... and nothing. On reloading I get just a
blank browser window for a view.
After spending
Ack... missed the '='... whoops. Sorry for the noise.
I am trying to write html that enables you to view pdf, etc in the
browser. This is easy to do in www.mydomain.com/mypdf.pdf
How do I do this? previous posts said I had to go to a non web2py
site. like app engine? If so, isn't this a bug that should be fixed
since displaying pdf, txt, etc is
I don't think that's possible. It's one-way hashed specifically to prevent
unencryption.
Im looking for feedback on if this is poor practice
situation: i have an existing service that uses a sqlite3 database i was
asked to port to a webapp. Being semi-familiar with MVCs and web2py i
decided to give this a go. We have functions defined in python to return
the expected data
The reason you have to define tables in dal is that a string field in
the database may be just a string field but may be a password, or a
filename at the web2py level. web2py needs to know. If you do not care
and you have no plans to move to any other db engine, than there is
nothing wrong in
If that were possible web2py would have a vulnerability.
On Jan 24, 9:43 am, thstart thst...@gmail.com wrote:
I need to unencrypt auth password having the key.
How to do that?
I needed to transfer accounts to a new server.
It turns out it is not needed.
it was not needed to decrypt I wanted to say.
Hi Massimo,
Could you please comment on related question?
https://groups.google.com/forum/#!topic/web2py/DXQ9hBAuVDA
Tanks in advance,
--Constantine
Looks like Twitter Bootstrap 2 is ready. I've seen some positive comments
about it in regards to the switch to 12 columns and responsiveness.
Interesting concept. It's not common but I have seen it at sites like
PayPal. Might not be a bad addition to auth. As mentioned above, one
approach may be to use list:string for the auth_user email field. Or maybe
add a field for secondary emails since you probably want one email
address to be
Yeah setup bs2 today and its really sweet. Just need to make some class
changes from v1.4
On Jan 24, 2012 6:47 PM, pbreit pbreitenb...@gmail.com wrote:
Looks like Twitter Bootstrap 2 is ready. I've seen some positive comments
about it in regards to the switch to 12 columns and responsiveness.
Yes it is very nice, I am already using since the beta in http://movu.ca, I
am also developing a boostrap theme for the CMS
--
Bruno Rocha
[http://rochacbruno.com.br]
the simplest way to implement without changing
auth table is:
1) user logs in with email/password
2) my app checks if login passed through
3) if not my app checks if the email entered
in login matches a list in a different table.
4) if it matches, it checks the password if matches
in auth
Thanks Alan for your advise, but I'm not sure how I would implement what
you are suggesting?
For now I use smartgrid's onpdate and oncreate events to update purchase
order items field (type list:string) with all items for that particular
order, but I hate this solution since it's computed
Dear All,
I was expecting when I am going to get this message from webfaction team
and I got it today. I have searched through this group and found that I
could use uwsgi server. Before I go ahead and make changes on the site, I
got few questions:
1. Currently it is running on apache. How do I
You don't have to use the DAL, but as Massimo pointed out, SQLFORM uses it
(I suppose you could still use SQLFORM.factory and manually handle
inserts/updates). Note, you don't necessarily have to create DAL models for
every table in your db -- you can model just a subset that would be most
What problem are you having? Can you show the code you tried? What did you
expect, and what did you see?
On Tuesday, January 24, 2012 4:10:57 PM UTC-5, davidjensen wrote:
I am trying to write html that enables you to view pdf, etc in the
browser. This is easy to do in
I'm getting an error when using a string as a query instead of an actual
DAL-style query object. This used to work. My guess is that it broke around
the time of this changeset which implemented ignore_common_filters:
Can you check trunk? I have fixed that one line but not sure if this
should be supported and what the consequences.
On Jan 24, 8:40 pm, pbreit pbreitenb...@gmail.com wrote:
I'm getting an error when using a string as a query instead of an actual
DAL-style query object. This used to work. My
i just want to know, is it possible to reconstruct password entries on
parameters_PORTNUM.py file manually ??
if it possible, how we can build this password manually ??
Thanks
sudo -u www-data python -c from gluon.main import save_password;
save_password('somepassword', portnumber)
On Wed, Jan 25, 2012 at 1:22 AM, blackshirt fatkhulmusli...@gmail.comwrote:
i just want to know, is it possible to reconstruct password entries on
parameters_PORTNUM.py file manually ??
We recently discussed this
here: https://groups.google.com/forum/?fromgroups#!topic/web2py/Ez_pxGFCsVE
The book implies passing a string as a query will
work: http://web2py.com/books/default/chapter/29/7#Links-to-referencing-records
(see the list_records function).
However, appadmin doesn't
I just got the same error
type 'exceptions.KeyError' '_id'
Traceback (most recent call last):
File /home/bruce/projects/web2py/gluon/restricted.py, line 204, in
restricted
exec ccode in environment
File /home/bruce/projects/web2py/applications/demo/controllers/appadmin.py
*I forgot to mention that the error was in /default/user/profile action*
On Wed, Jan 25, 2012 at 4:51 AM, rochacbruno rochacbr...@gmail.com wrote:
I just got the same error
type 'exceptions.KeyError' '_id'
Traceback (most recent call last
):
File
47 matches
Mail list logo