[web2py:26550] Re: Where's the roadmap?

2009-07-15 Thread Alex Fanjul
Massimo, it's a good Idea, and I think starting an IdeaTorrent like Ubuntu 's one, would be perfect to define future web2py roadmap based on collaboration. Maybe Reddish can acomplish this... Alex F El 15/07/2009 6:16, mdipierro escr

[web2py:26551] multiple uploads

2009-07-15 Thread Richard
hello, the current database design of our application will require the user to upload 2 files in a single form. Is there any problem with this? One thing I thought of is we could no longer determine the size of the file with request.env.content_length. Richard --~--~-~--~~---

[web2py:26552] Re: appadmin like interface with CRUD?

2009-07-15 Thread mdipierro
You are right. It does not. I agree it would be nice to add an option to do it On Jul 15, 1:56 am, Richard wrote: > hi Massimo, > > I'm using form=crud() and I can view all the data and update or delete > a particular ID. But it doesn't seem to link all the parts together > like appadmin. > So I

[web2py:26553] Re: multiple uploads

2009-07-15 Thread mdipierro
No there s no problem with this. You should not determine the size of the file with request.env.content_length, you should use ... Field('name','upload',requires=IS_LENGTH(1)) where 1 is the max lenght. On Jul 15, 7:06 am, Richard wrote: > hello, > > the current database design of our

[web2py:26554] Re: Where's the roadmap?

2009-07-15 Thread Timmie
Dear Lucas & Massimo! a very good discussion I have waited for quite some time. As others have highlighted before: * a clear roadmap and goal is crucial for preparing and supporting decision makers * a quick overview on a project structure is essential to prospectuve new users and possible contr

[web2py:26555] web2py 1.65.4 is OUT

2009-07-15 Thread mdipierro
No new features just some bug fixes that affected '**' not being showed in password edit forms (do not worry the password is never transmitted from server to client) and a typo in tools.py. Please give it a try. Massimo --~--~-~--~~~---~--~~ You received this

[web2py:26556] add record to table using form (view) without reloading page

2009-07-15 Thread DenisBY
I'm sure this question was asked but couln't find it. I have form like this (it looks like table): a | a | a | ... - b | b | b | ... - c | c | c | ... _ | _ | _ | _ [submit] where b and c is old records and _ is the form where I can enter new data.

[web2py:26557] Re: add record to table using form (view) without reloading page

2009-07-15 Thread mdipierro
You have 3 options: - Simple option: make sure query to build the the table is generated after form.accept - Simpler option: redirect(URL(r=request,args=request.args)) after form.accept - Complex but faster solution: use ajax to render the form. Will re1uire lots of changes in your code.

[web2py:26558] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-15 Thread ctalley
Just for another data point, recurring problem for me too. XP, IE7 On Jul 15, 12:49 am, Yarko Tymciurak wrote: > On Tue, Jul 14, 2009 at 11:44 PM, Yarko Tymciurak wrote: > > > On Tue, Jul 14, 2009 at 11:33 PM, Arch wrote: > > >> I was using Google Chrome when I was having the problem. > > >>

[web2py:26559] Re: IS_NOT_IN_DB() and no automatic drop box

2009-07-15 Thread annet
Massimo, I tried: > db.companyactivity.activity.requires=[IS_IN_DB(db,db.activity.id,'% > (activity_name)s'),IS_NOT_IN_DB(db > (db.companyactivity.company==request.vars.company),db.companyactivity.activ > ity)] > db.companyactivity.activity.widget=OptionsWidget.widget ... using revision 1027

[web2py:26560] Strange behavior with firefox

2009-07-15 Thread Jose
The situation is the following one: It is a wizard with four forms (in this massimo helped me a time ago): solicitud -> domicilio1 -> domicilio2 -> domicilo3 -> final The code is the following one: def solicitud(): session.documento = None session.vars = None form = SQLFORM(db

[web2py:26561] Re: Where's the roadmap?

2009-07-15 Thread lpg
I vote for: A: The plug-in mechanism/specification. This is the only core feature missing, which Drupal, RoR and others have. B: Improved visuals and default templates (checkout the latest Django UI elements for the default admin panel; http://gosatchmo.com/static/images/gosatchmo/django-admin-plu

[web2py:26562] Re: add record to table using form (view) without reloading page

2009-07-15 Thread DenisBY
Thanks. Got first option by myself after some time :) btw. web2py is the simpliest framework I've ever seen! I've got my app works after 3 days with ZERO python knowledge! :) On 15 июл, 19:38, mdipierro wrote: > You have 3 options: > - Simple option: >    make sure query to build the the table i

