[web2py:16964] Re: got problem when running on local GAE

2009-02-26 Thread Joseph Jude
web2py admin is not supported in GAE. However you can access GAE's admin from _ah/admin On Feb 26, 6:04 am, Jarod Liu wrote: > I followed the linkhttp://mdp.cti.depaul.edu/AlterEgo/default/show/186 > to deploy web2py on local GAE, but failed. > > my platforms: > 32bit linux > gae_sdk 1.1.9 > we

[web2py:16965] Re: Critical point in web2py

2009-02-26 Thread Alexandre Miguel de Andrade Souza
I register, and when clicking in the link of email, http://mdp.cti.depaul.edu/wiki/default/user/verify_email/ae86ee8c-5d9a-4d92-973a-4795654a6f28 its returns a invalid function page. 2009/2/26 mdipierro > > Point taken. Try this: > > https://mdp.cti.depaul.edu/wiki > > I can complete the TO

[web2py:16966] Re: Can hardcron work without being triggered by a request?

2009-02-26 Thread AchipA
On Feb 26, 5:23 am, Iceberg wrote: > I don't really understand how cron patch works but, since the global > crontype equals to "Soft" by default, is there some reason causing the > win distrib to detect itself as running in cgi or wsgi mode and > therefore the soft cron mode? Not really detectin

[web2py:16967] Re: Critical point in web2py

2009-02-26 Thread Petros Diveris
Vut why not use the tracker of this very site? I mean, code.google.com does provide issue tracking linked with the SVN On Feb 25, 2:51 pm, Paul Eden wrote: > +1 on a centralized place for documentation. > > I'm undecided on if we should use trac or web2py for this though. > - Trac is a great

[web2py:16968] Re: Can hardcron work without being triggered by a request?

2009-02-26 Thread Iceberg
On Feb26, 7:35pm, AchipA wrote: > On Feb 26, 5:23 am, Iceberg wrote: > > > I don't really understand how cron patch works but, since the global > > crontype equals to "Soft" by default, is there some reason causing the > > win distrib to detect itself as running in cgi or wsgi mode and > > there

[web2py:16969] Re: Using numpy in web2py

2009-02-26 Thread aneesha
Thanks and an even bigger thanks for creating web2py! It is awesome! On Feb 26, 12:05 am, mdipierro wrote: > Run from source, install numpy (using easy_install for example) then > import it where you need it as in any python program. > > On Feb 25, 6:14 am, aneesha wrote: > > > Hi > > > How ca

[web2py:16970] Re: Can hardcron work without being triggered by a request?

2009-02-26 Thread AchipA
If it works for you, sure, but I expect that future to be in 1.57 :) As a bonus feature, if you use db mode (required on GAE) you will get a 'free' cron log, too. On Feb 26, 1:44 pm, Iceberg wrote: > On Feb26, 7:35pm, AchipA wrote: > > > > > On Feb 26, 5:23 am, Iceberg wrote: > > > > I don't r

[web2py:16971] Re: Critical point in web2py

2009-02-26 Thread mdipierro
when you verify_email, replace http with https Massimo On Feb 26, 5:27 am, Alexandre Miguel de Andrade Souza wrote: > I register, and when clicking in the link of email, > > http://mdp.cti.depaul.edu/wiki/default/user/verify_email/ae86ee8c-5d9... > > its returns a > > invalid function > > page.

[web2py:16972] TIM - can't create windows service

2009-02-26 Thread debe...@yahoo.com
Microsoft Windows [Version 6.0.6000] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\Debebe>cd ../../ Tim: I am getting errors when I tried to create windows service. I have the following trace messages; I have the latest version of web2py: What I did : First tried to

[web2py:16973] Re: TIM - can't create windows service

2009-02-26 Thread mdipierro
I see you are running from source on windows. Probably you need to install the Mark Hammond Win32 extensions. http://python.net/crew/mhammond/win32/Downloads.html Massimo On Feb 26, 3:28 am, "debe...@yahoo.com" wrote: > Microsoft Windows [Version 6.0.6000] > Copyright (c) 2006 Microsoft Corpo

