[web2py:20605] Re: gzip apps by default

2009-04-26 Thread Yarko Tymciurak
-rw-r--r-- 1 yarko web2py 7884800 2009-04-27 01:23 examples.tar -rw-r--r-- 1 yarko web2py 579201 2009-04-27 01:34 examples.tar.7z -rw-r--r-- 1 yarko web2py 798509 2009-04-27 01:27 examples.tar.gz -rw-r--r-- 1 yarko web2py 798634 2009-04-27 01:25 examples.tar.zip Why stop with gzip? Why not use

[web2py:20604] Re: web2py on GAE info is posted on new T3 app deployed at http://futurelogic1.appspot.com/

2009-04-26 Thread Yarko Tymciurak
That's correct - you must use https to get to the wiki; the correct link is: https://www.web2py.com/wiki You can also get to this from the "User's Wiki" link on http://www.web2py.com On Sun, Apr 26, 2009 at 11:55 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > > Accessing http://

[web2py:20603] gzip apps by default

2009-04-26 Thread Álvaro Justen [Turicas]
Hello, why aren't apps gzipped by default? Ok, all source code is zipped, but if I want to download only one app (from SVN/Bazaar or from appliances) I have to download a big file. An example is examples.tar, that has 7,5MB - examples.tar.gz has only 810kB (less than 11% of the original size). So

[web2py:20602] Re: do you consult? do you have a company?

2009-04-26 Thread SergeyPo
Great! Thank you, Massimo. On Apr 27, 9:42 am, mdipierro wrote: > I added the link. > > On 27 Apr, 00:37, SergeyPo wrote: > > > My company Zarealye develops personal loans data mining application > > with web frontend, uses web2py.  Link to English web page > > ishttp://zarealye.com/ca/Collect

[web2py:20601] Re: do you consult? do you have a company?

2009-04-26 Thread mdipierro
I added the link. On 27 Apr, 00:37, SergeyPo wrote: > My company Zarealye develops personal loans data mining application > with web frontend, uses web2py.  Link to English web page > ishttp://zarealye.com/ca/Collect_Advantage/ > > And we have large CRM project with call centre intergration in

[web2py:20600] Re: do you consult? do you have a company?

2009-04-26 Thread SergeyPo
My company Zarealye develops personal loans data mining application with web frontend, uses web2py. Link to English web page is http://zarealye.com/ca/Collect_Advantage/ And we have large CRM project with call centre intergration in our plans. On Apr 27, 8:44 am, mdipierro wrote: > If you work

[web2py:20599] Re: do you consult? do you have a company?

2009-04-26 Thread Álvaro Justen [Turicas]
On Mon, Apr 27, 2009 at 1:44 AM, mdipierro wrote: > If you work or own a company that uses web2py, in particular if you do > any consulting, you may want to be listed as an "affiliated company" > on the web2py page. > > It is free. Just ask me. I'm founder of a company that work implementing sol

[web2py:20598] CSS and jquery

2009-04-26 Thread mdipierro
Should we rewrite the welcome app using these so that we can use jquery themes? Can you help? Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email t

[web2py:20597] Re: web2py on GAE info is posted on new T3 app deployed at http://futurelogic1.appspot.com/

2009-04-26 Thread Alexei Vinidiktov
Accessing http://www.web2py.com/wiki results in "Invalid function". The secure url https://www.web2py.com/wiki does work. On Mon, Apr 27, 2009 at 11:32 AM, mdipierro wrote: > > perhaps you can also contribute the text to > > http://www.web2py.com/wiki > > On 26 Apr, 21:13, dlypka wrote: >> The

[web2py:20596] do you consult? do you have a company?

2009-04-26 Thread mdipierro
If you work or own a company that uses web2py, in particular if you do any consulting, you may want to be listed as an "affiliated company" on the web2py page. It is free. Just ask me. Massimo --~--~-~--~~~---~--~~ You received this message because you are subscri

[web2py:20595] python 2.4 and has_key

2009-04-26 Thread mdipierro
Hello everybody, thanks to Douglas and Alvaro we have a new version in trunk that works with 2.4 and no longer contains has_key (deprecated). A lot of lines of code have changed to achieve this so please get the latest trunk and try it. Any future patch must be against launchpad 688 or google s

[web2py:20594] Re: Want to make a feature, just would like some help on where to look...

