[web2py:28590] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread Yarko Tymciurak
Hi weheh - Thanks for asking this - it was a good review of the draft of the book: On Fri, Aug 14, 2009 at 12:10 AM, Yarko Tymciurak yark...@gmail.com wrote: try form.vars.filename.new_filename try form.vars.filename_newfilename the pattern is: form.vars.upload fieldname.new_filename

[web2py:28591] Re: Where to specify logout time

2009-08-14 Thread Richard
I believe it is: auth.settings.expiration = SECONDS Richard On Aug 14, 3:29 pm, weheh richard_gor...@verizon.net wrote: I know I saw this written somewhere, maybe in some doc, maybe in some sample code, but I can't find it again for the life of me. Where/how do I specify the amount of time

[web2py:28592] Re: Where to specify logout time

2009-08-14 Thread Fran
On Aug 14, 6:29 am, weheh richard_gor...@verizon.net wrote: I know I saw this written somewhere, maybe in some doc, maybe in some sample code, but I can't find it again for the life of me. Where/how do I specify the amount of time before auth logout occurs? MDP, I think this should probably

[web2py:28593] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread Yarko Tymciurak
On Fri, Aug 14, 2009 at 1:59 AM, Richard richar...@gmail.com wrote: On Aug 14, 3:10 pm, Yarko Tymciurak yark...@gmail.com wrote: try form.vars.filename.new_filename the pattern is: form.vars.upload fieldname.new_filename are you sure about that? I've been accessing form.vars.upload

[web2py:28595] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread Yarko Tymciurak
On Fri, Aug 14, 2009 at 2:07 AM, Yarko Tymciurak yark...@gmail.com wrote: On Fri, Aug 14, 2009 at 2:00 AM, Yarko Tymciurak yark...@gmail.comwrote: Hi weheh - Thanks for asking this - it was a good review of the draft of the book: apologies - this was already correct in the 2nd ed. draft;

[web2py:28596] Re: current link indication with MENU() helper

2009-08-14 Thread mdipierro
Now (in trunk) if a meny item is selected is the has a class web2py- menu-selected On Aug 13, 9:59 am, mdipierro mdipie...@cs.depaul.edu wrote: I am putting this in MENU now. On Aug 13, 6:09 am, Sebastian E. Ovide sebastianov...@gmail.com wrote: Hi Massimo, by override layout.html you

[web2py:28597] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread weheh
I don't know Yarko. I may be doing something wrong, but I copied your code verbatim and I get two things: 1) the flash upon successful upload says the new filename is None 2) the vars says I've got an FieldStorage object What I really want is to know the name of the file that was created under

[web2py:28598] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread mdipierro
The new name is stored in form.vars.[fieldname]_newfilename The original filename is in request.vars.[fieldname].filename and it is b16encoded into the uuid of the new filename. On Aug 13, 11:46 pm, weheh richard_gor...@verizon.net wrote: I'm using SQLFORM.factory as follows:   form =

[web2py:28599] Re: Left Join Failures