[web2py:16974] Patch to run web2py in a subdirectory on GAE

2009-02-26 Thread Markus Gritsch
Hi, I preferred having a separate web2py subdirectory on GAE instead of cluttering the root directory with all the files from the web2py distribution. So instead of the default directory structure which looks like this applications/... gluon/... scripts/... app.yaml gaehandler.py ... I now hav

[web2py:16975] Re: Patch to run web2py in a subdirectory on GAE

2009-02-26 Thread mdipierro
I only see one modification. Could you email me the patch? Do you see any issue with backward compatibility? Massimo On Feb 26, 7:43 am, Markus Gritsch wrote: > Hi, > > I preferred having a separate web2py subdirectory on GAE instead of > cluttering the root directory with all the files from th

[web2py:16976] Re: TIM - can't create windows service

2009-02-26 Thread Timothy Farrell
Not only that, but you're running from c:\Python25 Try running from c:\web2py: c:\web2py>\Python25\python.exe web2py.py -W install -tim mdipierro wrote: > I see you are running from source on windows. > > Probably you need to install the Mark Hammond Win32 extensions. > > http://python.net/cr

[web2py:16977] Re: GAE: datatime inequality filters strange behaviour !

2009-02-26 Thread Sebastian E. Ovide
yes I'm sure... it is the 1.56.4... with logging.debug(db(db.message.created_on, 'message', ['id', 'subject', 'body', 'from_user', 'from_cas_user_id', 'to_user', 'to_cas_user_id', 'read', 'created_on']) On Thu, Feb 26, 2009 at 5:13 AM, mdipierro wrote: > > btw. It works fine for me. Are you sur

[web2py:16978] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
Hi All, I feel close to having this working using IIS6+isapi-wsgi+web2py +mssql. I have encountered an issue within web2py and I'm not sure how to get around it. I'll talk about the error at the end of this message, but first here is the basics for setting up isapi-wsgi with web2py under

[web2py:16979] Re: Patch to run web2py in a subdirectory on GAE

2009-02-26 Thread Markus Gritsch
On Thu, Feb 26, 2009 at 2:48 PM, mdipierro wrote: > > I only see one modification. Could you email me the patch? The second modification is adding the empty __init__.py file. No issues concerning backwards compatibility. Markus --~--~-~--~~~---~--~~ You receive

[web2py:16980] Re: Critical point in web2py

2009-02-26 Thread ceej
Hi all, I haven't been arround for the last week because I've been moving across states. I'm actually creating a web2py API like the jQuery one ( http://api.jquery.com ) which will be up in beta next week. Anyone who wants to help with this please feel free to contact me. On Feb 25, 7:00 am, Fra

[web2py:16981] Re: GAE: datatime inequality filters strange behaviour !

2009-02-26 Thread mdipierro
I missed the part where you said this problem was on GAE. Robin? Do you have anything to say about this? Massimo On Feb 26, 8:03 am, "Sebastian E. Ovide" wrote: > yes I'm sure... it is the 1.56.4... > > with logging.debug(db(db.message.created_on > I get > > DEBUG2009-02-26 13:59:05,926 de

[web2py:16982] dynamically modify dropdown lists

2009-02-26 Thread kralin
Hi everybody, this is my first post here. I'm learning to use web2py since a month now, and I really appreciate it's simplicity and speed of use. However, I've got a problem I'm not able to solve by myself. I read the manual and searched everywhere, but I still cannot find any hint. So you guys ar

[web2py:16983] Re: IIS6+web2py+MSSQL

2009-02-26 Thread mdipierro
Try change sys.argv = [''] into sys.argv = ['web2py.py'] and application=ExecuteOnCompletion2(gluon.main.wsgibase, callback) into application=gluon.main.wsgibase You'd lose the ability to run cron jobs but once the problem is isolated we can fix it. Let us know. Massimo O

[web2py:16984] Re: dynamically modify dropdown lists