2009-04-26 Thread Yarko Tymciurak
hack, learn, and ask questions along the way :-) and have LOTS OF FUN! ;-) On Sun, Apr 26, 2009 at 10:41 PM, Jason Brower wrote: > > Thanks, > I will hack and it and see what I can learn. :D > Regards, > Jason Brower > > > On Sun, 2009-04-26 at 13:37 -0500, Yarko Tymciurak wrote: > > If I under

[web2py:20593] Re: Want to make a feature, just would like some help on where to look...

2009-04-26 Thread Jason Brower
Thanks, I will hack and it and see what I can learn. :D Regards, Jason Brower On Sun, 2009-04-26 at 13:37 -0500, Yarko Tymciurak wrote: > If I understand - you want to be able to have a link which will take > you to the line / code where an exception occurred. > > Break apart what you want to d

[web2py:20592] Re: cache.ram with mod_wsgi/apache does not work?

2009-04-26 Thread mdipierro
as long as we have it somewhere. Thanks. On 26 Apr, 21:23, Mark Larsen wrote: > > would you write an AlterEgo entry about this? > > Done. > > Also, I added a wiki entry about configuring apache/mod_wsgi with > web2py not at the root of the web-server (I can't believe there's not > more demand fo

[web2py:20591] Re: web2py on GAE info is posted on new T3 app deployed at http://futurelogic1.appspot.com/

2009-04-26 Thread mdipierro
perhaps you can also contribute the text to http://www.web2py.com/wiki On 26 Apr, 21:13, dlypka wrote: > The link ishttp://futurelogic1.appspot.com/ > > On Apr 26, 9:56 pm, dlypka wrote: > > > I used T3 to rapidly deploy some of my (limited) web2py on GAE > > knowledge. > > > I hope the commun

[web2py:20590] Re: Cross database joins

2009-04-26 Thread mdipierro
You can do separate queries or you can copy the tables form database 2 into database 1. The second option will save you a lot of trouble. Massimo On 26 Apr, 21:00, Baron wrote: > On Apr 27, 11:45 am, mdipierro wrote: > > > > > On 26 Apr, 20:28, rbp wrote: > > > > hello, > > > > I read in this

[web2py:20589] Re: cache.ram with mod_wsgi/apache does not work?

2009-04-26 Thread Mark Larsen
> would you write an AlterEgo entry about this? Done. Also, I added a wiki entry about configuring apache/mod_wsgi with web2py not at the root of the web-server (I can't believe there's not more demand for that). Would that be better served as an AlterEgo entry? --~--~-~--~~---

[web2py:20588] Re: web2py on GAE info is posted on new T3 app deployed at http://futurelogic1.appspot.com/

2009-04-26 Thread dlypka
The link is http://futurelogic1.appspot.com/ On Apr 26, 9:56 pm, dlypka wrote: > I used T3 to rapidly deploy some of my (limited) web2py on GAE > knowledge. > > I hope the community finds it useful. > > I plan to constantly update it. --~--~-~--~~~---~--~~ You rec

[web2py:20587] Re: Cross database joins

2009-04-26 Thread Baron
On Apr 27, 11:45 am, mdipierro wrote: > On 26 Apr, 20:28, rbp wrote: > > > > > hello, > > > I read in this thread (http://groups.google.com/group/web2py/ > > browse_thread/thread/add0a8ff0a086111) that cross database joins are > > supported. > > I'm trying to get this working. > > > I define m

[web2py:20586] web2py on GAE info is posted on new T3 app deployed at http://futurelogic1.appspot.com/

2009-04-26 Thread dlypka
I used T3 to rapidly deploy some of my (limited) web2py on GAE knowledge. I hope the community finds it useful. I plan to constantly update it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework"

[web2py:20585] Re: Cross database joins

2009-04-26 Thread mdipierro
On 26 Apr, 20:28, rbp wrote: > hello, > > I read in this thread (http://groups.google.com/group/web2py/ > browse_thread/thread/add0a8ff0a086111) that cross database joins are > supported. > I'm trying to get this working. > > I define my tables like this: > > db1 = SQLDB("sqlite://db1.db") > db

[web2py:20584] Cross database joins

2009-04-26 Thread rbp
hello, I read in this thread (http://groups.google.com/group/web2py/ browse_thread/thread/add0a8ff0a086111) that cross database joins are supported. I'm trying to get this working. I define my tables like this: db1 = SQLDB("sqlite://db1.db") db2 = SQLDB("sqlite://db2.db") db1.define_table('a',

[web2py:20583] Re: Override data/update SQLFORM behavior

2009-04-26 Thread mdipierro
Yes, you can make the form in html as usual for SQLFORM. On 26 Apr, 18:37, Gary wrote: > Is there a simple way to replace the automatically generated SQLFORM > in the various crud controllers with a custom SQLFORM? > > Thanks. --~--~-~--~~~---~--~~ You received th

[web2py:20582] Override data/update SQLFORM behavior

2009-04-26 Thread Gary
Is there a simple way to replace the automatically generated SQLFORM in the various crud controllers with a custom SQLFORM? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To pos

[web2py:20581] Re: google code and mercurial

2009-04-26 Thread Yarko Tymciurak
...I left out one crucial point: rietveld was written by Guido von Rossum, and runds on django and GAE; Porting to web2py is in progress... Branching off to collect other important information is my aim; anyway, it is a great starting point, a python applicaiton. On Sun, Apr 26, 2009 at 6:19 PM

[web2py:20580] Re: google code and mercurial

2009-04-26 Thread Yarko Tymciurak
We will want to look over google-code vs. bitbucket facilities; although google code has wiki, bugtracker, etc. the mercurial specific cloning and encouraging people to submit patches - once it goes to hg - this we will want to look at carefully. Right now, reitveld code review works w/ svn or h

[web2py:20579] Re: lazyT

2009-04-26 Thread mdipierro
without lazyT then in print T("a") T.force("it") print T("b") "a" will be translated according to the accept-language "b" will be translated in Italian Because models are executed in alphabetic order (and before controllers) and may have T in labels and validators, one may run into trouble (for

[web2py:20578] Re: lazyT

2009-04-26 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 7:54 PM, mdipierro wrote: > The change would speed up translation a bit and make the syntax > cleaner but it would prevent users from setting the current language > after T is used the first time. This would be a soft break of backward > compatibility since I do not believ

[web2py:20577] appliances

2009-04-26 Thread mdipierro
Once again PLEASE volunteer to take ownership of the apps posted on "appliances". It is hard for me to maintain them all so, if you use one of them, you could be the official maintainer instead. Massimo --~--~-~--~~~---~--~~ You received this message because you ar

[web2py:20576] lazyT

2009-04-26 Thread mdipierro
There is a proposal by Alvaro to remove lazyT from languages.py This means that T("translate me") will return a translated string instead of a lazyT object that is instantiated when included in text or when forced via str(T()). The change would speed up translation a bit and make the syntax c

[web2py:20575] Re: google code and mercurial

2009-04-26 Thread mdipierro
Hi Douglas, yes I can use help. Let me know what needs to be done. My guess is that we need to fill empty folders or they'll not be versioned. Massimo On 26 Apr, 17:47, Douglas Soares de Andrade wrote: > Em Domingo 26 Abril 2009, às 17:53:04, mdipierro escreveu: > > > This is good news for us

[web2py:20574] Re: google code and mercurial

2009-04-26 Thread Douglas Soares de Andrade
Em Domingo 26 Abril 2009, às 17:53:04, mdipierro escreveu: > This is good news for us > > http://google-code-updates.blogspot.com/2009/04/mercurial-support-for-proje >ct-hosting.html > > We can now use google as central repository and use a DVCS instead of > SVN. > > This will make my life much ea

[web2py:20573] Re: Need help with query on datetime field

2009-04-26 Thread Yarko Tymciurak
This is a good question, and I'm glad someone raises "how to you think abou this" once in a while. This is not (very much) about web2py - this is about python objects, and being aware of what it is you are manipulating... and where it is coming from. Basically, databases store a binary value; th

[web2py:20572] Re: Using local CAS provider with app in the same web2py instance

2009-04-26 Thread David Zejda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Massimo, thanks. Now, if I try the exposed login controller in my application, I'm getting ticket with id,email,name=session.token TypeError: 'NoneType' object is not iterable instead of login page being shown. In CAS.login_url there is a http://l

[web2py:20571] google code and mercurial

2009-04-26 Thread mdipierro
This is good news for us http://google-code-updates.blogspot.com/2009/04/mercurial-support-for-project-hosting.html We can now use google as central repository and use a DVCS instead of SVN. This will make my life much easier. We will move from BZR to HG within two months. Massimo --~--~-

[web2py:20570] Re: Completely lost with DB-stuff....

2009-04-26 Thread André van der Vlies
Still got that error though... AttributeError: 'str' object has no attribute 'tag' 2009/4/26 André van der Vlies : > Clear! > > On Sun, Apr 26, 2009 at 9:16 PM, Yarko Tymciurak wrote: >> There is a piece here that is dense, has caused some confusion and deserves >> a comment: >> >>

[web2py:20569] Re: Tip of the day: impersonation

2009-04-26 Thread mdipierro
This is now in trunk and seems to work. Please give it a try. 1) use auth and register two users (id=1,name='you') (id=2,name='other') 2) login as 1 3) create a test controller that displays the session 4) in model auth.add_permission(1,'impersonate','auth_user',2) 5) call the URL http:/