2009-08-14 Thread mdipierro
Are you sure this does not work? c=db.concert cp=db.concert_purchases a=db.artist db(cp.auth_user==3)(c.id==cp.concert)(cp.expires'2009-08-08 09:46:23').select(c.name, c.id, cp.date, a.name, v.name, c.date, af.file,left=(c.on(c.value==v.id),cp.on(cp.concert==c.id),a.on (a.id==c.artist)),

[web2py:28600] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread Yarko Tymciurak
from a standard welcome boilerplate... On Fri, Aug 14, 2009 at 2:30 AM, mdipierro mdipie...@cs.depaul.edu wrote: The new name is stored in form.vars.[fieldname]_newfilename The original filename is in request.vars.[fieldname].filename and it is b16encoded into the uuid of the new filename.

[web2py:28601] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread Yarko Tymciurak
On Fri, Aug 14, 2009 at 2:39 AM, Yarko Tymciurak yark...@gmail.com wrote: from a standard welcome boilerplate... that is from also changing the last line in my example to mimic what weheh had: return dict(form=form, filename=form.vars.filename_newfilename) On Fri, Aug 14, 2009 at

[web2py:28602] login to web2py application with script

2009-08-14 Thread Richard
hello, I want to automate some interaction with my web2py application web interface but am having trouble logging in. I am using the builtin auth login form. Has anyone succeeded in building such a script, or can see what is wrong with my script below? import urllib import urllib2 import

[web2py:28603] Re: login to web2py application with script

2009-08-14 Thread mdipierro
The _formkey they you send has to be the same you receive. If you accept(request.vars,formname=None) without passing a session there is no _formkey, no _formname and no worry about it. Massimo On Aug 14, 2:52 am, Richard richar...@gmail.com wrote: hello, I want to automate some interaction

[web2py:28604] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread weheh
This isn't working for me. I see Yarko's screenshot and that is exactly what I want. I'm running 1.65.11. The only difference is that I'm trying to upload an ASCII .txt file, but that shouldn't make a difference. The ascii file is being uploaded to no_table.filename.8151ed45a69a545e.

[web2py:28605] sessions - how to find who is online

2009-08-14 Thread David Zejda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, there is a multiuser web2py site. I'd like to be able to show, who is online just now. Please, is there a way to drain the information, maybe from the stored sessions? Thanks! David -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9

[web2py:28606] Re: current link indication with MENU() helper

2009-08-14 Thread Sebastian E. Ovide
I agree with Yarko... On Fri, Aug 14, 2009 at 6:52 AM, Yarko Tymciurak yark...@gmail.com wrote: We should change the template, to let you select a suggested label from a list in the comments area - bug, enhancement, etc. Once it is accepted, the issue should have the appropriate label and

[web2py:28607] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread Yarko Tymciurak
On Fri, Aug 14, 2009 at 3:17 AM, weheh richard_gor...@verizon.net wrote: How do I embed a screenshot in here? ... if you reply to email (or send email to the group) you can attach a file. --~--~-~--~~~---~--~~ You received this message because you are

[web2py:28608] Re: current link indication with MENU() helper

2009-08-14 Thread Sebastian E. Ovide
just vote for http://code.google.com/p/web2py/issues/detail?id=44 clicking on the star On Fri, Aug 14, 2009 at 9:26 AM, Sebastian E. Ovide sebastianov...@gmail.com wrote: I agree with Yarko... On Fri, Aug 14, 2009 at 6:52 AM, Yarko Tymciurak yark...@gmail.comwrote: We should change

[web2py:28609] Re: sessions - how to find who is online

2009-08-14 Thread mdipierro
Look into the kpax application. Is has a keepalive ajax that keeps track how is editing a certain wiki page. You can use the same mechanism. Massimo On Aug 14, 3:17 am, David Zejda d...@atlas.cz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, there is a multiuser web2py site.

[web2py:28610] extending web2py template system

2009-08-14 Thread Sebastian E. Ovide
Hello all, I was wondering if it is possible to override multiple blocks from an extended template. Example: http://docs.djangoproject.com/en/dev/topics/templates/#templates if not, what do you think to implement it ? something like {{include bloc_ name}} bla bla bla {{pass}} thanks --

[web2py:28612] show information stored in database

2009-08-14 Thread Carlos Aboim
Hi group This is my trouble: I can't get the data of an item of a list stored in the database I have a list of several items, wich one of them have several data fields (that's normal :-) ) but I am not getting that data in the view. It only shows plain text, all variables do not cross from the

[web2py:28613] Re: extending web2py template system

2009-08-14 Thread mdipierro
The concepts of blocks as implemented in Django, in my view, has a logical problem. Consider this Dango example #layout.html {% block A %}nothing{%end block%}...X...{%block B%}nothing{%end block %} #someview.html {% extends 'layout.html' %} {% block A %}aaa{%end block%}...Y...{%block

[web2py:28614] Re: show information stored in database

2009-08-14 Thread mdipierro
What error do you get when you visit http://.../ver/[id] ? On Aug 14, 4:39 am, Carlos Aboim abo...@gmail.com wrote: Hi group This is my trouble: I can't get the data of an item of a list stored in the database I have a list of several items, wich one of them have several data fields

[web2py:28615] Re: logo

2009-08-14 Thread ProfessionalIT
A It's clean and more WEB 2.0 style. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to

[web2py:28616] How to override multiselect listbox to CheckBox list in SQLFORM?