2009-02-26 Thread mdipierro
yes class IS_IN_DB_OR_ADD: def __init__(self,db,table_and_field): self.db = db self.table,self.field = str(table_and_field).split('.') def __call__(self,value): if not self.db(self.db[self.table][self.field]==value): self.db[self.table].insert(

[web2py:16985] Re: dynamically modify dropdown lists

2009-02-26 Thread mdipierro
Mind that my example would not create a dropdown list. Only validate if the value if on the keys_table and eventually add it. You need a special type of dropdown including an insert field. You need to build that using JS or a widget. Look into the existing widgets in sqlhtml.py On Feb 26, 10:38

[web2py:16986] Source repository confusion

2009-02-26 Thread Markus Gritsch
Hi, When looking at the SVN repo at Google Code the VERSION file there says Version 1.56.4 (2009-02-23 09:43:44) being the same as the one found in the downloadable web2py_src.zip. However, other files are definitely out-of-sync, for e.g. the Makefile in the SVN repo is from Jan 20, 2009 whereas

[web2py:16987] Re: dynamically modify dropdown lists

2009-02-26 Thread kralin
thanks a lot massimo I'm going to try it right now, and post the results on AlterEgo. On Feb 26, 5:40 pm, mdipierro wrote: > Mind that my example would not create a dropdown list. Only validate > if the value if on the keys_table and eventually add it. > You need a special type of dropdown incl

[web2py:16988] Re: TIM - can't create windows service

2009-02-26 Thread carlo
Hammond Win32 extensions must be installed: maybe this could be added in the docs. carlo On 26 Feb, 14:48, Timothy Farrell wrote: > Not only that, but you're running from c:\Python25  Try running from > c:\web2py: > > c:\web2py>\Python25\python.exe web2py.py -W install > > -tim > > > > mdipierr

[web2py:16989] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
Thanks Massimo. Another step closer. I made the recommended changes and now I get a new error message: Traceback (most recent call last): File "C:\Python25\lib\wsgiref\handlers.py", line 92, in run self.result = application(self.environ, self.start_response) File "gluon\rewrite.py"

[web2py:16990] Re: Source repository confusion

2009-02-26 Thread mdipierro
Auch! That is strange. I will fix it. On Feb 26, 10:42 am, Markus Gritsch wrote: > Hi, > > When looking at the SVN repo at Google Code the VERSION file there > says Version 1.56.4 (2009-02-23 09:43:44) being the same as the one > found in the downloadable web2py_src.zip. However, other files ar

[web2py:16991] Re: IIS6+web2py+MSSQL

2009-02-26 Thread mdipierro
Does hits help? http://www.usenet-forums.com/php-language/24828-remote_addr-iis.html http://wiki.pylonshq.com/display/pylonscookbook/Serving+a+Pylons+app+with+IIS It seems in IIS ISAPI environment variables are not the environment being bassed. Massimo On Feb 26, 1:39 pm, Kirby Turner wrote:

[web2py:16992] Re: minor typos in the docs

2009-02-26 Thread Baron
hello, I found a few in the book from Lulu: p39: then you must *to* open a web browser p143: pahse -> phase bottom of p150: db.god.on -> db.dog.on Baron On Feb 24, 4:55 pm, Jose C wrote: > Hi Massimo, > > Here are a few typos I picked up today. > > page:http://mdp.cti.depaul.edu/examples/defau

[web2py:16993] Re: Critical point in web2py

2009-02-26 Thread Joe Barnhart
It is an improvement, but to me it still has more of a "blog" feel than a wiki. Most wiki will automatically create stub pages for key words referenced in an article. They don't usually have "comments" unless they are on a separate discussion page (like Wikipedia). The revision history and diff

[web2py:16994] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
Unfortunately it doesn't help but gives me something more to research. I'll also post a message to the isapi-wsgi group to see if someone there has encountered this issue before. Thanks, -KIRBY On Feb 26, 2009, at 3:04 PM, mdipierro wrote: > > Does hits help? > > http://www.usenet-forums.

[web2py:16995] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
Found this. http://code.google.com/p/isapi-wsgi/issues/detail?id=2 Turns out to be a known bug with isapi-wsgi. There is a suggested fix that I'm trying now. -KIRBY On Feb 26, 2009, at 3:38 PM, Kirby Turner wrote: > > Unfortunately it doesn't help but gives me something more to > research.

[web2py:16996] Re: IIS6+web2py+MSSQL

2009-02-26 Thread phecker
Hello Kirby, I am using web2py as a service on Windows Server 2008 and IIS 7 in combination with the Helicon ISAP_Rewrite-module. => http://www.isapirewrite.com/ If you like, I can give you some more information. _p_ On 26 Feb., 21:38, Kirby Turner wrote: > Unfortunately it doesn't help but

[web2py:16997] Re: IIS6+web2py+MSSQL

2009-02-26 Thread mdipierro
... and you kept this powerful secret to yourself until now? Just kidding... could you post some intructions on AlterEgo? Massimo On Feb 26, 2:58 pm, phecker wrote: > Hello Kirby, > > I am using web2py as a service on Windows Server 2008 and IIS 7 in > combination with the Helicon ISAP_Rewrite-

[web2py:16998] Re: Source repository confusion

2009-02-26 Thread Fran
I would personally suggest killing the SVN repo as it seems to cause too many headaches to maintain. Bzr is perfectly accessible for those that like to live on the cutting edge :) F --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[web2py:16999] Re: Critical point in web2py