[web2py:20568] Re: TEXTAREA helper

2009-04-26 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 12:45 PM, carlo wrote: > I can not find the right way to put in a TEXTAREA some texts each on a > new line. Any help? In gluon/html.py we have a class TEXTAERA. Example: TEXTAREA(_name='test', value='line1\nline2', _cols=70, _rows=5) -- Álvaro Justen Peta5 - Telecomun

[web2py:20567] Re: Orderby

2009-04-26 Thread Álvaro Justen [Turicas]
On Sat, Apr 25, 2009 at 11:03 AM, mdipierro wrote: > from gluon.contrib.markdown import WIKI > > {{=WIKI(text)}} Phynthon (is it your name or nick? :-P), You can use wiki syntax, but if you want to edit as in a WYSIWYG you can add a javascript library that do this for you: transform a textarea i

[web2py:20566] Re: Need help with query on datetime field

2009-04-26 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 4:45 PM, weheh wrote: > I tried your suggestion but it didn't do a lot to clarify for me. I'm > interested in learning the exact python terminology to refer to day > and day(). Is day() a method of db.a.dts class? Is day an element of > request.now? Try dir(X), help(X), t

[web2py:20565] Re: Need help with query on datetime field

2009-04-26 Thread weheh
I tried your suggestion but it didn't do a lot to clarify for me. I'm interested in learning the exact python terminology to refer to day and day(). Is day() a method of db.a.dts class? Is day an element of request.now? --~--~-~--~~~---~--~~ You received this messa

