I think this is more of an HTML think. But you could run some js in the
background AJAX in particular to query the server if there is a change.
Or perhaps you could make a JS program take called from the server. But
your going to get alot of server load if you just keep refreshing the
page. Try
Can you tell your web2py version, OS and if you're running from source
or from the 'bundle' version ?
On Feb 25, 8:19 am, Cro wrote:
> Good day, ArchipA.
>
> I tried to play with PostConnectionTask a lot of times, but failed.
> I tried this :
>
> #
> from gluon.contrib.wsgihooks import PostConne
sorry for my delay but I got the flu, today I will post my results
either.
carlo
On 24 Feb, 23:54, mdipierro wrote:
> guess not. leave it as it was.
>
> One of the execute in create table was failing. Perhaps it did not
> like the trailing ; or traling \n. Or perhaps the query was wrong.
> Can
I find i need to limit the available choices seen in a form during a
crud.create() operation. My specific case is I want to assign groups
to users, but I first want to eliminate all of the automatically-
generated group names such as "user_xx". Is there a way I can still
use the crud.create() bu
maybe this SQL generated by the system for an existing table may help:
-- Generazione SQL
-- Versione: V5R3M0 040528
-- Generata su:25/02/09 11:01:10
-- Database relazionale: S657238C
-- Opzioni standard: DB2 UDB iSeries
CREATE TABLE ANS0301
Web2py version : latest : Version 1.56.4 (2009-02-23 09:43:44)
OS : Windows Server 2003 R2 Standard x64 SP2
Running from source. I don't like the compiled version for windows.
Python version : 2.5.4 official.
There are compatibility problems known ?
--~--~-~--~~~---~-
Thanks for the responses Paul and Massimo.
Sounds like my best next step is to setup a web2py app under IIS with
MSSQL and see what happens before making the final sell to the
customer. I'm confident that if it works, performance is good, and
the setup isn't too difficult I can develop the
OK, I have registered on all the necessary places, apparently constant
launchpad activity with some tutoring on irc at #ubuntu-motu will be
enough. Maybe you could expand the launchpad stuff a bit so the
activities are more apparent (make a web2py team with the developers,
put the official downloa
On Feb 25, 1:38 am, Joe Barnhart wrote:
> One problem is that our docs are too fragmented at present. Perhaps
> we should undertake a central wiki and bring all of the other content
> into it.
+1
> It could be based on web2py or not, but it should have the standard
> wiki revision control. I
I haven't read most of this discussion but I've read this same subject
in the past.
Today I stand with those who agree that it should be a web2py based
solution.
I agree with the fragmentation of the documentation/FAQ but I think it
would be more valuable to make something to handle these and othe
I assume you make the drop down with
IS_IN_DB(db, 'auth_group.id', '%(role)s')
You can change it to
IS_IN_DB(db(query), 'auth_group.id', '%(role)s')
where query could be ~db.auth_group.role.like('user_%%') or something
else.
Massimo
On Feb 25, 4:04 am, Joe Barnhart wrote:
> I find i need t
I think you should consider running a process in background
python web2py.py -S yourapp -M -R yourscript
for more info:
python web2py.py -h
and run the shell commands from "yourscript". Then just have the web
interface display the output of your script as it is generated.
Massimo
On Fe
Please, if you succeed in this (and I am sure you will) send us some
instructions on how to reproduce it.
On Feb 25, 5:39 am, Kirby Turner wrote:
> Thanks for the responses Paul and Massimo.
>
> Sounds like my best next step is to setup a web2py app under IIS with
> MSSQL and see what happens
I will try to figure out how to.
On Feb 25, 6:36 am, AchipA wrote:
> OK, I have registered on all the necessary places, apparently constant
> launchpad activity with some tutoring on irc at #ubuntu-motu will be
> enough. Maybe you could expand the launchpad stuff a bit so the
> activities are mo
Hi
How can numpy be used is controller and modules placed in the modules
folder?
Thanks
Aneesha
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to we
+1 on the docs.
Also, Vihnag idea is really very good.
vihang wrote:
> I think we need a bit more organized effort here. For instance someone
> can take a lead on docs. He could create a TOC of a manual/wiki, and
> then we can individually pick sections to fill in the doc/wiki, i.e.
> be a contr
The shell is a great tool for experimenting with DAL. Including on
existing solutions! But as far as I know in order to access a table we
must call db.define_table(...). This makes in cumbersome to use the
shell with existing solutions, especially when where are just testing
ideas for an exist
Hello,
I am playing with T2 on my desktop now. And I am trying to get
Authentication working. To do this I need to be able to send email.
-- this is not a production box -- and is set up with a non-routeable
internet address.
I set up postfix, (127.0.0.1:25) and tested it with the "mail" command
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 order to access a table we
> must call db.define_table(...). This makes in cumbersome to use the
> shell wi
+1 on that!
Paul
On Wed, Feb 25, 2009 at 6:50 AM, mdipierro wrote:
>
> Please, if you succeed in this (and I am sure you will) send us some
> instructions on how to reproduce it.
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
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 can numpy be used is controller and modules placed in the modules
> folder?
>
> Thanks
>
> Aneesha
--~--~-~--~~
Try mail.settings.login=None
I normally use the gmail smtp server with no ptoblem.
Massimo
On Feb 25, 12:17 am, Jeffield wrote:
> Hello,
>
> I am playing with T2 on my desktop now. And I am trying to get
> Authentication working. To do this I need to be able to send email.
> -- this is not a
Hi All,
I'm very close to having web2py running under IIS using isapi-wsgi. I
have included below the isapi-wsgihandler.py file I created (see
below). It's based on web2py's own wsgihandler.py and has been
modified to include code needed for isapi-wsgi. I'll post to the FAQ
once I have
By the way, I should add that I have no problems running web2py.py
from the command line. My applications run fine. The import only
fails when I try to run with isapi-wsgi.
Thanks,
-KIRBY
On Feb 25, 2009, at 9:08 AM, Kirby Turner wrote:
>
> Hi All,
>
> I'm very close to having web2py run
looking for help. To test the new experimental DB2 support I want to
make some queries against an existing db: what must be put in the
model? Do I have to put any table (and any field) with migrate=false
of the originale DB2 db ? thank you
carlo
--~--~-~--~~~---~--~
I know that created_on/modified_on can be replicated using:
SQLField("modified_by","datetime",default=request.now,
update=request.now, writable=False)
However I am struggling to replicate created_by/modified_by.
This works fine when logged-in, but breaks when logged-out:
SQLField
('created_by',db
+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 tool and it's already implemented which are pluses
for it, but using the framework shows a lot of confidence in it.
- Doesn't Django use Trac?
Paul
On Wed, Feb 25, 20
Hm, I just tried your exact code (with run uncommented) and it worked
as advertised on my windows test box. The only difference I had to
your setup is that I have Windows XP 32bit SP2, but I don't think that
should matter. Do you get any warnings in the console ?
WARNING:root:Hello
WARNING:root:'
Will do. I'm close to having it working. Just getting a strange
import error on _socket. I posted a separate thread on that problem,
though it's not really a web2py issue.
-KIRBY
On Feb 25, 2009, at 9:05 AM, Paul Eden wrote:
>
> +1 on that!
>
> Paul
>
> On Wed, Feb 25, 2009 at 6:50 AM,
On Feb 25, 2:51 pm, Paul Eden wrote:
> - Doesn't Django use Trac?
Yes:
http://code.djangoproject.com/
> using the framework shows a lot of confidence in it
If the Wiki could have versioning added, that would take away the
major constraint to it.
Not sure how hard that is...
F
--~--~-~
I emailed you the info on the index and reference 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 from
That worked (with index [0]).
Now I can populate a drop down list in a FORM (vs. SQLFORM) from data
in a database. Not sure if this is the 'best' way to do it, but it
works.
rows=db(db.colortable.color!=None).select() #query the database
optionlist=[str(c[0]) for c in rows.response] #convert q
SQLField('created_by',db.auth_user,default=session.auth.user.id if
auth.is_logged_in() else 0,writable=False)
Massimo
On Feb 25, 8:21 am, Fran wrote:
> I know that created_on/modified_on can be replicated using:
> SQLField("modified_by","datetime",default=request.now,
> update=request.now, writ
KPAX does versioning already hence should be easy to add versioning to
T3.
what wiki language do you suggest? html wysiwyg or markdown or other?
massimo
On Feb 25, 9:00 am, Fran wrote:
> On Feb 25, 2:51 pm, Paul Eden wrote:
>
> > - Doesn't Django use Trac?
>
> Yes:http://code.djangoproject.
Very keen to see centralised (well organised)documentation, and to
help where I'm able.
I think it's better to use an established Wiki/code framework. It
would be nice to have a solid feature-full wiki in web2py. Less time
developing / maintaining a web2py-wiki means more time enhancing and
docum
Em Quarta-feira 25 Fevereiro 2009, às 12:28:40, mdipierro escreveu:
> KPAX does versioning already hence should be easy to add versioning to
> T3.
>
> what wiki language do you suggest? html wysiwyg or markdown or other?
What about ReST ?
http://en.wikipedia.org/wiki/ReStructuredText
> massimo
I'm sure all the tools mentioned (Trac, web2py, Sphinx) have certain
advantages and disadvantages, and I don't claim to know what they all
are, but a strong argument for Sphinx is that it is what
docs.python.org uses. Of course the downside might be the learning
curve if nobody's ever used it.
On Feb 25, 3:25 pm, mdipierro wrote:
> SQLField('created_by',db.auth_user,default=session.auth.user.id if
> auth.is_logged_in() else 0,writable=False)
Perfect tx :)
Another example for the Auth page methinks :)
F
--~--~-~--~~~---~--~~
You received this message b
Think I found the problem. There is a known issue with Python 2.6.1
on Windows that is preventing the ISAPI Extension from loading .pyd.
The problem has been resolved and confirmed in Python 2.6.2 and 3.0.1
http://sourceforge.net/tracker/index.php?func=detail&aid=2609380&group_id=78018&atid
My guess is that this is path related
On Feb 25, 8:08 am, Kirby Turner wrote:
> Hi All,
>
> I'm very close to having web2py running under IIS using isapi-wsgi. I
> have included below the isapi-wsgihandler.py file I created (see
> below). It's based on web2py's own wsgihandler.py and has been
yes
On Feb 25, 8:09 am, carlo wrote:
> looking for help. To test the new experimental DB2 support I want to
> make some queries against an existing db: what must be put in the
> model? Do I have to put any table (and any field) with migrate=false
> of the originale DB2 db ? thank you
>
> carlo
-
unfortunately I can not see your mail yet.
On 25 Feb, 16:05, DenesL wrote:
> I emailed you the info on the index and reference fields.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To
yes
On Feb 25, 8:09 am, carlo wrote:
> looking for help. To test the new experimental DB2 support I want to
> make some queries against an existing db: what must be put in the
> model? Do I have to put any table (and any field) with migrate=false
> of the originale DB2 db ? thank you
>
> carlo
-
Sorry about the confusion, that was for Massimo.
On Feb 25, 11:26 am, carlo wrote:
> unfortunately I can not see your mail yet.
>
> On 25 Feb, 16:05, DenesL wrote:
>
> > I emailed you the info on the index and reference fields.
--~--~-~--~~~---~--~~
You received
I am not sure Shinx is the same as track.
I think there are different issues...
trac does lot of stuff but we already have launchpad. I think we only
need a wiki.
I do not think trac is our tool.
is there any wiki out there that can automatically generate a TEX +
PDF document?
massimo
On Feb
> Try mail.settings.login=None
I will try it. (when I get back home)
> I normally use the gmail smtp server with no ptoblem.
really...!?
I just assumed that this was a GAE type of functionality.
Thanks,
Jeff
On Feb 25, 8:07 am, mdipierro wrote:
> Try mail.settings.login=None
>
> I normally use t
No gmail provides smtp and you can access it from anywhere. That way
you do not have to run your own email server.
Massimo
On Feb 25, 10:51 am, Jeffield wrote:
> > Try mail.settings.login=None
>
> I will try it. (when I get back home)> I normally use the gmail smtp server
> with no ptoblem.
>
+1 on that one.
Launchpad does a great job right now. Any basic wiki should do the
trick. But I think the most familiar one we could use would be
mediawiki. I mean, who doesn't know that one.
Regards,
Jason Brower
On Wed, 2009-02-25 at 08:51 -0800, mdipierro wrote:
> I am not sure Shinx is the
Thanks very much for writing the guide! I found it very helpful. I
added a comment to http://mdp.cti.depaul.edu/AlterEgo/default/show/186
about editing the app.yaml to exclude directories.
I now have myapp.appspot.com/myapp/default/index working and that's
great.
What I would like to do is ge
Good point. I was using the standard auth_groups table and inheriting
all of its characteristics. I suppose I could substitute my own
"groups" table and (a) turn off the automatic group creation for each
user and (b) take over control of the drop-down list and others.
-- Joe B.
On Feb 25, 5:42
Hi,
look at
http://ironpython-urls.blogspot.com/2009/02/web2py-python-web-framework-that.html
This is quite good for publicity, since Michael Foord is well known in
the Python community (Author of the Manning Book "Iron Python in
Action" [1]), and his blog is syndicated to the Planet Python RSS
On Feb 25, 4:51 pm, mdipierro wrote:
> is there any wiki out there that can automatically generate a TEX +
> PDF document?
http://trac-hacks.org/wiki/TracWikiToPdfPlugin
;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
Massimo,
in your sql.py starting at line 295 change:
# 'id': 'ROWID NOT NULL',
'id': 'INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY',
# 'reference': 'INT, FOREIGN KEY (%(field_name)s) REFERENCES %
(foreign_key)s (id) ON DELETE %(on_delete_action)s',
'reference': 'I
> Note that db2 ODBC SQL statements should NOT end with semicolon ';'.
and this resembles the kind of error I got.
carlo
On 25 Feb, 22:18, DenesL wrote:
> Massimo,
>
> in your sql.py starting at line 295 change:
>
> # 'id': 'ROWID NOT NULL',
> 'id': 'INTEGER GENERATED ALWAYS AS I
almost got the gist of how this works, I am struggling with db update
syntax.
thispage.update_record(form.vars.wikibody1) is not working?
in controller:
def edit():
try: thispage=db(db.page.id==request.args[0]).select()[0]
except: redirect(URL(r=request,f='index'
update on development:
all (hopefully) messages from system are implemented - session expired
shown.
Still not handling "Revert" (button) and "resolve" (server) actions.
Created repository at https://code.launchpad.net/~stekoje/web2py/ajaxeditor
On Mon, Feb 23, 2009 at 9:28 PM, Boris Manojlovic
thispage.update_record(form.vars.wikibody1)
should be
thispage.update_record(wikibody1=form.vars.wikibody1)
On Feb 25, 4:39 pm, murray3 wrote:
> almost got the gist of how this works, I am struggling with db update
> syntax.
>
> thispage.update_record(form.vars.wikibody1) is not working?
>
> i
I think a documentation wiki based on T3, that is _already_ put up by
Massimo on appengine is good reliable (and free!) solution to this.
here: http://web2py.appspot.com/t3/
On Feb 25, 9:38 am, Jason Brower wrote:
> As it looks like, it seems that a lot of the documentation and website
> are ho
I followed the link http://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
web2py 1.56.4
when try to access to http://localhost:8080/admin, the page show
Internal error
Ticket issued: unrecoverable
and the console:
Hi Achipa,
Just some thought.
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? Maybe add some logging.warn(...)
+1. With a more intuitive URL I think that would work wonderfully.
It would also generate new features back into the framework based on
need.
Paul
On Wed, Feb 25, 2009 at 6:45 PM, Efe wrote:
>
> I think a documentation wiki based on T3, that is _already_ put up by
> Massimo on appengine is goo
Hi All,
I have a model like this:
db.define_table('message_sent',
...
...),
SQLField('created_on','datetime',
readable=False,
writable=False,
default=request.now),
)
so any query like db
Please don't take this as criticism of web2py or T3. I feel I have to
speak out on this even if it makes me unpopular.
The T3 wiki is just not up to the standards of a "real" wiki. It is a
facinating example of how much web2py can do with so little coding,
but it is not a serious industrial-gra
On Thu, Feb 26, 2009 at 6:46 AM, Joe Barnhart wrote:
>
> Please don't take this as criticism of web2py or T3. I feel I have to
> speak out on this even if it makes me unpopular.
>
> The T3 wiki is just not up to the standards of a "real" wiki. It is a
> facinating example of how much web2py can
Hi Massimo,
I was testing out your Reddish http://web2py.appspot.com/.
I have downloaded and was testing it with appengine, all works fine
except it doesn't count the posted comments of any entry. Front page
always shows "0 comments" no matter how many comments are posted to
an entry/article/li
http://mdp.cti.depaul.edu/ is an invalid URL with my browser. But that
is the home page URL of web2py.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to
just tested, works with me.
On Feb 26, 2:58 pm, weheh wrote:
> http://mdp.cti.depaul.edu/is an invalid URL with my browser. But that
> is the home page URL of web2py.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Son of a gun! It works. Honest, I got a weird behavior from my browser
on the web2py site. - NEVER MIND.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email
Point taken. Try this:
https://mdp.cti.depaul.edu/wiki
I can complete the TODO tasks tomorrow but before I do I could use
some usability tests. Does it feel more like a wiki? What is missing?
Want to help with development?
Massimo
On Feb 25, 11:46 pm, Joe Barnhart wrote:
> Please don't take
Please print
db(db.message_sent.created_on
wrote:
> Hi All,
>
> I have a model like this:
>
> db.define_table('message_sent',
> ...
> ...),
> SQLField('created_on','datetime',
> readable=False,
> writable=False,
>
btw. It works fine for me. Are you sure you did not accidentally edit
the sql.py file?
Massimo
On Feb 25, 11:29 pm, "Sebastian E. Ovide"
wrote:
> Hi All,
>
> I have a model like this:
>
> db.define_table('message_sent',
> ...
> ...),
> SQLField('created_on','datetime',
>
That's nice, but please put that up onto appengine,
"mdp.cti.depaul.edu" is NOT as fast from everywhere around the world.
Efe
On Feb 26, 3:06 pm, mdipierro wrote:
> Point taken. Try this:
>
> https://mdp.cti.depaul.edu/wiki
>
> I can complete the TODO tasks tomorrow but before I do I could use
72 matches
Mail list logo