2009-02-26 Thread DenesL
On Feb 26, 3:31 pm, Joe Barnhart wrote: > I have no doubt that web2py can create a world-class wiki platform. I > just wonder if that is where you want to focus your energies right > now. It's going to take a long time and a lot of effort to duplicate > the features of a wiki engine. If you

[web2py:17000] Re: DAL mssql DSN connection

2009-02-26 Thread DenesL
Massimo, did you see my previous post?. --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send e

[web2py:17001] Re: Source repository confusion

2009-02-26 Thread mdipierro
I agree. SVN is a big pail for me. On Feb 26, 3:22 pm, Fran wrote: > I would personally suggest killing the SVN repo as it seems to cause > too many headaches to maintain. > Bzr is perfectly accessible for those that like to live on the cutting > edge :) > > F --~--~-~--~~---

[web2py:17002] Re: Critical point in web2py

2009-02-26 Thread mdipierro
Tell me what to install and I will. Possibly not based on a competitor project. Massimo On Feb 26, 3:25 pm, DenesL wrote: > On Feb 26, 3:31 pm, Joe Barnhart wrote: > > > I have no doubt that web2py can create a world-class wiki platform. I > > just wonder if that is where you want to focus y

[web2py:17003] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
Thanks _p_. I just might have to go that route. I will let you know. -KIRBY On Feb 26, 2009, at 3:58 PM, phecker wrote: > > Hello Kirby, > > I am using web2py as a service on Windows Server 2008 and IIS 7 in > combination with the Helicon ISAP_Rewrite-module. > > => http://www.isapirewrite.c

[web2py:17004] Re: IIS6+web2py+MSSQL

2009-02-26 Thread Kirby Turner
The suggested fix did work! But now I'm encountering an error with wsgiref.py. I'm out snowboarding today and tomorrow so it will probably be this weekend before I can return to the detective work. -KIRBY On Feb 26, 2009, at 3:55 PM, Kirby Turner wrote: > Found this. > > http://code.goo

[web2py:17005] Re: DAL mssql DSN connection

2009-02-26 Thread carlo
About the semicolon Massimo suggested in line 789: self._execute = lambda a: self._cursor.execute(a[:-1]) but in my test print db()._select(db.mytable.ALL) but I always get the same semicolon at the end of the SELECT statement , trying to understand why, I will make other tests tomorrow. Your

[web2py:17006] web2py.py on linux not using --port assignment

2009-02-26 Thread Jim
python web2py.py --port=8001 unpacking apps, this may take a few minutes... default applications are now installed web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2009 Version 1.56.4 (2009-02-23 09:43:44) Database drivers available: SQLite3 please visit: http:/

[web2py:17007] Re: Critical point in web2py