2009-08-14 Thread dlypka
This works visually to display nice checkboxes instead of the multi select list, but no checked values are saved in the table. Any suggestions? Thanks. I added this code into t2.py method def base_table(db,tablename): t=SQLTable(db,'t2_person', :

[web2py:28618] Re: logo

2009-08-14 Thread Timbo
I think you're missing all the over-whelming votes for A. The mix that you propose looks lop-sided (what to do with that big, black space). I too like A the best with the sans-serif font. If you have space to fill in a new website design, then your better bet is to add some detail to the A

[web2py:28619] Re: show information stored in database

2009-08-14 Thread Carlos Aboim
I don't get any error! The values from variables do not apear in the redered page! Aboim 2009/8/14 mdipierro mdipie...@cs.depaul.edu What error do you get when you visit http://.../ver/[id] ? On Aug 14, 4:39 am, Carlos Aboim abo...@gmail.com wrote: Hi group This is my trouble: I can't

[web2py:28620] Re: logo

2009-08-14 Thread Miguel Lopes
I also prefer A. But I like the current logo better and think that it should have been included in the pool? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to

[web2py:28621] Re: show information stored in database

2009-08-14 Thread DenesL
On Aug 14, 5:39 am, Carlos Aboim abo...@gmail.com wrote: Hi group This is my trouble: I can't get the data of an item of a list stored in the database I have a list of several items, wich one of them have several data fields (that's normal :-) ) but I am not getting that data in the

[web2py:28622] Re: show information stored in database

2009-08-14 Thread Carlos Aboim
Ohh My good!! In fact!! I blame myself for such failure. You are absolutly wright! Thank you! I will be back for sure! I am a rookie! Carlos Aboim 2009/8/14 DenesL denes1...@yahoo.ca On Aug 14, 5:39 am, Carlos Aboim abo...@gmail.com wrote: Hi group This is my trouble: I can't get

[web2py:28623] Re: logo

2009-08-14 Thread mdipierro
What do you refer to as current logo? On Aug 14, 8:57 am, Miguel Lopes mig.e.lo...@gmail.com wrote: I also prefer A. But I like the current logo better and think that it should have been included in the pool? --~--~-~--~~~---~--~~ You received this message

[web2py:28624] Re: extending web2py template system

2009-08-14 Thread limodou
On Aug 14, 3:39 am, Sebastian E. Ovide sebastianov...@gmail.com wrote: Hello all, I was wondering if it is possible to override multiple blocks from an extended template. Example:http://docs.djangoproject.com/en/dev/topics/templates/#templates if not, what do you think to implement it ?

[web2py:28625] How do I get a cross reference model name?

2009-08-14 Thread Carlos Aboim
Hi folks! I am here again as promised. (just kidding) I whould like to know how to access a cross reference model name. For example to clarify, I got: db.define_table('users', Field('name'), Field('email')) # ONE (users) TO MANY (dogs) db.define_table('dogs',

[web2py:28626] Re: logo

2009-08-14 Thread Jonathan Lundell
On Aug 14, 2009, at 5:40 AM, Massimo Di Pierro wrote: What about this compromise (assuming the two authors agree)? It's pretty busy, and misses the elegant simplicity of A. (Do you really need the URL in the logo? The TM?) If you really need to put the A logo in a square space, try just

[web2py:28627] Re: filter a SQLSet?

2009-08-14 Thread Michael
In my last post I said r2=f1(db.Section.schoolYear==2009).select() - works fine. But I'm still struggling with SQLSets. I've read through the web2py book and looked at examples online. Unfortunately I can't find examples that clarify complex SQLSet syntax. I don't know how best to present all

[web2py:28628] Re: logo

2009-08-14 Thread __future__
I don't think that is a bug but I could be wrong. I wouldn't mind a lighter font but I still think A is the best of the 2. The font in Massimo's compromise is a better than the look of the original B font which is just too plain, IMO. Overall, I don't like the compromise version. Too big, too

[web2py:28629] Re: logo

2009-08-14 Thread Jonathan Lundell
On Aug 14, 2009, at 9:15 AM, __future__ wrote: I don't think that is a bug but I could be wrong. By 'bug' I mean (in this example) the stylized W, minus the 'web2py' text. I wouldn't mind a lighter font but I still think A is the best of the 2. The font in Massimo's compromise is a

[web2py:28630] Re: How do I get a cross reference model name?

2009-08-14 Thread mdipierro
db.dogs.owner_id.represent=lambda owner_id: db.users[owner_id].name On Aug 14, 9:59 am, Carlos Aboim abo...@gmail.com wrote: Hi folks! I am here again as promised. (just kidding) I whould like to know how to access a cross reference model name. For example to clarify, I got:

[web2py:28631] Re: filter a SQLSet?

