I am trying to generate a soap web client for a wsdl service.
With java, i can generate all the soap operations from the swdl file.
Is there any way, I could do it in python?
the zs1-2 library seems to be depreciated for python2.6
In web discussions, I see python soap libraries are always
problemf
Some experiences from many years of working with wikis, small to
medium to large:
-- Autoconversion:
It is very hard to *automatically* convert any bigger, heterogenous
material to a *good* wiki format. Attemptions are plenty, all of them
failed. Probably it is impossible. Except conversio
IE (Win):
Adjusting the delay to 3000 does help to give enough time to make a
choice.
Setting it above 3000 doesn't seem to make any further difference
though.
On dropdown, the input loses focus so you cannot keep typing to
narrow down the selection.
Arrow keys do not work.
--
You receive
IS_EMTPY_OR(IS_IN_SET(["A","B","C","D","E","F"]))
On Feb 9, 7:40 am, Jason Brower wrote:
> Don't know if I can discribe this in type but...
> I need a validator that can alow only one A B C D E F other wise it
> should be 0
> I haven't figure out how to make IS_IN_SET(["A","B","C","D","E","F"])
Why not setup a shared db server on the network? It works, just needs some
coordination when making changes to the model. Does it have to be sqlite?
Regards,
Tiago
On Tue, Feb 9, 2010 at 6:17 AM, Thadeus Burgess wrote:
> What is the recommended way of developing on a team with a web2py
> applica
IS_EMPTY_OR(IS_IN_SET(["A","B","C","D","E","F"]))
On Feb 9, 11:36 am, selecta wrote:
> IS_EMTPY_OR(IS_IN_SET(["A","B","C","D","E","F"]))
>
> On Feb 9, 7:40 am, Jason Brower wrote:
>
>
>
> > Don't know if I can discribe this in type but...
> > I need a validator that can alow only one A B C D E
Well,
I never discuss about my clients needs. I just understand it and make the
specification.
1. Documentation about web2py is poor. Everyone agree.
2. One reason for this is Massimo defines the new versions, and there is no
roadmap. New features are added 'ad hoc'
3. Since Massimo decides what w
I found some side effect. When I click edit controller in menu from
appadmin pages, appadmin controller is opened for editing. May be it
is not good...
To prevent this and start to edit default controller I've added the
condition:
[T('Controller'), False,
URL('admin', 'default', 'edit/%s/contro
I suggest to see
http://groups.google.com/group/web2py/msg/8bc0309e26c0cb84
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsub
I suggest to look at
http://groups.google.com/group/web2py/msg/8bc0309e26c0cb84
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+u
I have checked some other projects (django, tg, pylons, python.org
etc). My understanding is that,
=> The core documentation must be maintained by core-devs who know the
code inside out, This doc is the ultimate reference and should be in
Restructured format text-files, in a SVN/Hg repository.
R
On Feb 9, 1:40 am, Jason Brower wrote:
> Don't know if I can discribe this in type but...
> I need a validator that can alow only one A B C D E F other wise it
> should be 0
That means you will accept anything but will have a value depending on
the input,
> I haven't figure out how to make IS_IN_
Yes, I'm also seeing this problem. Does anyone have a workaround other
than querying by another field (which unfortunately isn't an option
for me)?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googl
I'm getting this message in the postgres log, and then another message
that web2py is trying to re-create the auth_user table. Web2py only
reports the second one, which comes from welcome/models/db.py.
Interestingly enough, I can then go ahead an view the error ticket,
using the admin interface,
With SQLFORM the submit button resides in the last row, second column.
So form[0][-1][1][0] is the button.
form[0] is the FORM
form[0][-1] is the form's last row (TR)
form[0][-1][1] is the second column (TD)
form[0][-1][1][0] is the submit button (INPUT)
you can change the class by
form[0][-1][1
good point.
On Feb 9, 6:33 am, Alex wrote:
> I found some side effect. When I click edit controller in menu from
> appadmin pages, appadmin controller is opened for editing. May be it
> is not good...
>
> To prevent this and start to edit default controller I've added the
> condition:
>
> [T('Co
Alexandre is right except this part is now partially solved.
None of the tools suggested here worked in converting my Latex to wiki
but I only used my own Latex macros so I stayed awake last night and
wrote my own tool (works only with my own latex but works much better
than anything else). I am le
Gees, I get fancy new command thrown at me all the time. :P
Thanks!
BR,
Jason Brower
On Tue, 2010-02-09 at 02:39 -0800, selecta wrote:
> IS_EMPTY_OR(IS_IN_SET(["A","B","C","D","E","F"]))
>
> On Feb 9, 11:36 am, selecta wrote:
> > IS_EMTPY_OR(IS_IN_SET(["A","B","C","D","E","F"]))
> >
> > On Feb
All those that think Massimo is either, 1. A total stud or 2. Freaking
amazing. +1 Your a great guy Massimo.
---
Warmest Regards,
Jason Brower
On Tue, 2010-02-09 at 06:36 -0800, mdipierro wrote:
> Alexandre is right except this part is now partially solved.
> None of the tools suggested here wor
Scratch onaccept=function
it should be onvalidation=function
and it is not new, see manual section 7.1 :)
BR, Denes.
On Feb 9, 9:43 am, Jason Brower wrote:
> Gees, I get fancy new command thrown at me all the time. :P
> Thanks!
> BR,
> Jason Brower
>
> On Tue, 2010-02-09 at 02:39 -0800, selec
I am taking this approach for now:
1) convert the book to markdown (including conversion of eps images to
png and conversion of references)
2) real time markdown to html (using special markup for references)
3) ability to annotate the book sections with user comments
4) automatically link all keyw
What is the exact traceback?
On Feb 3, 6:11 pm, Carl wrote:
> This may be related to GAE update_record() has subtle difference
> compared to native
> Web2Pyhttp://groups.google.com/group/web2py/browse_thread/thread/a69afded01...
> but until shown otherwise, I've posed separately.
>
> I have this
Not sure. Can you try run with the -N option?
On Feb 9, 5:31 am, Ted Baker wrote:
> I'm getting this message in the postgres log, and then another message
> that web2py is trying to re-create the auth_user table. Web2py only
> reports the second one, which comes from welcome/models/db.py.
>
> I
form[0][-1][1][0]['_class']='sbmcls'
or
form.element(_type='submit')['_class']='sbmcls'
On Feb 9, 8:27 am, DenesL wrote:
> With SQLFORM the submit button resides in the last row, second column.
> So form[0][-1][1][0] is the button.
>
> form[0] is the FORM
> form[0][-1] is the form's last row (T
BTW I am working on improving the web2py wiki app, maybe it will be
done today.
On Feb 8, 11:43 pm, Mariano Reingart wrote:
> For the web2py spanish documentation wiki (btw using web2py-wiki) we
> are working in several features, including wyswyg editing and pdf
> output, to organize and transla
Hello all,
I've been thinking about implementing a module that takes a DAL table
definition and generates a class object from that definition. The purpose of
this is to use those automatically generated classes in the controllers
instead of accessing the DAL directly. Eg: Creating an instance of t
postgres gives that error, from other discussion here, because of the
way web2py does a transaction on each db call, or something like that.
If you look at that message on google, you'll see general info about
that message also. There is not problem with it, I get it all the time
too.
-wes
On Tu
My traceback is as follows:
In FILE: /base/data/home/apps/throngly-com/1.339746990702093170/
applications/throngly/controllers/people.py
Traceback (most recent call last):
File "/base/data/home/apps/throngly-com/1.339746990702093170/gluon/
restricted.py", line 173, in restricted
exec ccode
Let me know if I can help.
anyhow a good starting point would be making the table.insert() able
to return None
if no primary key or ID is defined. what do u think? is this
possible?
On 8 Feb, 17:29, mdipierro wrote:
> You know I would take a patch
>
> On Feb 8, 9:49 am, DenesL wrote:
>
> > On F
On Feb 9, 2010, at 1:58 AM, Beerc wrote:
> Some experiences from many years of working with wikis, small to
> medium to large:
This all sounds very sensible.
We ought to take advantage of homogeneous material where we can find it.
Docstrings in particular could feed a set of wiki pages (read-o
On Feb 9, 2010, at 6:55 AM, mdipierro wrote:
> *** If you want to help, help make the Sphinx documentation work!!!
> ***
>
> So we can replace epydoc with Sphinx.
What would this entail? I'm guessing that most of us don't have a clue about
Sphinx.
--
You received this message because you are
I've been experiencing some session bleed across accounts (several
instances of users crossing over into other users' sessions, and being
able to see other users' accounts). And while investigating that (by
the way, has anybody else run into this?), I've noticed that the
database in which I keep my
> On the choice of wiki, I'd take a look at MoinMoin
I admit my experiences with MoinMoin are old (around 2005).
Then it was mediocre.
After your current recommendation I revised my memories.
Latest versions are far better than the older ones.
* It still hasn't section editing. Seemingly minor fe
On Feb 9, 2010, at 10:19 AM, Beerc wrote:
>> On the choice of wiki, I'd take a look at MoinMoin
>
> I admit my experiences with MoinMoin are old (around 2005).
> Then it was mediocre.
>
> After your current recommendation I revised my memories.
> Latest versions are far better than the older one
I have thought about setting up a shared postgres. However the issue
still remains that if the .table files are altered during two
branches, when merging how do you pick which .table file to accept?
And you can't get rid of .table files because then you would not be
able to connect to the postgres
I remember a post about an ORM layer class on top of DAL, that allowed
for dynamic selects django style, I can't find the post though, can
anyone remember what it was called?
-Thadeus
On Tue, Feb 9, 2010 at 9:11 AM, tiago almeida wrote:
> Hello all,
>
> I've been thinking about implementing
Sorry, don't know. I understand your problem but this is beyound my web2py
knowledge.
Curious about other responses though.
--
On Tue, Feb 9, 2010 at 6:38 PM, Thadeus Burgess wrote:
> I have thought about setting up a shared postgres. However the issue
> still remains that if the .table files ar
I've got an application that makes very limited use of the database. No
self-registration, and the only other table is a relatively static
configuration table. So for convenience, I'd just as soon stick with SQLite for
simplicity and self-containedness.
So two questions, I guess.
1. Would ther
Take a look at my configure class in Blogitizor. It gives a class
interface to a settings table, and will cache the results in ram, the
only thing it misses is clearing out the cache when a setting changes
http://code.google.com/p/blogitizor/source/browse/src/modules/utils.py
You can take a look
Your corrections helped me to understand the handling or the request
vars better but I still have the original problem:
Traceback (most recent call last):
File "/home/js/web2py/gluon/restricted.py", line 173, in restricted
exec ccode in environment
File "/home/js/web2py/applications/nuwesa
I have a website where some documents require login to be accessed.
Some of the visitors to the site complained of having to login
multiple times and today, when I did not access the site as
administrator, I experienced the same:
Log in at first and then when I access the document, I was again ask
Several questions. Are you storing sessions on disk, or in a database?
What's the decorator you're using, to require login? (is it
@auth.requires_login()?)
Is the 'user' function exposed, for those controllers?
Do you have any custom routes.py or apache mod_rewrite routing that
might be interferi
I'm not sure about other libraries, but I'm currently using, and have
had good experience with, the suds (https://fedorahosted.org/suds/ )
soap client.
On Feb 9, 4:00 am, max wrote:
> I am trying to generate a soap web client for a wsdl service.
> With java, i can generate all the soap operations
On 9 February 2010 21:14, Dmitri Zagidulin wrote:
> Several questions. Are you storing sessions on disk, or in a database?
I do not clearly understand what you mean by "storing sessions". I
use sqlite as database.
>
> What's the decorator you're using, to require login? (is it
> @auth.requires_
FWIW, I do multi user development on web2py, and take the route that
you describe -- not version the .table files, and do a migrate=False
on all the tables in the model. This is partly because of multi
developer collisions, and partly because the migrate functionality
does not work for the web2py v
Sorry for the confusion.
Web2py stores session data, by default, on disk, and that sounds like
what you're doing.
There is a way to make it store session data in a separate database,
by calling session.connect(...).
On Feb 9, 2:31 pm, Johann Spies wrote:
> On 9 February 2010 21:14, Dmitri Zagid
Hi,
I am having problems with the e-mail verification while running on my
local dev instance.
Here are my settings:
mail=Mail(globals()) # mailer
mail.settings.server='smtp.gmail.com:587'# your SMTP server
mail.settings.sender='usern...@gmail.com' # y
You can check a Simple Soap Client we developed for electronic
invoices via web services here in Argentina, look at:
http://www.sistemasagiles.com.ar/trac/wiki/SoapClient
Sorry it is in spanish, but examples and code are self explanatory
(the implementation is just two files < 300LOC) .
It is very
I really like the psql module http://pypi.python.org/pypi/pSQL/0.9.2
you can do things like
result = db.Address.City["Oklahoma%"]
at the beginning it was hard for me to learn the web2py dal, now it is
ok to use it but sometimes I wish i could do things like in psql
On 9 Feb., 19:51, Thadeus Burge
denesL: looking very much forward to that, hope i can also use it to
document my own code with it
On 9 Feb., 16:01, DenesL wrote:
> BTW I am working on improving the web2py wiki app, maybe it will be
> done today.
>
> On Feb 8, 11:43 pm, Mariano Reingart wrote:
>
>
>
> > For the web2py spanish d
If anybody's curious, I found out what the problem was.
It was over-zealous internet security software (like Kaspersky
Internet Security) on our customer's end. It was blocking certain
pages, based on word fragments in the url.
The word 'Done' that was reported by the customers was not web page
t
Nevermind... my virus scanner was blocking SMTP access from Python -_-
On Feb 9, 11:47 am, minh wrote:
> Hi,
>
> I am having problems with the e-mail verification while running on my
> local dev instance.
>
> Here are my settings:
>
> mail=Mail(globals()) # mailer
Our user table has many fields, so when the Auth() form is auto-
generated, there is a long form displayed on the page. I want to make
it so that registration will be a 2-3 step process containing 2-3
forms.
I was wondering what the best way to customize this form would be?
Would it be best to jus
When text is typed that is not in the list and submitted there is this error:
Traceback (most recent call last):
File "/opt/00/gluon/restricted.py", line 173, in restricted
exec ccode in environment
File "/opt/00/applications/0/controllers/default.py", line 60, in
File "/opt/00/gluon/gl
FWIW, the following approach is working for us with a small team of
developers. We use SVN instead of mercurial, but I don't see why this
wouldn't work for mercurial.
1. All the python, html, and static files (and _nothing_ else) in our
app's directory tree are under version control in a separate
Mike, how are yall testing changes locally before you commit?
Does each developer have his own version of the database in sqlite
with different data?
-Thadeus
On Tue, Feb 9, 2010 at 3:39 PM, MikeEllis wrote:
> FWIW, the following approach is working for us with a small team of
> developers.
Should I be able to upgrade a deployed app by installing the new version over
the old one? If not, how?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group
Ooh, thanks for the tip with pysvn!
I've been wanting something like that.
On Feb 9, 4:39 pm, MikeEllis wrote:
> FWIW, the following approach is working for us with a small team of
> developers. We use SVN instead of mercurial, but I don't see why this
> wouldn't work for mercurial.
>
> 1. All t
could the session timeout be set very low?
On Feb 10, 6:07 am, Johann Spies wrote:
> I have a website where some documents require login to be accessed.
> Some of the visitors to the site complained of having to login
> multiple times and today, when I did not access the site as
> administrator,
sounds like this app will be like djangobook - neat.
On Feb 10, 1:55 am, mdipierro wrote:
> I am taking this approach for now:
>
> 1) convert the book to markdown (including conversion of eps images to
> png and conversion of references)
> 2) real time markdown to html (using special markup for
I often do this and my only problem is when updating modules, which
requires me to restart the server so web2py uses the new versions.
On Feb 10, 10:00 am, Jonathan Lundell wrote:
> Should I be able to upgrade a deployed app by installing the new version over
> the old one? If not, how?
--
Yo
what kind of changes are you making? I read some reports about login
problems, so do you think its worth allowing anonymous edits, like
wikipedia permits?
On Feb 10, 2:01 am, DenesL wrote:
> BTW I am working on improving the web2py wiki app, maybe it will be
> done today.
>
> On Feb 8, 11:43 pm,
Things already fixed:
- No anonymous edits, but changed
@auth.requires_membership('developer') to requires_login()
- Fixed create_page bug
- Full internationalization
- Spanish translation
Denes is working on more radical changes, and I'm working on timeline,
wyswyg & pdf output.
On Tue, Feb 9, 2
On Feb 9, 2010, at 4:07 PM, Richard wrote:
> I often do this and my only problem is when updating modules, which
> requires me to restart the server so web2py uses the new versions.
Thanks.
I don't have any modules, but I might have been confused between compiled and
uncompiled versions. I'll e
No anonymous edits... Django fanboys will deface it within minutes of
it going up
-Thadeus
On Tue, Feb 9, 2010 at 6:36 PM, Mariano Reingart wrote:
> Things already fixed:
> - No anonymous edits, but changed
> @auth.requires_membership('developer') to requires_login()
> - Fixed create_page bu
On Feb 9, 2010, at 4:07 PM, Richard wrote:
> I often do this and my only problem is when updating modules, which
> requires me to restart the server so web2py uses the new versions.
Hmm. I uninstalled the app, and then installed it from scratch (not compiled).
Worked fine.
I then installed it a
On Feb 9, 2010, at 4:52 PM, Thadeus Burgess wrote:
> No anonymous edits... Django fanboys will deface it within minutes of
> it going up
I think that's best. Wikipedia expends an awful lot of effort cleaning up after
defacers.
>
> -Thadeus
>
>
>
>
>
> On Tue, Feb 9, 2010 at 6:36 PM, Maria
Don't wait for me, currently I have no plans to work on this.
On 9 feb, 10:47, kralin wrote:
> Let me know if I can help.
>
> anyhow a good starting point would be making the table.insert() able
> to return None
> if no primary key or ID is defined. what do u think? is this
> possible?
>
> On 8
After some quick testing, I have found that MoinMoin works fine with
RST without any additional software (only python-docutils needed) and
with markdown too (needs python-markdown installed).
Moreover, with a theme such as Moniker, the wiki looks neat.
Regards
Anand
On Feb 10, 8:02 am, Richard
This is not normal.
Can you share more details about the setup? The amount of traffic and
the problem you encountered?
In web2py all sessions are uuid and the probablility that two uuid are
the same is null (unless these machine are one clone of the others in
which case I am not sure how the pytho
my bad. place replace all session.vars... with request.vars...
On Feb 8, 4:26 pm, mdipierro wrote:
> You have a few problems, fixed below hopefully
>
> def index():
> form = FORM(TABLE(TR('Field:','',
> SELECT(
> OPTION('title', _value = 1
If I understand it, it is not that different
result = db(db.Address.City.like('Oklahoma%')).select()
On Feb 9, 2:58 pm, selecta wrote:
> I really like the psql modulehttp://pypi.python.org/pypi/pSQL/0.9.2
> you can do things like
> result = db.Address.City["Oklahoma%"]
>
> at the beginning it wa
you can use db.auth_used.field.writable=False to turn off a field. You
can make a wizard that moved on self submissions
def profile():
if not session.wizard_step:
turn off some fields
form =
if form accepts reload and session.wizard_step=1
elif session.wizard_
No you still needs to setup a validator
On Feb 9, 3:29 pm, Wes James wrote:
> When text is typed that is not in the list and submitted there is this error:
>
> Traceback (most recent call last):
> File "/opt/00/gluon/restricted.py", line 173, in restricted
> exec ccode in environment
> Fi
I have never seen this. Let me know if you find out what the problem
is.
On Feb 9, 6:58 pm, Jonathan Lundell wrote:
> On Feb 9, 2010, at 4:07 PM, Richard wrote:
>
> > I often do this and my only problem is when updating modules, which
> > requires me to restart the server so web2py uses the new v
Massimo, Could you please patch sql.py near line 1061:
self._pool_connection(lambda : \
kinterbasdb.connect(dsn='%s:%s' % (host+'/'+port, db),
user=user,
password=passwd,
charset=charset))
Explanation: I have joined +'/'+port to the host string. The
omission of the
On Feb 9, 2010, at 8:16 PM, mdipierro wrote:
> I have never seen this. Let me know if you find out what the problem
> is.
OK; tomorrow. This is on Linux. Looking at app_install, I see this:
> upfile = open(upname, 'wb')
> upfile.write(fobj.read())
> upfile.close()
>
Hi,
I have something along the lines of
db.define_table('post',
...)
db.define_table('post_comment',
Field('post_id', db.post),
Field('comment_by', db.auth_user),
Field('comment', 'text')
I'm trying to list the comments along with the author's name. However,
I'm having problems joini
The DAL will do the join for you on a reference field. You should be
able to do:
comments = db(db.post_comment.post_id==request.args(0)).select()
for c in comments:
print c.comment_by.username,c.comment
I don't think this works on GAE
On Feb 9, 11:19 pm, minh wrote:
> Hi,
>
> I have someth
I am evaluating web2py CAS appliance for the following application:
central authentication and moneykeeping for many auctions. CAS should
not only validate users for many auction sites but also store user's
payments, balance, respond to requests (soap/rpc) on balance
available, blocking amounts etc
I think I found the problem: it only happened when I accessed a
html-page that was in /private/static. I want to have login access to
that file but putting it in private/static caused this problem of
double login. Somehow the session seems to disappear.
Moving it to /static made the problem (an
This is my honest opinion.
Practice what you preach.
On Feb 8, 11:12 pm, mikech wrote:
> Seriously?
>
> On Feb 8, 1:47 pm, "ma...@rockiger.com"
> wrote:
>
>
>
> > From the web2py marketing department:
>
> > Using anything different than web2py is a no go.
> > Practice what you preach. Otherwise
I had not understood. This is not about upgrading web2py but about
upgrading an app. The fact is it is not safe to unpack an up if one
with the same name exists. How do you know it is the same? Right now
it simply does not allow that, it wants you uninstall first. I guess
we override this check but
Yes this:
comments = db(db.post_comment.post_id==request.args(0)).select()
for c in comments:
print c.comment_by.username,c.comment
works on GAE but this is not a JOIN.
This a join:
comments = db(db.post_comment.post_id==db.post.id)==.select()
for c in comments:
print c.post.content,c.p
The CAS protocol does not allow it so the app does not. Probably it is
not too difficult to add the functionality but it would not be called
CAS any more.
On Feb 10, 12:28 am, SergeyPo wrote:
> I am evaluating web2py CAS appliance for the following application:
> central authentication and moneyk
Can you send me privately the code in question. I do not underand this
and I would like in case it happens again.
On Feb 10, 1:12 am, Johann Spies wrote:
> I think I found the problem: it only happened when I accessed a
> html-page that was in /private/static. I want to have login access to
> t
I agree. I cannot prevent users to what they want and if using third
party tools is a requirement for people willing to create
documentation, fine. I am going to stick with web2py and I will
hopefully post some documentation online soon.
On Feb 10, 1:22 am, "ma...@rockiger.com"
wrote:
> This is m
87 matches
Mail list logo