[web2py:20564] Re: Completely lost with DB-stuff....

2009-04-26 Thread André van der Vlies
Clear! On Sun, Apr 26, 2009 at 9:16 PM, Yarko Tymciurak wrote: > There is a piece here that is dense, has caused some confusion and deserves > a comment: > > On Sun, Apr 26, 2009 at 1:32 PM, DolleDries > wrote: >> >> Given the model for web2py-wiki: >> >> >> db.define_table('tag', >>   db.Field

[web2py:20563] Re: Completely lost with DB-stuff....

2009-04-26 Thread André van der Vlies
Okay. So, this line is for FORM creation But does these things db.define_table('tag', db.Field('name')) and db.Field('tags','text') related to each other? What is in tags The id of a tag??? Or the name??? Is it a string of numbers "1, 4, 6, 7, 8" or names "Reference, Aut

[web2py:20562] Re: About porting web2py app to appengine

2009-04-26 Thread mdipierro
Actually that demo was for 1.32 ( do not know why I said 1.82). I was with every version since. Massimo On 26 Apr, 14:14, Samit Pal wrote: > Hi, > > I was watching http://www.youtube.com/watch?v=YZTG2IBMXeU which is a > video on how to deploy web2py app on the Google appengine. It talks > about

[web2py:20561] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 4:21 PM, Alexei Vinidiktov wrote: > Thanks, Álvaro! You're welcome. > Are there any hard to overcome obstacles to implementing your feature request? I don't know how web2py receives and handles requests from web server - I didn't study this part of web2py's code. So, Ma

[web2py:20560] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 2:13 PM, mdipierro wrote: > There is this code in gluon/tools.py > >            if self.settings.mailer: >                user[form.vars.id] = dict(registration_key=key) >                if not self.settings.mailer.send(to=form.vars.email, >                        subject=

[web2py:20559] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
On Mon, Apr 27, 2009 at 3:15 AM, Álvaro Justen [Turicas] wrote: > > On Sun, Apr 26, 2009 at 3:50 PM, Alexei Vinidiktov > wrote: >> Both on the local and remote server the user who's being registered >> gets an email with a broken link like this: >> >> """ >> Click on the link >> http://...verify

[web2py:20558] Re: Completely lost with DB-stuff....

2009-04-26 Thread Yarko Tymciurak
There is a piece here that is dense, has caused some confusion and deserves a comment: On Sun, Apr 26, 2009 at 1:32 PM, DolleDries wrote: > > Given the model for web2py-wiki: > > > db.define_table('tag', > db.Field('name')) > > db.tag.name.requires=IS_NOT_EMPTY() > > db.define_table('page', >

[web2py:20557] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 3:50 PM, Alexei Vinidiktov wrote: > Both on the local and remote server the user who's being registered > gets an email with a broken link like this: > > """ > Click on the link > http://...verify_email/078f3dad-f248-4db6-8aee-603da176ad49 to verify > your email > """ > >

[web2py:20556] About porting web2py app to appengine

2009-04-26 Thread Samit Pal
Hi, I was watching http://www.youtube.com/watch?v=YZTG2IBMXeU which is a video on how to deploy web2py app on the Google appengine. It talks about version 1.82. How can i get that? I can't find it in the svn branch. Thnx --~--~-~--~~~---~--~~ You received this m

[web2py:20555] Re: Completely lost with DB-stuff....

2009-04-26 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 3:32 PM, DolleDries wrote: > Given the model for web2py-wiki: > > > db.define_table('tag', >   db.Field('name')) > > db.tag.name.requires=IS_NOT_EMPTY() > > db.define_table('page', >   db.Field('uuid',length=128,writable=False,default=str(uuid.uuid4 > ())), >   db.Field('t

[web2py:20554] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
Thanks, Massimo. I compiled Python myself, but it was quite some time ago, I may have compiled it without pyopenssl. I'll try recompiling it. On Mon, Apr 27, 2009 at 2:48 AM, mdipierro wrote: > > I think you either do not have pyopenssl or python was compiled > without it. > > Massimo > > On 26

[web2py:20553] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
Thanks for your help, Massimo! OK, I've finally got it figured out. Turns out I used two different smtp servers in the sendmail action and in the db.py, that's why sendmail started to work after I commented out the call to starttls(), and the registration page didn't start working. Now all the f

[web2py:20552] Completely lost with DB-stuff....

2009-04-26 Thread DolleDries
Given the model for web2py-wiki: db.define_table('tag', db.Field('name')) db.tag.name.requires=IS_NOT_EMPTY() db.define_table('page', db.Field('uuid',length=128,writable=False,default=str(uuid.uuid4 ())), db.Field('title'), db.Field('menu',length=128), db.Field('public','boolean

[web2py:20551] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread mdipierro
I think you either do not have pyopenssl or python was compiled without it. Massimo On 26 Apr, 13:14, Alexei Vinidiktov wrote: > I've almost nailed it. > > I didn't implement the sendmail3 action, but I did something similar. > I've looked at the implementation of the mail method of the Mail cl

[web2py:20550] Re: Translate all strings

2009-04-26 Thread Álvaro Justen [Turicas]
On Fri, Apr 24, 2009 at 1:02 AM, mdipierro wrote: > I really like this. Can you send me a patch? Massimo, did you received my patch? I sent 3 emails directly to you with information and files but I think you did not receive. -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021

[web2py:20549] Re: Want to make a feature, just would like some help on where to look...

2009-04-26 Thread Yarko Tymciurak
If I understand - you want to be able to have a link which will take you to the line / code where an exception occurred. Break apart what you want to do something like this, I think: 2 parts: get admin to programmatically edit a desired line in a desired file; parse a ticket, to get the intere

[web2py:20548] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
I've almost nailed it. I didn't implement the sendmail3 action, but I did something similar. I've looked at the implementation of the mail method of the Mail class and saw the calls that I didn't use: server.ehlo() and server.starttls(). The call to server.starttls() at line 78 in tools.py doesn

[web2py:20547] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread mdipierro
Interesting.. web2py's mail does somthing like def sendmail3(): import smtplib conn = smtplib.SMTP('mail.mydomain.com') conn.ehlo() conn.starttls() conn.ehlo() loginres = conn.login('ale...@mydomain.com', 'password') conn.sendmail('ale...@mydomain.com', 'ale...@

[web2py:20546] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
Here's what I've found out. For testing purposes I've added two actions to my default controller: sendmail and sendmail2. The first (sendmail ) uses the Mail class from web2py, and the second (sendmail2) uses the smtplib module directly. sendmail() and sendmail2() both work fine on my local ser

[web2py:20545] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread mdipierro
There is this code in gluon/tools.py if self.settings.mailer: user[form.vars.id] = dict(registration_key=key) if not self.settings.mailer.send(to=form.vars.email, subject=self.messages.verify_email_subject,

[web2py:20544] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
Thanks for your input, Massimo. It's got to be it. If I deliberately change the smtp info on my local server to be incorrect, the app behaves the same as on the remote server. I've tried to send an email from the python shell at the remote server via ssh and it worked fine. What can I do to inv

[web2py:20543] Re: psycopg2-2.0.10 install linux ,help me

2009-04-26 Thread Michal Jursa
Please report this to psycopg developers. I think there are mostly only psycopg users like me here and this has nothing to do with web2py. Michal wengfei2...@163.com wrote: > I use python2.5 ,but the problem exists then > > [r...@localhost psycopg2-2.0.10]# python setup.py install > running

[web2py:20542] Re: TEXTAREA helper

2009-04-26 Thread mdipierro
Is this text you type in the textarea or does it come from a database. Can you provide an example of the text? On Apr 26, 10:45 am, carlo wrote: > I can not find the right way to put in a TEXTAREA some texts each on a > new line. Any help? > > carlo --~--~-~--~~~---~

[web2py:20541] TEXTAREA helper

2009-04-26 Thread carlo
I can not find the right way to put in a TEXTAREA some texts each on a new line. Any help? carlo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2

[web2py:20540] Re: About file upload and renaming

2009-04-26 Thread mdipierro
I think we can make this much easier to do. Hopefully next version. Massimo On Apr 26, 12:59 am, Iceberg wrote: > Hi pals, > > I've read "About file upload and renaming" > here:http://mdp.cti.depaul.edu/AlterEgo/default/show/50 > > I think it is somewhat hard to remember we should do: >   form

[web2py:20539] Re: psycopg2-2.0.10 install linux ,help me

2009-04-26 Thread wengfei2...@163.com
I use python2.5 ,but the problem exists then [r...@localhost psycopg2-2.0.10]# python setup.py install running install running build running build_py running build_ext Traceback (most recent call last): File "setup.py", line 410, in ext_modules=ext) File "/usr/local/lib/python2.5/distu

[web2py:20538] Re: Want to make a feature, just would like some help on where to look...

2009-04-26 Thread mdipierro
I like it. If you send me a patch I will include it. Massimo On Apr 26, 7:22 am, Jason Brower wrote: > I want to contribute to the development of web2py. :D > I have an idea to add a feature.  This one, for one, makes it so there > is an anchor on the line numbers when there is an error report.

[web2py:20537] Re: Need help with query on datetime field

2009-04-26 Thread mdipierro
say you have an app called myapp with a table db.define_table('a',SQLField('dts','datetime')) from the shell try: pytho web2py.py -S myapp -M >>> print db.tables >>> print db.a >>> print db.a.dts >>> print db.a.dts.day() >>> print request.now >>> print request.now.day On Apr 26, 6:37 am, weh

[web2py:20536] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread mdipierro
I think the problem is that there is a failure to send the confirmation email. It is either the remote server not accepting the smtp connection or, if you are using a third party smtp server, cold be a firewall issue. Massimo On Apr 25, 11:52 pm, Alexei Vinidiktov wrote: > On Sun, Apr 26, 2009

[web2py:20535] Re: append/delete to SQLRow

2009-04-26 Thread Álvaro Justen [Turicas]
On Sun, Apr 26, 2009 at 1:02 AM, weheh wrote: > Thanks Álvaro, that looks like it would do the trick. How did you > learn this? Did you study the gluon code or did you read about this > elsewhere? I read gluon code, but in this case I only used ipython shell. Install ipython and do: python web2p

[web2py:20534] Re: Want to make a feature, just would like some help on where to look...

2009-04-26 Thread Jason Brower
I want to contribute to the development of web2py. :D I have an idea to add a feature. This one, for one, makes it so there is an anchor on the line numbers when there is an error report. So it can jump to the line where the error happened. You can do it if you like. But I want to be a bigger p

[web2py:20533] Re: Need help with query on datetime field

2009-04-26 Thread weheh
Yes, however could you state this for me more formally? Such as "day ()" is a method of the class field, which is instantiated here as dts ...? It helps me to understand what's going on under the hood of web2py. Thx. --~--~-~--~~~---~--~~ You received this message b

[web2py:20532] Re: psycopg2-2.0.10 install linux ,help me

2009-04-26 Thread jeff
On 26 avr, 00:54, mdipierro wrote: > This looks like a psycopg issue. Mind that you need python 2.5 to run > web2py. > > On Apr 25, 11:53 am, "wengfei2...@163.com" > wrote: > > > [r...@localhost psycopg2-2.0.10]# python setup.py install > > running install > > running build > > running build_p