2009-08-14 Thread mdipierro
if q1, q2, q3, ... are elementary queries like db.table.field==value db.table.fieldvalue db.table.field==db.table.otherfield+1 etc. a SQLSet is db(q1) db(q1q2)same as db(q1)(q2) db(q1|q2) and | are the logical operators. You should not use and and or. On a SQLSet you can call

[web2py:28632] Re: Newbie Locale Question

2009-08-14 Thread Francisco
Hello. Thanks for the advise. I have tried what you said and now my application is in Spanish, but weekdays and month names are still displayed in English. When I use the following code from within my view: {{=consulta.fecha_consulta.strftime(%A %d %B %Y)}} the date is displayed as Wednesday

[web2py:28633] Re: Newbie Locale Question

2009-08-14 Thread Francisco
Hello. Thanks for the advise. I have tried what you said and now my application is in Spanish, but weekdays and month names are still displayed in English. When I use the following code from within my view: {{=consulta.fecha_consulta.strftime(%A %d %B %Y)}} the date is displayed as Wednesday

[web2py:28634] Re: logo

2009-08-14 Thread __future__
That is what I thought you were referring to. Do you think it looks like a bug? I thought it looked like 3 people. I guess it could be bug... I think our Rorschach results would be quite different :) On Aug 14, 11:33 am, Jonathan Lundell jlund...@pobox.com wrote: On Aug 14, 2009, at 9:15

[web2py:28635] Re: Newbie Locale Question

2009-08-14 Thread mdipierro
This is a problem. You must set the locale: http://docs.python.org/library/locale.html the problem is that you cannot setting the locale is not thread safe. It does not break your app but once you set it it affects all the apps. Massimo On Aug 14, 1:06 pm, Francisco

[web2py:28636] Re: logo

2009-08-14 Thread mdipierro
Yes those are definitively 3 people forming a W and that is what makes it great.I do not think t looks like a bug at all. On Aug 14, 1:12 pm, __future__ wrigh...@gmail.com wrote: That is what I thought you were referring to.  Do you think it looks like a bug?   I thought it looked like 3

[web2py:28637] Re: Newbie Locale Question

2009-08-14 Thread Yarko Tymciurak
it would seem there should be some way to set it based on client, per session... On Fri, Aug 14, 2009 at 1:32 PM, mdipierro mdipie...@cs.depaul.edu wrote: This is a problem. You must set the locale: http://docs.python.org/library/locale.html the problem is that you cannot setting the

[web2py:28638] Re: logo

2009-08-14 Thread Yarko Tymciurak
On Fri, Aug 14, 2009 at 1:34 PM, mdipierro mdipie...@cs.depaul.edu wrote: Yes those are definitively 3 people forming a W and that is what makes it great.I do not think t looks like a bug at all. I agree - the more I see this over the months, the more appealing it is... One quetion, though

[web2py:28639] Re: Newbie Locale Question

2009-08-14 Thread mdipierro
If you find a way let me know. On Aug 14, 1:37 pm, Yarko Tymciurak yark...@gmail.com wrote: it would seem there should be some way to set it based on client, per session... On Fri, Aug 14, 2009 at 1:32 PM, mdipierro mdipie...@cs.depaul.edu wrote: This is a problem. You must set the

[web2py:28640] Re: logo

2009-08-14 Thread mdipierro
I did not choose. I just posted some options for people here to choose. Massimo On Aug 14, 1:41 pm, Yarko Tymciurak yark...@gmail.com wrote: On Fri, Aug 14, 2009 at 1:34 PM, mdipierro mdipie...@cs.depaul.edu wrote: Yes those are definitively 3 people forming a W and that is what makes it

[web2py:28641] Re: Newbie Locale Question

2009-08-14 Thread Yarko Tymciurak
http://www.w3.org/International/questions/qa-accept-lang-locales Discusses a starting point, while (application responsibility) warning to be sure to let the user set their locale. I think, Francisco, this is your answer. You can find what you need to get started in:

[web2py:28642] Re: logo

2009-08-14 Thread Yarko Tymciurak
my point is still: why did you not request consitency in the fonts of the two configurations? On Fri, Aug 14, 2009 at 1:45 PM, mdipierro mdipie...@cs.depaul.edu wrote: I did not choose. I just posted some options for people here to choose. Massimo On Aug 14, 1:41 pm, Yarko Tymciurak

[web2py:28643] Re: logo

2009-08-14 Thread Yarko Tymciurak
or put another way - this can still be updated: since there was a majority of preference for the font of the squared configuration, would you ask the author of the wonderful icon to match? or (as I did) have the author of the latter do an overlay of the horizontal logo with the same font used in