2009-02-26 Thread Paul Eden
What does everyone thing about MoinMoin ? Python.org uses it (http://wiki.python.org/moin/). The benefit is that it runs on python. That's the only one that I have setup and used before. It was fine, but I don't have experience with others. Does anyone know of a great wiki?

[web2py:17008] django linebreaks ?

2009-02-26 Thread Sebastian E. Ovide
Hi all, does web2py have any equivalent to Django filter linebreaks ? In diango: {{ object.description|linebreaks }} thanks Sebastian E. Ovide --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[web2py:17009] Re: DAL mssql DSN connection

2009-02-26 Thread mdipierro
the convention in sql.py is that all statements and with semicolon. For some databases the semilcolon it removed upon execution. Using this self._execute = lambda a: self._cursor.execute(a[:-1]) does not change this print db()._select(db.mytable.ALL) but changes this db().select(db

[web2py:17010] Re: Critical point in web2py

2009-02-26 Thread Miguel
Joe Barnhart wrote: > I have no doubt that web2py can create a world-class wiki platform. I > just wonder if that is where you want to focus your energies right > now. It's going to take a long time and a lot of effort to duplicate > the features of a wiki engine. If you grow more developers wh

[web2py:17011] Re: django linebreaks ?

2009-02-26 Thread mdipierro
{{def linebreaks(obj): return XML('\n'.join([P(line).xml() for line in str(obj).splitlines()]))}} {{=linebreaks(object.description)}} On Feb 26, 4:35 pm, "Sebastian E. Ovide" wrote: > Hi all, > > does web2py have any equivalent to Django filter linebreaks ? > > In diango: > > {{ object.descript

[web2py:17012] Re: Textarea on SQLFORM

2009-02-26 Thread murray3
works with the following in controller: def edit(): try: thispage=db(db.page.id==request.args[0]).select()[0] except: redirect(URL(r=request,f='index')) form=FORM(DIV(TEXTAREA(_style="width: 98%;", _name="wikibody1", _id="wikibody1",_value=thispage.b

[web2py:17013] Re: DAL mssql DSN connection

2009-02-26 Thread carlo
yes it makes sense but self._execute = lambda a: self._cursor.execute(a[:-1]) seems strangely not to affect the SQL error 104 problem which is often connected with a wrong character in the statement. carlo p.s. tomorrow more test about it On 26 Feb, 23:37, mdipierro wrote: > the convention i

[web2py:17014] Re: DAL mssql DSN connection

2009-02-26 Thread DenesL
On Feb 26, 5:08 pm, carlo wrote: > About the semicolon Massimo suggested in line 789: > self._execute = lambda a: self._cursor.execute(a[:-1]) I did try that too before I posted but as you say it does not work (yet). I also tried changing the id definition to: 'id': 'INTEGER GENERATED ALWAYS A

[web2py:17015] Problem with a table containing two foreign keys

2009-02-26 Thread ma...@rockiger.com
Hello, I don't know if I am doing somthing wrong or if I found a bug. I can't insert to a certain table called "sub_pos". The ticket I get when I try to insert to this table in appadmin is this: Traceback (most recent call last): File "/home/macco/Programme/web2py/gluon/restricted.py", line 98,

[web2py:17016] Re: Source repository confusion

2009-02-26 Thread AchipA
SVN is arguably one of the most widespread versioning tools in use, I think it would be a shame to discard it just because a few wrinkles (if you think svn is painful, that only means you have not used cvs :) ). However, I do think it could be perhaps better automated with a few scripts in order t

[web2py:17017] Re: Critical point in web2py

2009-02-26 Thread mdipierro
Not that I want to push this more than necessary but I made a mistake. https://mdp.cti.depaul.edu/wiki Even if you were able to register, I did not make you member of the 'developer' group thus most of the functions of the wiki were disabled for you. That is why you thought this looks like a blo

[web2py:17018] Re: Remote Refresh

2009-02-26 Thread Yarko Tymciurak
Yes - this is not a web2py technology issue (it's just a framework) --- it's a design decision. It depends on how for your use you define "real-time". You might also want to look at some of the things done in pygame - there are some client / server games there. www.pygame.org On Wed, Feb 25, 200

[web2py:17019] Re: Source repository confusion

2009-02-26 Thread Paul Eden
+1. If we can't readily automate pushing commits to svn I vote for dropping it so that Massimo has one less thing to worry about. Paul On Thu, Feb 26, 2009 at 2:44 PM, mdipierro wrote: > > I agree. SVN is a big pail for me. > > On Feb 26, 3:22 pm, Fran wrote: > > I would personally suggest ki

[web2py:17020] Re: load_tables method in database connection object

2009-02-26 Thread Yarko Tymciurak
that is: python web2py.py -S my_app -M On Wed, Feb 25, 2009 at 8:03 AM, mdipierro wrote: > > did you look into the web2py -M option? > > On Feb 25, 7:36 am, Miguel wrote: > > The shell is a great tool for experimenting with DAL. Including on > > existing solutions! But as far as I know in orde

[web2py:17021] Re: django linebreaks ?

2009-02-26 Thread Sebastian E. Ovide
it adds an for each line... any way to do it without those ? (just replace the /n with ) I've tried with {{=object.description.replace("\n","")}} but it display the HTML code... Sebastian E. Ovide Sent from: Buenos Aires Argentina. On Thu, Feb 26, 2009 at 8:42 PM,

[web2py:17022] Re: web2py "AJAX" admin editor

2009-02-26 Thread Boris Manojlovic
AJAX editor is functional Still missing Revert and resolve but relogin works ! pull it from launchpad or use attached file against latest mdipierro devel branch Good night All... On Thu, Feb 26, 2009 at 1:03 AM, Boris Manojlovic < boris.manojlo...@gmail.com> wrote: > update on development: > > a

[web2py:17023] Re: web2py mentioned in blog post of Michael Foord

2009-02-26 Thread Yarko Tymciurak
This is a nice writeup / comment by Michael - but we'll see how it holds up as people use and test. It takes people who know IronPython (and use it / beat on it) to flush the dust out of the corners. Remember the early days of web2py running on GAE? But - this is TWO (maybe 3) "only w/ web2py" b

[web2py:17024] Re: Reddish comments doesnt count

2009-02-26 Thread Yarko Tymciurak
Oh, there are other things you will likely find - it is a starting point for you (anyone) in the community to improve, and give back to the community. (I've been finding this, and more w/ reddish as I have web2py now on an internal corporate production server) Small, frequent improvements are nice

[web2py:17025] Re: Using numpy in web2py

2009-02-26 Thread Yarko Tymciurak
isn't it, though? Our experience w/ running the PyCon2009 registrations has only surprised even us (or at least me) - I'd point out that us.pycon.org/2009 site is running with webpy side-by-side with django (in a nice collaboration). Python at it's best - teamwork! On Thu, Feb 26, 2009 at 6:58 A

[web2py:17026] Re: Critical point in web2py

2009-02-26 Thread Greg Fuller
Just a few notes: Sphinx is not part of Trac. Django uses Sphinx -- docs.djangoproject.com is a Sphinx site. The organizational and cross-referencing capabilities of Sphinx outshine any Wiki. Documentation organized by a wiki often becomes jumbled and disorganized. However, a wiki is a good

[web2py:17027] Documentation

2009-02-26 Thread Greg Fuller
Hi Everyone, I was following the thread on documentation and made a post there, but it didn't show up so I'll start a thread here. Django uses trac, but docs.djangoproject.com is not trac - it is a Sphinx site. Sphinx is much better than wiki's at organizing and cross referencing documentation.

[web2py:17028] Re: web2py.py on linux not using --port assignment

2009-02-26 Thread Yarko Tymciurak
this works for me on Fedora and windows w/ latest $ python web2py.py --port=8001 -a ''default applications appear to be installed already web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2009 Version 1.56.4 (2009-02-23 09:43:44) Database drivers available: SQLite3, Postg

[web2py:17029] Re: Documentation

2009-02-26 Thread Greg Fuller
Here is the django documentation, in restructured text, with some sphinx templates, in a svn repository, and referenced by trac: http://code.djangoproject.com/browser/django/trunk/docs On Feb 26, 7:03 pm, Greg Fuller wrote: > Hi Everyone, > > I was following the thread on documentation and ma

[web2py:17030] Re: Critical point in web2py

2009-02-26 Thread Efe
I prefer to "eat own dogfood", using own wiki -- however imperfect -- is important. efe On Feb 27, 6:38 am, Miguel wrote: > Joe Barnhart wrote: > > I have no doubt that web2py can create a world-class wiki platform.  I > > just wonder if that is where you want to focus your energies right > >

[web2py:17031] Re: django linebreaks ?

2009-02-26 Thread Sebastian E. Ovide
tried also {{=XML(object.description.replace("\n",""))}}... but it would render also other HTML tags in the string Sebastian E. Ovide Sent from: Buenos Aires Argentina. On Thu, Feb 26, 2009 at 10:18 PM, Sebastian E. Ovide < sebastianov...@gmail.com> wrote: > it

[web2py:17032] Re: Critical point in web2py

2009-02-26 Thread Greg Fuller
An important distinction: 1. http://docs.djangoproject.com is a Sphinx site. 2. http://code.djangoproject.com/browser/django/trunk/docs is the sphinx documentation in an svn repository referenced through Trac. It holds the restructured text and Sphinx templates. HTH, Greg On Feb 25, 9:00 am,

[web2py:17033] Re: Reddish comments doesnt count

2009-02-26 Thread Efe
The installation on http://web2py.appspot.com/ seems to work just fine. That means that, Reddish code that I can download here (http:// mdp.cti.depaul.edu/appliances) are NOT the same code as this installation here! http://web2py.appspot.com/ why? Massimo, any comments? thanks Efe On Feb 27, 8

[web2py:17034] Re: Critical point in web2py

2009-02-26 Thread Yarko Tymciurak
Massimo, Massimo, Massimo - I missed this important discussion and topic: YOU of all people (*smile*) MUST use restructured text, and go towards sphinx. We have been down this road before, and Greg (in this thread) points it out again; Bruce Eckel is writing his book "Python 3 Patterns and Id

[web2py:17035] Re: Authentication Problem !

2009-02-26 Thread Yannick
Hello Massimo, I just sent you the application. I expect to see a feedback message when the user failed to login. Thanks for your help and attention. Cheers, Yannick P. On Feb 24, 1:00 am, mdipierro wrote: > Your example works great for me and I get the flash (bad login or > perfect). > > Send

[web2py:17036] Re: Critical point in web2py

2009-02-26 Thread Baron
+1 > There is a strong desire to "eat our own dogfood". That we could > develop a full commercial-grade wiki application within web2py and use > this as a way of improving the platform. But do be misled into > thinking it will be a quick or simple task. I don't think the aim is to build a comm

[web2py:17037] Get a certificate in Web2py!

2009-02-26 Thread mdipierro
http://ipdweb.cs.depaul.edu/wdp/Prog_WDP.htm --~--~-~--~~~---~--~~ 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 unsubscribe from this group, s

[web2py:17038] Re: web2py mentioned in blog post of Michael Foord

2009-02-26 Thread mdipierro
The odd thing was the huge Django add above the article. Massimo On Feb 26, 6:33 pm, Yarko Tymciurak wrote: > This is a nice writeup / comment by Michael - but we'll see how it holds up > as people use and test.  It takes people who know IronPython (and use it / > beat on it) to flush the dust

[web2py:17039] Re: django linebreaks ?

2009-02-26 Thread mdipierro
{{def linebreaks(obj): return XML('\n'.join([TAG[''](line).xml() for line in str(obj).splitlines()]))}} On Feb 26, 6:18 pm, "Sebastian E. Ovide" wrote: > it adds an for each line... > > any way to do it without those ? (just replace the /n with ) > > I've tried with {{=object.description.rep

[web2py:17040] Re: Reddish comments doesnt count

2009-02-26 Thread mdipierro
I had a hd crash some time and I lost the image that I uploaded to the app engine with the improved version. There is no way to get it out of the app engine as far as I know. Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:17041] Re: Reddish comments doesnt count

2009-02-26 Thread Efe
adding into 'def comments();' news.update_record(comments=news.comments+1) seems to have solved problem partially. but subtracting value on comment deletion still need fixing. Efe On Feb 27, 9:20 am, Efe wrote: > The installation onhttp://web2py.appspot.com/seems to work just > fine. > > That

[web2py:17042] Re: Critical point in web2py

2009-02-26 Thread mdipierro
Yarko. OK. We will use Sphinx. But I need to understand this first. Sphinx provides the capabilities of rendering text into HTML, etc. for documentation purposes. We still need a wiki so that people can collaborate in editing such documents. Am I missing something? If we want to eat our own food

[web2py:17043] Re: GAE: datatime inequality filters strange behaviour !

2009-02-26 Thread Robin B
The obj_represent/datetime code was modified after 1.56.2. I would check if this problem is present in 1.56.2 and if the gql.py doctests still pass on trunk. Robin On Feb 26, 10:21 am, mdipierro wrote: > I missed the part where you said this problem was on GAE. > > Robin? Do you have anything

[web2py:17044] Re: GAE: datatime inequality filters strange behaviour !

2009-02-26 Thread mdipierro
Robin, I do not know how to run the gql tests. Can you explain? Anyway, I checked it with this code db.define_table('birth',db.Field('day','datetime')) def index(): db.birth.insert(day=request.now) return PRE(str(db(db.birth.day wrote: > The obj_represent/datetime code was modified afte

[web2py:17045] Authentication problem

2009-02-26 Thread weheh
I read Yannic's thread here: http://groups.google.com/group/web2py/browse_thread/thread/701ea73868f72c42 but I still am running into some of the same issues. First, my default.py controller code: #!/usr/bin/python # -*- coding: utf-8 -*- # # sample index page with internationalization (T) def

[web2py:17046] Re: Authentication problem

2009-02-26 Thread mdipierro
Please ask Yannic to send you a copy of his apps. All there problems were fixed and were due to typos. The main one was passing the wrong parameters to the constructor ot MyAuth. On Feb 26, 11:12 pm, weheh wrote: > I read Yannic's thread > here:http://groups.google.com/group/web2py/browse_threa

[web2py:17047] Re: web2py.py on linux not using --port assignment

2009-02-26 Thread Jim
Hello, Thanks for the response. I'm running Ubuntu 9.04. It looks like the server ignores the --port=8001 but I can enter it by hand in the webserver screen (where you set the administrator password) and it works. python ./web2py.py --port=8001 default applications appear to be installed alre

[web2py:17048] Re: Authentication problem

2009-02-26 Thread weheh
Indeed, the problem now appears to not be with auth at all. The problem seems to be with the create() function statement: form=SQLFORM(db.objects,fields=['type','name','description']) Any idea what might be at fault here? My model for the object is: db.define_table('object', SQ

[web2py:17049] Re: Authentication problem

2009-02-26 Thread mdipierro
'user', 'type' and 'timestamp' are reserved keywords in many SQL dialects On Feb 26, 11:35 pm, weheh wrote: > Indeed, the problem now appears to not be with auth at all. The > problem seems to be with the create() function statement: > > form=SQLFORM(db.objects,fields=['type','name','description

[web2py:17050] Re: Authentication problem

2009-02-26 Thread weheh
Thanks. I will come up with different names for those fields. --~--~-~--~~~---~--~~ 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 unsubscribe f

[web2py:17051] Re: Critical point in web2py

2009-02-26 Thread Yarko Tymciurak
Yes - the wiki is the live contributions place. Once pages / sections are stable, we export to a Sphinx workspace (we could have community contribution on that too - much like Bruce Eckel has done). Sphinx is a "layer" on top of reST; so if Wiki uses reST, then we will need from a reST wiki is

[web2py:17052] Re: web2py mentioned in blog post of Michael Foord

2009-02-26 Thread Yarko Tymciurak
I think with web2py contributing to the PyCon2009 site, side-by-side w/ django - the collaboration - is a good thing. We don't have to worry about django's presence; django-istas don't have to worry about web2py presence. We can work side by side, as we have demonstrated on PyCon2009. On Thu,