[web2py:26563] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-15 Thread rb
I don't know if this is related, but it sounds similar to a problem I was having (Web2py 1.65.1). I wrote a C++ program to bootstrap my thick-client deployment. The user would download the C++ program from the static file on the server. The program downloads another static file which contains a l

[web2py:26564] how can I prevent caching of python source code for the developemt purposes , cacheing is OK for the release version

2009-07-15 Thread Jitender
How do prevent or instruct he web2py to not ot cache the python source files or pyc files. because when I used ---this -- work as expected in windows-- import some_python_module reload(some_python_module)

[web2py:26566] Re: Strange behavior with firefox

2009-07-15 Thread mdipierro
I do not see the problem. Can you try (just out of curiosity) replace session.vars = ... with session.vars = dict(...) On Jul 15, 1:30 pm, Jose wrote: > The situation is the following one: > > It is a wizard with four forms (in this massimo helped me a time ago): > > solicitud -> domicilio1 -

[web2py:26567] Re: add record to table using form (view) without reloading page

2009-07-15 Thread mdipierro
tell everybody!!! On Jul 15, 2:27 pm, DenisBY wrote: > Thanks. Got first option by myself after some time :) > btw. web2py is the simpliest framework I've ever seen! > I've got my app works after 3 days with ZERO python knowledge! :) > > On 15 июл, 19:38, mdipierro wrote: > > > You have 3 optio

[web2py:26568] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-15 Thread mdipierro
There is a known timeout problem with the version of wsgiserver that we include in web2py. Newer version seem to have even more problems. We never quite got to the bottom of that. The problem does not appear in a typical production environment if you use mod_wsgi and thus bypass wsgiserver. It wo

[web2py:26569] Re: how can I prevent caching of python source code for the developemt purposes , cacheing is OK for the release version

2009-07-15 Thread mdipierro
Seems python problem on fedora to me. On Jul 15, 2:22 pm, Jitender wrote: > How do prevent or instruct he web2py to not ot cache the python source > files or pyc files. > because when I used > > ---this -- work as expected in > windows-

[web2py:26570] Re: Where's the roadmap?

2009-07-15 Thread Sebastian E. Ovide
Hi Timmie, I agree with you. I have some problems proposing a solution based on web2py to customers. I have adopted web2py for my company as I believe in it. I like web2py as it makes us save a lot of time and the mailing list support is great. Nevertheless it is very difficult to propose it to cu

[web2py:26571] Re: Where's the roadmap?

2009-07-15 Thread mdipierro
Would it make a difference it the book were to be free? Massimo On Jul 15, 2:59 pm, "Sebastian E. Ovide" wrote: > Hi Timmie, > > I agree with you. I have some problems proposing a solution based on web2py > to customers. I have adopted web2py for my company as I believe in it. I > like web2py a

[web2py:26572] Re: Where's the roadmap?

2009-07-15 Thread mdipierro
Second question: Have they seen the book at all? On Jul 15, 2:59 pm, "Sebastian E. Ovide" wrote: > Hi Timmie, > > I agree with you. I have some problems proposing a solution based on web2py > to customers. I have adopted web2py for my company as I believe in it. I > like web2py as it makes us sa

[web2py:26573] Re: Where's the roadmap?

