I tried the last version in trunk, and the admin application generates
a ticket... and looking at the ticket generates another ticket! (which
is the reason why I cannot provide a traceback).
But the other applications appear to work fine.
On 25 nov, 17:20, mdipierro mdipie...@cs.depaul.edu wrote:
If you have access to the file system you can find the error ticket in
the folder /applications/admin/errors
Kenneth
I tried the last version in trunk, and the admin application generates
a ticket... and looking at the ticket generates another ticket! (which
is the reason why I cannot
Thank you Kenneth!
I must admit the file is difficult to analyze manually -- I'm happy to
send it as an attachement if useful.
On 26 nov, 09:21, Kenneth Lundström kenneth.t.lundst...@gmail.com
wrote:
If you have access to the file system you can find the error ticket in
the folder
Please send it, it´s the only way to find out what the problem is.
Kenneth
Thank you Kenneth!
I must admit the file is difficult to analyze manually -- I'm happy to
send it as an attachement if useful.
On 26 nov, 09:21, Kenneth Lundströmkenneth.t.lundst...@gmail.com
wrote:
If you have
Fine, here you go (sorry, don't know how to attach files on google
groups):
-
(dp1
S'output'
p2
S''
sS'layer'
p3
S'C:\\Users\\Andre\\Documents\\web2py\\applications\\admin/views\
\default/index.html'
p4
sS'code'
p5
S'response.write(\'!doctype html\\nhtml
still it would be nice to have this optional
On Nov 26, 5:06 am, mdipierro mdipie...@cs.depaul.edu wrote:
True. This is a counterindication.
On Nov 25, 7:14 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote:
Most of them time i use a Remote VPN to change my IP and to access
Unrestricted
Hello Narendran,
I see nobody answers.
It is on my TODO list to make an example of such application (using my
OAuth2.0 module), but it will not be soon.
If you find some problem, please share, I will be glad to help you.
If you have a solution, please share, everyone will benefit from
having more
Hello i have a model and this line
db.trabalhadores.empreiteiro.*require*=IS_IN_DB(db,'empreiteiros.id
','%(empreiteiro)s')
it hapens that there is no error from web2py but when i insert a record i
got no dropdownlist for field empreiteiro.
After copy paste some examples i noticed that it is not
when I starting server web2py show this web2py:unable to import Rocket.
can help me.
2010/11/24 mdipierro mdipie...@cs.depaul.edu
How are you starting web2py?
On Nov 24, 5:47 pm, Marcos Vinhal ma.vin...@gmail.com wrote:
Every time I try to start the server web2py shows the message below:
Did you installed Mark Hammond win32 extension?
2010/11/26 Marcos Vinhal ma.vin...@gmail.com
when I starting server web2py show this web2py:unable to import Rocket.
can help me.
2010/11/24 mdipierro mdipie...@cs.depaul.edu
How are you starting web2py?
On Nov 24, 5:47 pm, Marcos Vinhal
IS_IN_DB(db, 'lesson.id', lambda r: r['name'].upper())
Thank you very much, works excellent !
format can be a function that takes a record and return a string. You can
use lambda.
Great, thank you.
Thanks Massimo: example for lambda function is in thread:
http://groups.google.com/group/web2py/browse_thread/thread/f5caa56a00c2fe96/7991d5c8cbd19da3#7991d5c8cbd19da3
- Richard Vézina all others: so much words from me, and just
because I don't know 'id' field type of DAL.
web2py is listed http://www.bestwebframeworks.com/python/
but the download link is broken :(
--
Bruno Rocha
http://about.me/rochacbruno/bio
I have two nearly identical models fpn0302 and fpn0303. The only difference
is that the second one has a few extra fields.
The forms are fairly complex so I make use of custom layouts to handle the
forms.
fpn0302 works as expected while fpn0303' s data does not end up in the
database.
There are
hi all,
i integrated paypal website payments standard on www.tenthrow.com,
using encrypted payment buttons and IPN (instant payment
notification). my implementation is based off of:
http://web2pyslices.com/main/slices/take_slice/9
i can take a look at my code and try and pull it out to share
Could you elaborate on what you'd expect from
join expressions aren't automatically created based on the DAL definition
1) - answer to your question
2) - idea to deleting integrity - I think this could be very useful
and easy to add to web2py core
1)
SQL language is very clever, but I always
And what will happen if we want to use require key word for an other
purpose??
Are you mean require or requires messages each type I write a line of code?
May be you need a IDE (eclispe with python plugin) that will try to complete
the code you are typing... It may prevent some typo.
Richard
On Nov 26, 4:21 am, dederocks dediro...@gmail.com wrote:
Fine, here you go (sorry, don't know how to attach files on google
groups):
I don't think you can attach using the Google groups site, but on the
message you want to reply to with an attachment, you can click More
options, then select
Which file do I install?
2010/11/26 Bruno Rocha rochacbr...@gmail.com
Did you installed Mark Hammond win32 extension?
2010/11/26 Marcos Vinhal ma.vin...@gmail.com
when I starting server web2py show this web2py:unable to import Rocket.
can help me.
2010/11/24 mdipierro
New web2py layout renders all broken on IE6, as most of you I'm also
big fan of Firefox and it looks great on Firefox. Although not all of
ours customers think the same way.. I looked over a post about this
and could only find issues related to older versions of web2py not
displaying correctly
I got no error when i save my model.
It sould give some error because
db.database.field.require is not valid
I think.
António
2010/11/26 Richard Vézina ml.richard.vez...@gmail.com
And what will happen if we want to use require key word for an other
purpose??
Are you mean require or
Hello,
I like web2py product but I don't recommend it. The documentation and
features flow is too spreaded and too speeded. Why don't you publish
the book and documentation in html files, it's easier to check
features and API point. The book reading is not fun to read and search
anything. If I
I don't think because require could be a variable name...
I don't know.
Richard
2010/11/26 António Ramos ramstei...@gmail.com
I got no error when i save my model.
It sould give some error because
db.database.field.require is not valid
I think.
António
2010/11/26 Richard Vézina
I'm all set up, but I can't debug in Eclipse. I put a breakpoint in my code and
go to the page that should execute it and it doesn't break.
Got any ideas?
On Nov 17, 2010, at 20:17 , pierreth wrote:
Hello,
I just published a blog about mixing all this stuff in Eclipse for
web2py
hello
I am interested in your code :D
Let me know when you are able to pull it out :D
Getting pretty sick of using 'print' to debug.
I tried pydbgr, but that didn't seem to work (crashed python).
What other tools should I look at that will let me step through my web2py code?
--
Lorin Rivers
Mosasaur: Killer Technical Marketing http://www.mosasaur.com
mailto:lriv...@mosasaur.com
It is checked in the Field.__init__ but not if it is done after the
fact.
db.define_table('test',Field('name',require=something)
this will throw an error.
db.test.name.require = something
this won't throw an error.
On Nov 26, 10:13 am, Richard Vézina ml.richard.vez...@gmail.com
wrote:
I don't
I use PyDev and Eclipse. It works like a champ. I can set breakpoints,
inspect variables, create expressions at runtime. Very handy, not to
mention that the mercurial eclipse plugin makes it very easy to
update.
On Nov 26, 10:25 am, Lorin Rivers lriv...@mosasaur.com wrote:
Getting pretty sick of
It is not optional
session.connect(request,response,check_client=True) to enable the
check.
On Nov 26, 3:53 am, selecta gr...@delarue-berlin.de wrote:
still it would be nice to have this optional
On Nov 26, 5:06 am, mdipierro mdipie...@cs.depaul.edu wrote:
True. This is a
Add a line:
def fpn0303_create():
table=db.fpn0303
crud.settings.keepvalues = True
form=crud.create(db.fpn0303,onaccept=lambda form:
show_id (form.vars.id))
response.flash=repr(form.errors)
return dict(form=form)
to see why the data does not go in DB.
I would make sure the breakpoint is not contingent on any logic. Set
one in your model, for example, when auth or mail are instantiated.
Also, make sure you are launching your project in debug mode and not
run mode.
On Nov 26, 10:23 am, Lorin Rivers lriv...@mosasaur.com wrote:
I'm all set up,
So you just click (or whatever the gesture is) to the side of the line you want
to break at and it just works?
To start a session, you right-click on web2py and start a debug session?
What platform are you on?
On Nov 26, 2010, at 10:32 , mr.freeze wrote:
I use PyDev and Eclipse. It works
Will tink about 1.
about 2. You can do
db.define_table(...,Field('name','reference
blabla',ondelete='cascade'))
cascade is default.
On Nov 26, 8:39 am, Mirek Zvolský zvol...@seznam.cz wrote:
Could you elaborate on what you'd expect from
join expressions aren't automatically created based
Try install web2py nightly built from he download page. It should not
have this dependency any more.
On Nov 26, 7:48 am, Marcos Vinhal ma.vin...@gmail.com wrote:
Which file do I install?
2010/11/26 Bruno Rocha rochacbr...@gmail.com
Did you installed Mark Hammond win32 extension?
On Fri, Nov 26, 2010 at 3:21 PM, Bruno Rocha rochacbr...@gmail.com wrote:
web2py is listed http://www.bestwebframeworks.com/python/
but the download link is broken :(
Logo is old too.
But damn. The list is wrong in so many ways.
--
Branko Vukelić
bg.bra...@gmail.com
stu...@brankovukelic.com
Thanks for reporting this. We'll see if we can fix it.
On Nov 26, 8:56 am, Alexandre Augusto alllme...@gmail.com wrote:
New web2py layout renders all broken on IE6, as most of you I'm also
big fan of Firefox and it looks great on Firefox. Although not all of
ours customers think the same
The book has been published in HTML for long time
http://web2py.com/book
It is the same as the published book (350 pages).
There is search feature with text highlighting.
All features discussed in the book are current.
Massimo
On Nov 26, 9:54 am, oncle_bob julien.hautefeui...@gmail.com wrote:
I use both Ubuntu 10.10 and Windows 7. The first time, you right
click web2py.py in the file tree and choose Debug As / Python Run. If
Python Run is not available, you need to verify your interpreter
setup.
On Nov 26, 10:37 am, Lorin Rivers lriv...@mosasaur.com wrote:
So you just click (or
On Nov 26, 2010, at 8:33 AM, mdipierro wrote:
It is not optional
now optional?
session.connect(request,response,check_client=True) to enable the
check.
On Nov 26, 3:53 am, selecta gr...@delarue-berlin.de wrote:
still it would be nice to have this optional
On Nov 26, 5:06 am,
I have python run, my web2py app is running, I can load it in the web browser
in eclipse, the breakpoints are showing in the list of breakpoints and in the
editor, my print statements are showing in the console, but it's NOT breaking.
Also, if I edit a file in an external editor, the changes
I see two issues with this:
1) The form errors found in onvalidation will not be displayed if
there are already form errors
2) The developer never gets a chance to remove form errors for certain
conditions (think contingent form fields)
For example, I am using IS_IN_DB on a field but I only want
You have to right click on your project and choose Refresh to reflect
external changes. Do you see a green dot next to your breakpoint?
Double click in the gray border to the left of the code and it should
show a green dot.
On Nov 26, 11:09 am, Lorin Rivers lriv...@mosasaur.com wrote:
I have
But damn. The list is wrong in so many ways.
+1
Hi Massimo,
I believe the T.set_current_languages you propose refers to viewing
the website in a specific language for a certain user.
What I'm asking for is a way to edit the language files (as regular
web apps, not appadmin) with authorization, e.g. userA can only edit
'en' language, userB can
What would you suggest?
On Nov 26, 11:10 am, mr.freeze nat...@freezable.com wrote:
I see two issues with this:
1) The form errors found in onvalidation will not be displayed if
there are already form errors
2) The developer never gets a chance to remove form errors for certain
conditions
that site is useless. It does not provide any useful information on
any of the frameworks.
On Nov 26, 11:14 am, Kuba Kucharski kuba.kuchar...@gmail.com wrote:
But damn. The list is wrong in so many ways.
+1
Hi all,
Thanks for your responses.
Can anybody also please comment on the other questions I ask in my
original message?.
Many thanks!,
Carlos
On Nov 25, 8:19 pm, Bruno Rocha rochacbr...@gmail.com wrote:
No, PIL just deals with image files.
2010/11/26 Phyo Arkar phyo.arkarl...@gmail.com
I see. There is this very old app:
http://web2py.com/appliances/default/show/9
that allows users permissions only to translate.
It should be revamped and:
1) change the edit language page to the new one
2) integrate with auth
3) allow administrator to assign languages to auth_users
It is a 1h
Changing line 1565 of html.py from...
if status and onvalidation:
to...
if vars and onvalidation:
On Nov 26, 11:28 am, mdipierro mdipie...@cs.depaul.edu wrote:
What would you suggest?
On Nov 26, 11:10 am, mr.freeze nat...@freezable.com wrote:
I see two issues with this:
I need to redirect to a new page (for example as a new tab in
chrome).
On Nov 25, 4:30 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I do not understand what you want to do.
On Nov 25, 7:13 am, leone handja...@gmail.com wrote:
Thanks for suggest, but I need something
Like so?:
A('Open in new window',_href=URL('...'),_target='_blank')
On Nov 26, 11:42 am, leone handja...@gmail.com wrote:
I need to redirect to a new page (for example as a new tab in
chrome).
On Nov 25, 4:30 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I do not understand what you
Or do you mean use some javascript in the response to open a new
window?
On Nov 26, 11:46 am, mr.freeze nat...@freezable.com wrote:
Like so?:
A('Open in new window',_href=URL('...'),_target='_blank')
On Nov 26, 11:42 am, leone handja...@gmail.com wrote:
I need to redirect to a new page
How can I add a youtube video in web2py... Say a user in my blog submits a
form containing youtube video code how can I embed that code in the post?
*cheers
Works for me.
-Original Message-
From: web2py@googlegroups.com [mailto:web...@googlegroups.com] On Behalf Of
mdipierro
Sent: Thursday, November 25, 2010 10:01 PM
To: web2py-users
Subject: [web2py] Re: Possible BUG: Hidden fields in SQLFORM with custom render
template
I like this. I
This widget is ripped off from plugin_wiki but doesn't require it:
model
--
db.define_table('youtube',Field('code'))
def youtube_repr(code,width=400,height=250):
return XML(object width=%(width)s height=%
(height)sparam name=movie value=http://www.youtube.com/v/%
about 2, deleting integrity. You can do:
db.define_table(...,Field('name','reference
blabla',ondelete='cascade'))
yes, you are true. I think, ON DELETE command keeps the integrity
inside the backend database (web2py generates just one DELETE
command).
My idea was to keep the integrity at
On Nov 19, 4:18 pm, Luci3n jone...@libero.it wrote:
I've set my routes logging to be false, but on app engine every call
about 10 / 15 debug logs are written, how can a switch them off.
Here's my routes.py
Your routes.py is not relevant here. Just this one line:
routes_logging = False
I've
hey great ty very much this should work really well :D
The first:
A('Open in new window',_href=URL('...'),_target='_blank')
.but using redirection. There is a way?
On Nov 26, 6:49 pm, mr.freeze nat...@freezable.com wrote:
Or do you mean use some javascript in the response to open a new
window?
On Nov 26, 11:46 am, mr.freeze
I'm sorry but in my opinion this is a waste of time. IE6 is 9 years
old now. It still has about 5% of users worldwide but this is not
enough to justify the tremendous effort inevitably involved in working
around all IE6 quirks. And believe me I know what I'm saying because I
did just that. But I
If your talking about the HTTP redirect there is no such mechanism in
it. It's just a simple 303 response which informs your browser to
fetch the content of a page from a different URL. If you want to open
a new panel/window with URL_2 after visiting URL_1 that has to be done
with javascript.
Why
I still do not understand what you want to do. Perhaps you can explain
what problem are you trying to solve.
On Nov 26, 1:16 pm, leone handja...@gmail.com wrote:
The first:
A('Open in new window',_href=URL('...'),_target='_blank')
.but using redirection. There is a way?
On Nov 26, 6:49
On Fri, Nov 26, 2010 at 6:29 PM, mdipierro mdipie...@cs.depaul.edu wrote:
that site is useless. It does not provide any useful information on
any of the frameworks.
Exactly.
--
Branko Vukelić
bg.bra...@gmail.com
stu...@brankovukelic.com
Check out my blog: http://www.brankovukelic.com/
Check
Hi Massimo,
I could not install that appliance.
But maybe it's better to do it from scratch, without repeating code,
i.e. calling the 'edit_language' action in the 'admin' app indirectly
via my own app (after checking auth_user permissions), with xmlrpc or
exec_environment?.
Does it make
I have a couple of applications (unpublished) which are Facebook
iframe apps written using web2py.
There are a few caveats which are not web2py specific. The biggest is
that, using the new GraphAPI the developer has been stripped nearly
entirely of efficient methods of doing anything but
On Fri, Nov 26, 2010 at 3:56 PM, Alexandre Augusto alllme...@gmail.com wrote:
Although I ask myself, if web2py should also enforce people to not use
IE6 or it should
have an administrative interface that works cross-browsers
Short answer is no, and no. Here's why.
1. Google discontinued
Jeff,
If you want you can send me your version of the auth module. So we can merge it
thanks
mic
2010/11/26 berubejd berub...@gmail.com:
I have a couple of applications (unpublished) which are Facebook
iframe apps written using web2py.
There are a few caveats which are not web2py specific.
Thanks, I ended up rebuilding my web2py project and now it works.
On Nov 26, 2010, at 11:13 , mr.freeze wrote:
You have to right click on your project and choose Refresh to reflect
external changes. Do you see a green dot next to your breakpoint?
Double click in the gray border to the left
Hello, I tried to use Jython with web2py. I am telling the story in my
blog:
http://pierrethibault.posterous.com/using-sqlite-with-java-on-linux
So far, I have this error:
Traceback (most recent call last):
File /media/pierreth-backup/work/web2py/gluon/restricted.py, line
188, in restricted
It is valid if you assigned something to it. That's how Python works.
2010/11/26 António Ramos ramstei...@gmail.com:
I got no error when i save my model.
It sould give some error because
db.database.field.require is not valid
I think.
António
2010/11/26 Richard Vézina
Hi!
I'm trying to call controller from javascript using the jquery load:
$.post(todb,{name: in_name,desc: in_desc, location: in_loc});
The problem is that I don't know how to get the json valu passed to
todb controller.
I've tried
@service.json decorator,
adding variable to the function
On Nov 26, 2010, at 16:35 , Steve Shepherd wrote:
IF someone could help with some examples of answers would be great.
snip
Someone less ignorant than I should answer that.
2. How do I trace through code. line by line and then inspect values in
variables or objects
This I just solved for
The instructions are here:
http://web2py.com/book/default/chapter/12#Jython
Make sure you have zxJDBC.
It works (some of us have tested it) but there are some know problems
and I would not recommend it in production. One problem is a known
problem with Java regular expression parses that Sun
Consider this case:
db.define_table('numbers',Field('a','integre'),Field('b','integer'))
def validate(form):
if form.vars.a+form.vars.b100:
form.errors.b=a+b must not exceed 100
form=crud.create(db.numbers,onvalidation=validate)
Before the change the function validate is not called
On Nov 26, 5:33 pm, b0j3 boje...@gmail.com wrote:
Hi!
I'm trying to call controller from javascript using the jquery load:
$.post(todb,{name: in_name,desc: in_desc, location: in_loc});
this is not sending json. The values will be in request.name.is_name,
etc.
The problem is that I don't
On Nov 26, 2010, at 10:44 AM, Wikus van de Merwe wrote:
On Nov 19, 4:18 pm, Luci3n jone...@libero.it wrote:
I've set my routes logging to be false, but on app engine every call
about 10 / 15 debug logs are written, how can a switch them off.
Here's my routes.py
Your routes.py is not
Good point. Here is my use case:
db.define_table('cars',
Field('make'),
Field('model'),
Field('year'),
Field('catalytic_converter_type',requires =
IS_IN_SET('one','two','three'),
comment='for cars later than 1975'))
I want catalytic_converter_type to be required if the car year
On Sat, Nov 27, 2010 at 12:39 AM, Lorin Rivers lriv...@mosasaur.com wrote:
snip
Someone less ignorant than I should answer that.
Not me. :)
2. How do I trace through code. line by line and then inspect values in
variables or objects
This I just solved for myself.
The short answer for #2
On Fri, Nov 26, 2010 at 4:54 PM, oncle_bob
julien.hautefeui...@gmail.com wrote:
I like web2py product but I don't recommend it. The documentation and
To each their own, eh? :)
features flow is too spreaded and too speeded. Why don't you publish
the book and documentation in html files, it's
I think its time try to give web2py on pypy 1.4 a try! its production
quality they said.
-- Forwarded message --
From: Maciej Fijalkowski fij...@gmail.com
Date: Fri, 26 Nov 2010 20:23:45 +0200
Subject: [pypy-dev] PyPy 1.4 released
To: PyPy Dev pypy-...@codespeak.net,
even installing this version the problem continues
2010/11/26 mdipierro mdipie...@cs.depaul.edu
Try install web2py nightly built from he download page. It should not
have this dependency any more.
On Nov 26, 7:48 am, Marcos Vinhal ma.vin...@gmail.com wrote:
Which file do I install?
The book navigation could be improved, and I mentioned this recently
to Massimo; specially for the majority of us that still depend on it.
For example, the general index entries do a search of the term instead
of taking you directly to where it is defined, not very efficient. If
I want to find
On Nov 26, 5:35 pm, Steve Shepherd sargs...@gmail.com wrote:
IF someone could help with some examples of answers would be great.
1. Where should we put common functions that will be called by different
parts.
For example I am wanting to use a Soundex function to add as a computed
field.
i guess he dont even bother to read homepage well :D
On 11/27/10, DenesL denes1...@yahoo.ca wrote:
The book navigation could be improved, and I mentioned this recently
to Massimo; specially for the majority of us that still depend on it.
For example, the general index entries do a search of
Hi,
I'm wondering what ever happened with elFinder web file manager?:
http://elrte.org/elfinder/
http://groups.google.com/group/web2py/browse_thread/thread/3af7b48d3267fd59/09847d81ae92ef26
Is it already integrated with web2py?, for all types of users (admin,
appadmin, endusers)?.
Is anybody
You can always change requires on the fly
def test():
if request.vars.year:
try:
y = int(request.vars.year)
except 'ValueError':
y = 0
if y 1975:
db.cars.catalytic_converter_type.requires =
IS_IN_SET(['one','two','three'], error_message='cars later than 1975
must
It is not integrated but there was a plugin for it. If somebody could
post a list to it (and host it on google code somewhere) I would post
a link from appliances. It could be used for admin2.
On Nov 26, 9:15 pm, Carlos carlosgali...@gmail.com wrote:
Hi,
I'm wondering what ever happened with
88 matches
Mail list logo