[web2py:28644] Re: logo

2009-08-14 Thread Yarko Tymciurak
not to tell you what to do with your Logo, Massimo - just my request to consider... On Fri, Aug 14, 2009 at 2:00 PM, Yarko Tymciurak yark...@gmail.com wrote: or put another way - this can still be updated: since there was a majority of preference for the font of the squared configuration,

[web2py:28645] Re: logo

2009-08-14 Thread Jonathan Lundell
On Aug 14, 2009, at 11:12 AM, __future__ wrote: That is what I thought you were referring to. Do you think it looks like a bug? I thought it looked like 3 people. I guess it could be bug... I think our Rorschach results would be quite different :) I'm sorry I ever used the term. I mean

[web2py:28647] Re: Newbie Locale Question

2009-08-14 Thread mdipierro
This does not solve the problem the in Python local is set per process and not per-thread. Am I wrong? Massimo On Aug 14, 1:51 pm, Yarko Tymciurak yark...@gmail.com wrote: http://www.w3.org/International/questions/qa-accept-lang-locales Discusses a starting point, while (application

[web2py:28648] Re: logo

2009-08-14 Thread mdipierro
I am sure he is reading this so I hope he will post a sample here. On Aug 14, 2:00 pm, Yarko Tymciurak yark...@gmail.com wrote: or put another way - this can still be updated: since there was a majority of preference for the font of the squared configuration, would you ask the author of the

[web2py:28649] Re: filter a SQLSet?

2009-08-14 Thread mdipierro
Thanks for sharing your thought on this. This is an important issue. I will try address it in the book. Do you use web2py for teaching or development? Which one if your school if you do not mind sharing the infomation? Massimo On Aug 14, 2:20 pm, Michael mafed...@gmail.com wrote: Thanks

[web2py:28650] Re: filter a SQLSet?

2009-08-14 Thread Jonathan Lundell
On Aug 14, 2009, at 12:20 PM, Michael wrote: Thanks Massimo, that's a great help. I'm starting to get the hang of it. I had trouble with the following: r9=db(q2)(db.Section.id==7767|db.Section.id==7540).select() but realized that I needed to enclose the filters in parentheses:

[web2py:28652] Re: test on IBM AS/400 iSeries System i

2009-08-14 Thread DenesL
Two issues: 1) I created the key and certificate files for SSL but when I start web2py with them I get: WARNING:root:OpenSSL libraries unavailable. SSL is OFF openssl is installed. 2) Even without any clients this is showing up in the console periodically (but not often): Exception in thread

[web2py:28654] Re: problem with web2py, gae, and taskqueue

2009-08-14 Thread David Watson
Thanks, Dan. I didn't know about the difference between dev and production or the admin interface so that was helpful. Cheers, David On Aug 5, 1:24 pm, Dan danbr...@gmail.com wrote: done.http://www.web2py.com/AlterEgo/default/show/247 On Aug 3, 10:19 pm, mdipierro mdipie...@cs.depaul.edu

[web2py:28656] creating default folder in controller

2009-08-14 Thread jayvandal
Hello once again In the controller area there is a default folder and then a test folder. Do you create new folders at this level or -- do you create sub folders within default ---and--- how do you address them?? I have the app MED and a prescription table, auth_user and specialiity as you

[web2py:28653] Re: Newbie Locale Question

2009-08-14 Thread Francisco
Once again thanks for the help. I have used setlocale before. But the thing is where would be the right place to call the setlocale function? For the moment I just want the whole application to be in Spanish, so setting the locale on a per user basis seems overkill to me. Calling the setlocale

[web2py:28655] Re: test on IBM AS/400 iSeries System i

2009-08-14 Thread Timbo
This is really cool! Good Job! Perhaps you can get around 1 by having Apache handle the encryption and 2 by not using cron? I can't wait for the how-to. I'd love to have this working on our AS400. -tim On Aug 14, 2:50 pm, DenesL denes1...@yahoo.ca wrote: Two issues: 1) I created the key

[web2py:28657] Re: logo

2009-08-14 Thread hcvst
B Although A looks better at the moment B has, in my opinion, more potential to evolve into sth unique and memorable. The appeal of A (and I was initially going to vote for A) might just be that it captures web2.0 fashion very well. But why look like everyone else? I feel that A is static

[web2py:28658] Re: Which Python library does web2py require for MySQL access?