2009-07-15 Thread lpg
Hi Massimo, RE: Book, I think we need more training or marketing materials specifically targeting CTOs, perhaps comparing to more established competitors (Java's Spring, Struts). Maybe some CTOs in our community have some input on what those materials should look like? Perhaps someone should start

[web2py:26574] Re: Web2Py Foundation?

2009-07-15 Thread lpg
Does anyone here contribute to other open-source projects with a foundation status? Can you give us some feedback? Thanks! Lucas On Jul 15, 1:17 am, mdipierro wrote: > I would be interested in hearing people's comment about this too. > This may be a good idea to raise the profile of web2py even

[web2py:26575] Re: Where's the roadmap?

2009-07-15 Thread gluegl
The Web2Py has good information on all your questions, have you visited the site? G On Jul 14, 11:55 pm, rb wrote: > Err.. I'm new to web2py. What is it's history? Where did it begin? > What was the vision/impetus? > > On Jul 14, 4:51 pm, lpg wrote: > > > I’m interested in using web2py for some

[web2py:26576] Re: Where's the roadmap?

2009-07-15 Thread gluegl
Why JAVA, any CTO still thinking of JAVA for WEB-APP/MobileAPP should rethink his position/career. The site has a very good comparison to other frameworks that matter... Do agree with the Idea Torrent, Reddish, more substantial "real-world" HTML/CSS(Jquery/Dojo) example. The Django camp have done

[web2py:26577] Bzr Repo cleaning

2009-07-15 Thread Fran
Bumping this for attention - the packs folder is now 560 Mb! http://groups.google.com/group/web2py/msg/6143643210ee4a99 This makes it very hard for developers from more bandwidth-contrained areas (such as Sahana developers). Suggestions: (1) Don't include the .w2p files in the repository (all th

[web2py:26578] Re: reddish2

2009-07-15 Thread Yarko Tymciurak
strange - login - invalid function! (registration works, logs in... so I'm still testing...) On Wed, Jul 15, 2009 at 2:40 PM, Massimo Di Pierro wrote: > You are right. The version of reddish that is posted is much worse > than I thought. So I rewrote it. > > Please test it and let me know. > > S

[web2py:26579] Re: reddish2

2009-07-15 Thread Yarko Tymciurak
... it's trying to go to reddish/redish_plugin/user/login (no such fcn indeed) On Wed, Jul 15, 2009 at 4:02 PM, Yarko Tymciurak wrote: > strange - login - invalid function! (registration works, logs in... so I'm > still testing...) > > > On Wed, Jul 15, 2009 at 2:40 PM, Massimo Di Pierro < > md

[web2py:26580] Re: Where's the roadmap?

2009-07-15 Thread Alejandro Fanjul
Massimo, I bough the book but I noticed that is a bit outdated (without Auth, Crud solutions, some old syntax, etc) Nevertheless is a good book to learn webtopy. Said that, I think that the best way to learn and to do a good online 'marketing' is with tutorials and videotutorials... Alex F ---

[web2py:26581] Re: Where's the roadmap?

2009-07-15 Thread Jonathan Lundell
On Jul 15, 2009, at 1:07 PM, mdipierro wrote: > Would it make a difference it the book were to be free? The book is a very good introduction to and advertisement for web2py. The cost of the pdf isn't a big deal, but I think that purchasing anything for any price is a much bigger barrier that

[web2py:26582] Re: Bzr Repo cleaning

2009-07-15 Thread Douglas Soares de Andrade
Em Quarta-feira 15 Julho 2009, às 18:02:39, Fran escreveu: > Bumping this for attention - the packs folder is now 560 Mb! > http://groups.google.com/group/web2py/msg/6143643210ee4a99 > > This makes it very hard for developers from more bandwidth-contrained > areas (such as Sahana developers). > >

[web2py:26583] Online Code dojo's, code sprints, etc.

2009-07-15 Thread Yarko Tymciurak
Hi All - I've been thinking a lot about setting up project teams, live internet code sprints... and it occurs to me that we could really use code dojos... (an "increase your skills" session versus sprints, which are a bit more "I'm brining my skills and want to contribute"; of course you learn at

[web2py:26584] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-15 Thread Yarko Tymciurak
Yes - I still have all the emails from the cherrypy folks w/ suggestions, and the (really nasty) spreadsheet tracking the packet exchanges between cherrypy and a particular browser engine... I don't know when I'd be able to try to look at this again. If someone wants to debug packets w/ wireshar

[web2py:26585] Re: Web2Py Foundation?

2009-07-15 Thread Yarko Tymciurak
I contributed to the Python Foundation On Wed, Jul 15, 2009 at 3:49 PM, lpg wrote: > > Does anyone here contribute to other open-source projects with a > foundation status? Can you give us some feedback? > Thanks! > Lucas > > On Jul 15, 1:17 am, mdipierro wrote: > > I would be interested in

[web2py:26588] Re: Stumped Beyond Belief

2009-07-15 Thread JohnMc
Well I have to report I found the dang bug! A field name it was. An 'i' was missing from a field name. Sheesh. Too bad somebody doesn't design a debugger that is a cross between Clippy and Johnny Dep's Pirate character -- 'Yavast ya Idiot, de bug is right here' Do have another observation b

[web2py:26586] Re: reddish2

2009-07-15 Thread Yarko Tymciurak
BTW - once this reddish is working, I'm willing to host it (and a resources, and eventually an updated appliances app - one that shows date, versions testsed against, checksums for downloads)... On Wed, Jul 15, 2009 at 4:04 PM, Yarko Tymciurak wrote: > ... it's trying to go to reddish/redish_pl

[web2py:26587] Re: Bzr Repo cleaning

2009-07-15 Thread Yarko Tymciurak
Two things: - If the makefile builds the w2p files, then no need for checkin; only to make a distribution; - we had talked about moving to mercurial hosting - but the google code version was in it's very beginnings; maybe it's time to check the status / stability of google code (people bandwidth

[web2py:26589] Is this normal?

2009-07-15 Thread JohnMc
I have a query. Here is the setup. The releveant table struct -- assets.define_table('bonds', assets.Field('symbl','string'), assets.Field('basis','boolean'), assets.Field('basisprice','double'), assets.Field('basisqty','double'),

[web2py:26590] Re: Web2Py Foundation?

2009-07-15 Thread JohnMc
I make a small donation to the Mozilla Foundation every year. I also donate to EFF tho their aim is more political/legal that developmental. JohnMc On Jul 15, 3:49 pm, lpg wrote: > Does anyone here contribute to other open-source projects with a > foundation status? Can you give us some feedbac

[web2py:26591] Re: Where's the roadmap?

2009-07-15 Thread mdipierro
I have sold about 100 printed version before the end of the year 2008, when PDF was not available. I do not know since then. I suspect nobody buys the printed book given what it costs. The problem is that all of the cost is in the overhead. I could reduce the cost to $25 by publishing the printed

[web2py:26592] Re: Web2Py Foundation?

2009-07-15 Thread JohnMc
If this idea gets a go, highly recommend looking at the set up that Mozilla utilizes. On Jul 14, 11:17 pm, mdipierro wrote: > I would be interested in hearing people's comment about this too. > This may be a good idea to raise the profile of web2py even more than > for collecting tax free donati

[web2py:26593] Re: reddish2

2009-07-15 Thread mdipierro
What triggers it? On Jul 15, 4:04 pm, Yarko Tymciurak wrote: > ... it's trying to go to reddish/redish_plugin/user/login (no such fcn > indeed) > > On Wed, Jul 15, 2009 at 4:02 PM, Yarko Tymciurak wrote: > > strange - login - invalid function!  (registration works, logs in... so I'm > > still t

[web2py:26594] Re: Bzr Repo cleaning

2009-07-15 Thread mdipierro
admin and example will be removed as you suggest. welcome.w2p cannot be removed because it is the scaffolding app. we'll make a new repo as soon as we move to mercurial. when do we move to mercurial? August? On Jul 15, 4:02 pm, Fran wrote: > Bumping this for attention - the packs folder is now

[web2py:26595] Re: Is this normal?

2009-07-15 Thread mdipierro
In gluon/sqlhtml.py OptionsWidget can you please try replace default=dict( _value=value, ) with default=dict( value=value, ) This should fix the problem. Let me know. Massimo On Jul 15, 4:50 pm, JohnMc wrote: > I have a query.

[web2py:26596] Re: Where's the roadmap?

2009-07-15 Thread Fran
On Jul 15, 10:58 pm, mdipierro wrote: > For the next version, one option is to give the PDF free and the printed copy > on lulu. Lowering that entry barrier will indeed be helpful, I'm sure. I know there are excellent reasons for the way you did it in the past, but it puts many people off, whic

[web2py:26597] Re: Where's the roadmap?

2009-07-15 Thread JohnMc
Massimo, Personally, give it away free if they buy the printed book. Free means they have no skin in the game. The small sum you ask for the PDF is less than hour of the typical IT person's time. Fully recouped just spending 30min skimming through the examples. I do have another observation howe

[web2py:26598] Re: Where's the roadmap?

2009-07-15 Thread Bottiger
One idea is to do the same thing as DjangoBook.com. Have a freely commentable edition online so people can help improve it and you don't have to waste an entire summer writing one. Then you can sell the printed version to recover some costs. On Jul 15, 2:58 pm, mdipierro wrote: > I have sold abo

[web2py:26599] Re: Is this normal?

2009-07-15 Thread mdipierro
OK, this was a bug introduced in one of the recent patches. I have fixed it now. 1.65.5 On Jul 15, 4:50 pm, JohnMc wrote: > I have a query. Here is the setup. > > The releveant table struct -- > > assets.define_table('bonds', >                 assets.Field('symbl','string'), >                 a

[web2py:26600] Re: Where's the roadmap?

2009-07-15 Thread Jonathan Lundell
On Jul 15, 2009, at 2:58 PM, mdipierro wrote: > For the next version, one > option is to give the PDF free and the printed copy on lulu. That'd be good. One reason I like the PDF is that it's searchable. The index isn't that great (which is understandable; making a really good index is as h

[web2py:26601] Re: Where's the roadmap?

2009-07-15 Thread mdipierro
What is the license of the DjangoBook? Who owns the copyright? Massimo On Jul 15, 5:13 pm, Bottiger wrote: > One idea is to do the same thing as DjangoBook.com. Have a freely > commentable edition online so people can help improve it and you don't > have to waste an entire summer writing one. T

[web2py:26602] Re: Where's the roadmap?

2009-07-15 Thread Fran
On Jul 15, 11:11 pm, JohnMc wrote: > The small sum you ask for the PDF is > less than hour of the typical IT person's time. Fully recouped just > spending 30min skimming through the examples. For those in developed countries, I agree - I bought the book with little hesitation & am very glad I di

[web2py:26603] web2py 1.65.5 is OUT

2009-07-15 Thread mdipierro
It appears there was one more bug with values in forms so here it is fixed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To

[web2py:26604] Re: Bzr Repo cleaning

2009-07-15 Thread Fran
On Jul 15, 11:03 pm, mdipierro wrote: > admin and example will be removed as you suggest. Thanks > welcome.w2p cannot be removed because it is the scaffolding app. Can you at least not rebuild except when needed? rev 1029 just added another copy when only sqlhtml.py was modified... > we'll ma

[web2py:26605] Re: Stumped Beyond Belief

2009-07-15 Thread Yarko Tymciurak
... that's GOOD news! It makes me think of a writer's workshop I took in Chicago once; the leader said this: "The difference between amateur fiction writers and professional writers can be summarized like this: When an amateur reads his first draft, he says 'dang, this is crap - I'll never be a

[web2py:26606] Re: reddish2

2009-07-15 Thread Yarko Tymciurak
Hmm... now that I'm paying attention again - Going to http://localhost:8000/rdsh(what I named my redish-2 ...) redirects to: http://localhost:8000/rdsh/plugin_reddish/index Selecting the "login" link requests: http://localhost:8000/rdsh/plugin_reddish/user/login which returns an " invali

[web2py:26607] web2py -h

2009-07-15 Thread Jonathan Lundell
..says: -u UPGRADE, --upgrade=UPGRADE but doesn't way what "UPGRADE" is; the manual says --upgrade=yes. Also, -o TIMEOUT, --timeout=TIMEOUT timeout for individual request ought to specify that the timeout is in seconds (assuming that it is). Finally, in my envir

[web2py:26608] Re: Where's the roadmap?

2009-07-15 Thread Yarko Tymciurak
On Wed, Jul 15, 2009 at 5:20 PM, mdipierro wrote: > > What is the license of the DjangoBook? Who owns the copyright? http://www.djangobook.com/ I've liked this (commentable version) - they hacked something they were not willing to share (at least a year ago)... Adrian Holovaty and Jacob Kapla

[web2py:26613] Re: reddish2

2009-07-15 Thread mdipierro
OK I will fix this. meanwhile use http://localhost:8000/rdsh/default/user/login instead of http://localhost:8000/rdsh/plugin_reddish/user/login and check what else does not work. On Jul 15, 5:30 pm, Yarko Tymciurak wrote: > Hmm... now that I'm paying attention again - > > Going to > > http:/

[web2py:26611] Re: Bzr Repo cleaning

2009-07-15 Thread Yarko Tymciurak
On Wed, Jul 15, 2009 at 5:25 PM, Fran wrote: > > On Jul 15, 11:03 pm, mdipierro wrote: > > admin and example will be removed as you suggest. > > Thanks > > > welcome.w2p cannot be removed because it is the scaffolding app. > You can do this: Not version the *.w2p files, rather build them to:

[web2py:26609] Re: Is this normal?

2009-07-15 Thread JohnMc
That change ends up with this traceback -- Traceback (most recent call last): File "web2py.py", line 17, in import gluon.widget File "/home/rootuser/Helix/gluon/widget.py", line 29, in from main import HttpServer, save_password File "/home/rootuser/Helix/gluon/main.py", line 39, i

[web2py:26614] Re: web2py -h

2009-07-15 Thread mdipierro
I agree. Can you send me a patch? On Jul 15, 5:35 pm, Jonathan Lundell wrote: > ..says: > >    -u UPGRADE, --upgrade=UPGRADE > > but doesn't way what "UPGRADE" is; the manual says --upgrade=yes. > > Also,   -o TIMEOUT, --timeout=TIMEOUT >                          timeout for individual request >

[web2py:26612] Re: Is this normal?

2009-07-15 Thread mdipierro
Did you try 1.65.5? It works for me. Massimo On Jul 15, 5:37 pm, JohnMc wrote: > That change ends up with this traceback -- > > Traceback (most recent call last): >   File "web2py.py", line 17, in >     import gluon.widget >   File "/home/rootuser/Helix/gluon/widget.py", line 29, in >     fro

[web2py:26610] upgrade instructions

2009-07-15 Thread Jonathan Lundell
On http://web2py.com/examples/default/download, the 'Instructions' section ought to mention (or link to) upgrade instructions (just a quick summary of unzip-over-installation, and the --upgrade command). And it ought to link to more detailed installation/deployment instructions (like what's

[web2py:26616] Re: Is there a way to place apps in a separate directory from the "applications" directory?

2009-07-15 Thread Richard
whoops - this was just reported in another thread! On Jul 16, 8:49 am, Richard wrote: > a note on upgrading:> python web2py.py -h > > ... > -u UPGRADE, --upgrade=UPGRADE                        upgrade > applications > > The doc string says --upgrade=UPGRADE but this doesn't work. You have > to

[web2py:26615] Re: Is there a way to place apps in a separate directory from the "applications" directory?

2009-07-15 Thread Richard
a note on upgrading: > python web2py.py -h ... -u UPGRADE, --upgrade=UPGRADEupgrade applications The doc string says --upgrade=UPGRADE but this doesn't work. You have to use --upgrade=yes. Richard On May 28, 11:45 pm, mdipierro wrote: > If you unzip new web2py over old

[web2py:26617] Re: reddish2

2009-07-15 Thread Yarko Tymciurak
On Wed, Jul 15, 2009 at 5:47 PM, mdipierro wrote: > > OK I will fix this. meanwhile use > > http://localhost:8000/rdsh/default/user/login Yep - this works (sorry - I didn't have time to dig more; just try) > > > instead of > > http://localhost:8000/rdsh/plugin_reddish/user/login > > and check

[web2py:26618] Re: multiple uploads

2009-07-15 Thread Richard
hello, I want to store the actual length of each uploaded file in my table. I've seen around the forum people using request.env.content_length for that. Is there an alternative interface to that information? Richard On Jul 15, 11:44 pm, mdipierro wrote: > No there s no problem with this. You

[web2py:26619] Re: Is this normal?

2009-07-15 Thread JohnMc
in 1.65.5 here is the traceback I receive upon attempting to enter admin Traceback (most recent call last): File "/home/rootuser/Helix/gluon/restricted.py", line 176, in restricted exec ccode in environment File "/home/rootuser/Helix/applications/admin/controllers/ default.py", line 837,

[web2py:26620] Re: Is this normal?

2009-07-15 Thread JohnMc
Hold on. Looks like it is with my app alone. Welcome works. I have to port the source files manually as the 1.65.4 looks to have bonkered the w2p package. On Jul 15, 6:16 pm, JohnMc wrote: > in 1.65.5 here is the traceback I receive upon attempting to enter > admin > > Traceback (most recent cal

[web2py:26621] Re: Is this normal?

2009-07-15 Thread JohnMc
Massimo, Well good news, 1.65.5 DOES solve the behavior that started this thread. So I consider it closed. As always thank you Sir! Almost too painful. Learned one lesson -- build your *.w2p app bundle before you muck around with the code. I think I need a beer. :) JohnMc On Jul 15, 6:19 pm, J

[web2py:26622] Re: Web2Py Foundation?

2009-07-15 Thread Joe Barnhart
I regularly contribute to: Wikipedia SourceForge EFF pfSense m0n0wall KnoppMyth ...and others... On Jul 15, 1:49 pm, lpg wrote: > Does anyone here contribute to other open-source projects with a > foundation status? Can you give us some feedback? > Thanks! > Lucas --~--~-~--~~---

[web2py:26623] Re: Stumped Beyond Belief

2009-07-15 Thread JohnMc
Yarko, Right on all counts. I don't know if PyLint would have caught this one. What kept throwing me is that the ticket would report error at the end of the x..insert() so as I am want to do was looking for a error either on that line or the one immediately above it. The .insert() only r

[web2py:26624] Re: Online Code dojo's, code sprints, etc.

2009-07-15 Thread JohnMc
I like the idea. You might take a look at Dim-Dim. They provide the source code if you want to host yourself. They offer free hosting for presentations < 20 participants. I always recommend them, its good stuff. JohnMc On Jul 15, 4:22 pm, Yarko Tymciurak wrote: > Hi All - > > I've been think

[web2py:26625] Re: multiple uploads

2009-07-15 Thread mdipierro
This should do it but I have not tried it db.define_table('image',Field('data','upload'),Field ('size','integer')) def store_size(form): request.vars.image.file.seek(0) form.vars.size=len(request.vars.image.file.read()) form=SQLFORM(db.image) form.accept(request.vars,session,onvalidatio

[web2py:26626] Re: Is this normal?

2009-07-15 Thread mdipierro
Thanks for reporting this. was a nasty bug. On Jul 15, 7:07 pm, JohnMc wrote: > Massimo, > > Well good news, 1.65.5 DOES solve the behavior that started this > thread. So I consider it closed. As always thank you Sir! > > Almost too painful. Learned one lesson -- build your *.w2p app bundle > be

[web2py:26627] running as production

2009-07-15 Thread jayvandal
Hi, I am following the cookbook as a tutorial but I am confused about relating this to a production mode. I thought I would have URL HTTP://localhost/cookbook/ that would give me a master menu and have URLS that point to the detail screens. Any explanation would help. Thanks JIm --~--~-

[web2py:26628] Re: multiple uploads

2009-07-15 Thread Richard
Is there a way to get the length without reading it all into memory? I'm dealing with big files so I use gluon.fileutils.copystream() to keep memory usage down. On Jul 16, 2:46 pm, mdipierro wrote: > This should do it but I have not tried it > > db.define_table('image',Field('data','upload'),Fi

[web2py:26629] Re: multiple uploads

2009-07-15 Thread Jonathan Lundell
On Jul 15, 2009, at 9:46 PM, mdipierro wrote: > This should do it but I have not tried it > > db.define_table('image',Field('data','upload'),Field > ('size','integer')) > > def store_size(form): >request.vars.image.file.seek(0) >form.vars.size=len(request.vars.image.file.read()) > > form=

[web2py:26630] Re: multiple uploads

2009-07-15 Thread Richard
thanks Jonathan! On Jul 16, 4:03 pm, Jonathan Lundell wrote: > On Jul 15, 2009, at 9:46 PM, mdipierro wrote: > > > This should do it but I have not tried it > > > db.define_table('image',Field('data','upload'),Field > > ('size','integer')) > > > def store_size(form): > >    request.vars.image.f

[web2py:26631] Re: Online Code dojo's, code sprints, etc.

2009-07-15 Thread Yarko Tymciurak
Nice - alas, you can only share desktops from Mac or Windows I want to be able to share from my Linux (I _could_ run from Virtualbox windows, but somehow that seems like sacrelige!) On Wed, Jul 15, 2009 at 7:25 PM, JohnMc wrote: > > I like the idea. > > You might take a look at Dim-Dim. > >

[web2py:26632] Re: running as production

2009-07-15 Thread Fran
On Jul 16, 6:36 am, jayvandal wrote: > I am following the cookbook as a tutorial but I am confused about > relating this to a production mode. I thought I would have URL > HTTP://localhost/cookbook/ You can run on port 80 if you wish (simply amend options_std.py). Real Production is unlikely to