2009-08-14 Thread Fred
Perhaps my notes on installing on CentOS 5 might offer some help: http://www.web2py.com/AlterEgo/default/show/239 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send

[web2py:28659] Re: filter a SQLSet?

2009-08-14 Thread Michael
@massimo: We've communicated before about our application... but It's been a while. ;) I'm a teacher at Friends Central School in PA. In addition to teaching web development and python, I'm working with another programmer to re-build our existing intranet application that handles a wide range

[web2py:28660] Re: Newbie Locale Question

2009-08-14 Thread Yarko Tymciurak
According to http://docs.python.org/library/i18n.html it's even worse than that, saying some implementations core-dump on changing locale... How do other web frameworks deal with this? As it is, it seems that it's up to the applicatiion. On Fri, Aug 14, 2009 at 2:26 PM, mdipierro

[web2py:28661] Re: creating default folder in controller

2009-08-14 Thread hcvst
Hi Jim, There is only one controllers folder in web2py/applications/your_app/controllers Into that folder you place all your Python controller files. Each controller file can contain one or more functions. For example web2py/applications/your_app/controllers/default.py may contain functions

[web2py:28662] SQLFORM with hidden fields

2009-08-14 Thread Jonathan Lundell
I've got a table with two fields, an account name and a user id. They're both required. I want something like this: naform = SQLFORM(db.acct, fields=['acct_name'], hidden=dict(user_id=auth.user.id)) if naform.accepts(request.vars, session): response.flash = 'Account %s

[web2py:28663] Re: Newbie Locale Question

2009-08-14 Thread Francisco
Well after reading more and more about locale I realize that it's kind of very problematic to set the locale and encoding the right way while not breaking something else. So I decided to use a dirty hack to get the expected result. I wrote a very simple function inside my view that would turn a

[web2py:28664] Re: SQLFORM with hidden fields

2009-08-14 Thread Jonathan Lundell
On Aug 14, 2009, at 4:31 PM, Jonathan Lundell wrote: I've got a table with two fields, an account name and a user id. They're both required. I want something like this: naform = SQLFORM(db.acct, fields=['acct_name'], hidden=dict(user_id=auth.user.id)) if

[web2py:28665] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread weheh
Yarko, Massimo - I'm becoming suspicious of my installation. I copied Yarko's example to the Welcome app and did exactly what he's doing and got exactly the same problem that I've been seeing, which is nothing for the new and old filenames. And yet, the file is being uploaded because I can see it

[web2py:28666] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread weheh
Yarko, Massimo - I'm becoming suspicious of my installation. I copied Yarko's example to the Welcome app and did exactly what he's doing and got exactly the same problem that I've been seeing, which is nothing for the new and old filenames. And yet, the file is being uploaded because I can see it

[web2py:28667] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread Yarko Tymciurak
why don't you minimize the variables - get the source, and make a brand new installation (don't overwrite anything) and then try the simple changes on just that. On Fri, Aug 14, 2009 at 8:22 PM, weheh richard_gor...@verizon.net wrote: Yarko, Massimo - I'm becoming suspicious of my

[web2py:28668] Re: Simple question -- where is name of upload file stored?

2009-08-14 Thread weheh
I just did an absolutely fresh installation from scratch. No overwriting. Installed from source. Tried your example by adding the upload function to the default controller and then ran it with a text file upload. Still same problem as I was reporting earlier. No filename visible.

[web2py:28669] Re: logo

2009-08-14 Thread Francisco
Well I like more logo A, it's more simple (as everybody has already pointed out). Yet I think the logo fails to describe what web2py is. Well I'm no designer though, so I just might not get it. But the logo is very web 2.0. On 14 ago, 15:29, hcvst hcv...@googlemail.com wrote: B Although A

[web2py:28670] Using SQLFORM with gererated tables

2009-08-14 Thread Alastair Medford
I am having a problem using SQLFORM with tables that have been generated from an xml file. The error I'm getting is a key error, from trying to SQLFORM(getattr(db, tablename)). I'm pretty sure this is because the tables being generated in the model have not been 'finalized' so to speak when the

[web2py:28671] Re: logo

2009-08-14 Thread waTR
I like A. Lots of respect to both designers for the time they put in. On Aug 14, 12:00 pm, Yarko Tymciurak yark...@gmail.com wrote: or put another way - this can still be updated: since there was a majority of preference for the font of the squared configuration, would you ask the author