>> Are you looking for a publisher-subscriber
mechanism?
Yes. It would be really good to have it, Django has it and Web2py
still doesn't,
it could be very nice to have publisher-subscriber especially for
project with several apps/plug-ins.
It allows to add plug-in that will change main app behavi
Hi, your link to web2py file configuration appear cutted and wrong
formed, try to sendit again as attachement to be sure.
thanks for your inputs,
alex f
El 23/10/2009 3:43, Richard escribió:
> (btw you need to refresh the URL to see updates)
>
>
> On Oct 23, 12:42 pm, Richard wrote:
>
>> go
I see there are many emails about problems with shared hosting.
I want to deploy a web2py site (my first one) on a shared host (Debian
Etch with python2.4 as default python).
Python 2.5 is also available and I have succeeded in installing a 2.5
version of mod_wsgi for apache2 on the system.
I w
On Oct 23, 8:45 pm, Johann Spies wrote:
> I see there are many emails about problems with shared hosting.
>
> I want to deploy a web2py site (my first one) on a shared host (Debian
> Etch with python2.4 as default python).
>
> Python 2.5 is also available and I have succeeded in installing a 2.
I don't seem to have privilege to attach files, but you can find it in
the thread I linked to before:
http://community.activestate.com/forum/implicit-python-code-completion
On Oct 23, 8:39 pm, Alex Fanjul wrote:
> Hi, your link to web2py file configuration appear cutted and wrong
> formed, try
I am not sure of that, but perhaps this method should be included in the
docs as a way to test json-rpc. The example in the book is a bit too
specific for what I want to do. This way I can setup the service, verify
that it works, and move on to the next phase of development without setting
up pyj
2009/10/23 Graham Dumpleton :
>
> One can only have a single SSL certificate for an IP so you can't have
> multiple virtual hosts for HTTPS off same IP.
That is what I found out while trying this.
>
>
> If there is a HTTPS restriction stopping you from using mod_wsgi in
> that way, using fastcgi
Is there anything within web2py's json-rpc implementation that would
prevent cross domain calls?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googl
Hi Thadeus,
On Oct 23, 2:08 am, Thadeus Burgess wrote:
> I might just be doing something wrong, but I think there is something with
> the MySQL DAL...
>
> Nothing with this define_table will pass... listed below are the errors.
>
> db.define_table("test_table",
> Field('id_user', auth.user),
Hello everybody,
yesterday I've bought on Lulu the Book on web2py. I've a good
experience with Django and I want to share my first impressions on
Web2py that, I think, have some positives and some negatives respect
to Django.
The cons:
1) ORM maybe it's more powerful than the Django one but it's
Do you in Django how the information is shared if the apps are on a
distributed platform (like multiple servers or GAE)?
On Oct 23, 2:07 am, Alex Ruddy wrote:
> >> Are you looking for a publisher-subscriber
>
> mechanism?
>
> Yes. It would be really good to have it, Django has it and Web2py
> s
There is nothing in the JSONRPC to do it but you can block those calls
from outside using routes. It is not that user friendly. Let me think
about this. If poeple have any idea let me know.
On Oct 23, 8:24 am, Don Lee wrote:
> Is there anything within web2py's json-rpc implementation that would
I do not need cross domain call blocking. But I guess it would be a
good feature to have. I am experiencing a problem with qooxdoo's
cross domain call setup, and I wanted to make sure there wasn't
something within web2py that I should configure as well. Now I have
to go and gather some data so
I agree with everything you say except one.
I do not act like a spammer (defined as someone who sends unsolicited
bulk messages). I just respond to every post online mentioning web2py
and to posts asking generic information about Python Web Frameworks,
in particular to correct false statements ma
I'm using QooxDoo / Web2Py with JSonRpc in several applications and
don't need special features in Web2py. If you want crossdomain feature
in QooxDoo you must set the crossDomain property to true:
var rpc = new qx.io.remote.Rpc("http://targetdomain.com/appname/
function/call/jsonrpc");
rpc
"Anyway, you do not need to like me to like web2py and vice versa. "
Let me clarify that I have absolutely no problem with you, I just
wanted to "tell" the impression that an external user may have reading
some discussions through some forum. I've expressed those critics
because I think that web2
I should doubly apologize because I have incorrectly interpreted the
tone of your email.
I really appreciate your advice on this matter.
Massimo
On Oct 23, 9:28 am, Doxaliber wrote:
> "Anyway, you do not need to like me to like web2py and vice versa. "
>
> Let me clarify that I have absolutely
Sorry, my english is really bad. :-/
On 23 Ott, 16:37, mdipierro wrote:
> I should doubly apologize because I have incorrectly interpreted the
> tone of your email.
> I really appreciate your advice on this matter.
>
> Massimo
>
> On Oct 23, 9:28 am, Doxaliber wrote:
>
> > "Anyway, you do not n
That makes two of us. But we do have another language in common.
On Oct 23, 9:40 am, Doxaliber wrote:
> Sorry, my english is really bad. :-/
>
> On 23 Ott, 16:37, mdipierro wrote:
>
> > I should doubly apologize because I have incorrectly interpreted the
> > tone of your email.
> > I really app
thanks, solved by this:
counter = 0
for root, dirs, files in os.walk(repo_path):
i = 1
for filename in files:
path = os.path.join(root, filename)
new_filename = 'image.file.' + str(i + counter) + '.' +
filename
shutil.copyfile(path,
I've added the following field to the table worksheet:
SQLField('mysortkey', length = 40, default = 'something' )
I get a ticket reporting:
Traceback (most recent call last):
File "/home/scott/web2py_1_68_2/gluon/restricted.py", line 184, in
restricted
exec ccode in environment
File "/h
Hi Doxaliber,
On Oct 23, 6:02 am, Doxaliber wrote:
> Hello everybody,
>
> yesterday I've bought on Lulu the Book on web2py. I've a good
> experience with Django and I want to share my first impressions on
> Web2py that, I think, have some positives and some negatives respect
> to Django.
>
> The
Yeah that was just a typo when I wrote it in gmail, I did not copy/paste it
from my code. It is db.auth_user in my code.
-Thadeus
On Fri, Oct 23, 2009 at 8:30 AM, DenesL wrote:
>
> Hi Thadeus,
>
> On Oct 23, 2:08 am, Thadeus Burgess wrote:
> > I might just be doing something wrong, but I th
So just to be clear, you are not getting
TypeError: 'NoneType' object is unsubscriptable ?
I get the same error using your posted code with MSSQL (and it will
blow up with any other DB), so it is not something with the MySQL DAL.
Denes.
On Oct 23, 11:42 am, Thadeus Burgess wrote:
> Yeah that
No, I am getting
OperationalError: (1071, 'Specified key was too long; max key length
is 767 bytes')
Yes, I do get the unscriptable error if I use auth.user... I think I caught
that after I made the post and got tired and went to sleep :)
But I still get the OperationalError with this: It works
Hello Denes,
> I am not sure that is a con.
> More powerful (I can't opine since I have not used Django) but less
> immediate?.
I think there is a misunderstanding, I've wrote that Django ORM is
less powerful but more immediate :
"ORM maybe it's more powerful than the Django one but it's less
im
So basically, from what I gather looking over what I have, the only thing I
have wrong with my configuration is setting PythonHome and SocketPrefix.
when I place the WSGIDaemon and WSGIProcessGroup and WSGIScriptAlias in the
VirtualHost in httpd.conf, the site displays a directory listing of
/var/
Without a virtualhost declaration for https, if I navigate to https, it will
direct to the httpsdoc folder.
-Thadeus
On Fri, Oct 23, 2009 at 11:43 AM, Thadeus Burgess wrote:
> 503's
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Thanks omicron. I have enabled the cross Domain property and saw some
interesting behavior that led me to believe that web2py needed
additional configuration. This post and additional investigation have
reversed my opinion.
I am using qooxdoo-0.8.3 . I found the following:
web server / json-r
There is definitely something broken with the mysql DAL.
On the app I am working on in my day job, I pointed it over to our mysql
servers to an already created database, and got the OperationlError key was
too long;
-Thadeus
On Fri, Oct 23, 2009 at 10:57 AM, Thadeus Burgess wrote:
> Operati
Why do you suggest postgresql? I have done alot of research into the two,
and mysql seems to be the more effeciant of the two.
>From what I gather, mysql is created to be lightweight, and super fast.
Postgresql is created to be feature full and stable.
However, dreamhost does not provide postgres
> Can you tell me how can I implement the select with add in a form?
I have not used it (yet) but it is documented in a web2pyslice:
http://www.web2pyslices.com/main/slices/take_slice/11>
Denes.
--~--~-~--~~~---~--~~
You received this message because you are subs
We may be conceptualizing plugins differently, but I think they would
need views for layout as well as supporting resource files (js,
images, css). I am imagining plugins as things like commments, openID
login, menus, wikis, etc... It sounds like the current design is going
forward so I won't wor
I would like to display a version number (of the application, not
web2py) in the footer of layout.html. It would seem creating a new
setting similar to the author setting would work well.
Questions:
1) Can I create custom settings? Will web2py upgrades have any affect
on them?
2) Where should s
You version of MySQL might have a bug:
http://bugs.mysql.com/bug.php?id=4541
If there is way around it then the DAL might be modified to handle it.
There are additional hits doing a Google search with that error.
Denes.
--~--~-~--~~~---~--~~
You received this
This is just my biased opinion:
1) MySQL was fatser than postgresql when it had no transaction
2) MySQL has lots of quirks (like max length for text files, no
multiple alter table in one transaction, and others)
3) MySQL was developed by SUN which was bought by Oracle and it is not
clear what it f
> authors = models.ManyToManyField(Author)
This hides the actual database implementation. It is fine is the link
table does not carry additional information but limiting otherwise.
Web2py we choose not abstract the databse too much, only the syntax to
access it, more like RoR does it.
We allow co
I normally put settings in models/0.py but it is not a rule.
you can define any variable like
response.myvar as long as it is not there already. Even if new
settings were to be defined by future web2py versions it is unlikely
there will be conflict since yours would override them.
On Oct 23, 10
Is there a way in the DAL to specify ENGINE=MyISAM; ?
It might have to do with using InnoDB, not sure.
Let me try this on postgres :)
-Thadeus
On Fri, Oct 23, 2009 at 1:18 PM, DenesL wrote:
>
>
> You version of MySQL might have a bug:
> http://bugs.mysql.com/bug.php?id=4541
>
> If there is
On
http://www.web2py.com/examples/default/dal
Line one
db = DAL(‘postgres://user:passw...@hostname/db’, pools=10)
there is no pools declarative it should be pool_size,
Is this a typo in documentation? the book uses pool_size
For the heck of it, it can be patched for backwards compatibility:
There was a time when we called the variable pools (not pool_size) but
it was never documented so we do not need to keep backward
compatibility (unless there are objections).
I will fix it.
On Oct 23, 2:10 pm, Thadeus Burgess wrote:
> On
>
> http://www.web2py.com/examples/default/dal
>
> Line on
Could you help me with python-postgres installation?
I installed postgresql, and postgresql-server, they are running, and I can
access postgre through phpPgAdmin.
I tried installing psycog2 however I get the following traceback
running build
running build_py
creating build
creating build/lib.lin
It was documented On the example page! :) However since the book is the law
on what is considered "compatibility", its all good.
-Thadeus
On Fri, Oct 23, 2009 at 2:26 PM, mdipierro wrote:
>
> There was a time when we called the variable pools (not pool_size) but
> it was never documented so
well after some investigation I would say:
- python has no cross platform module to lock files
- on unix like systems there are no problems because of the fcntl
native python module
- web2py uses the classic portalocker, a cross platform module to
control file locking in a posix environment
- por
True. This is why we provide the windows binary, it includes the mark
hammond extensions.
On Oct 23, 5:13 pm, carlo wrote:
> well after some investigation I would say:
>
> - python has no cross platform module to lock files
> - on unix like systems there are no problems because of the fcntl
> na
How does one extend the auth system (e.g. adding more fields, like
user avatar, username, etc.)? I've seen a couple things in Wikis and
so on, but nothing has been very clear.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
htpt://www.qualitysystems.com
This is our first site built using web2py. We have been Zope/Plone
developers for many years and have built many Plone sites - we decided
to stick with Python for this project but wanted to try something
different and less cumbersome. Overall I'd say that web2py is a
On Oct 23, 11:35 pm, Johann Spies wrote:
> 2009/10/23 Graham Dumpleton :
>
>
>
> > One can only have a single SSL certificate for an IP so you can't have
> > multiple virtual hosts for HTTPS off same IP.
>
> That is what I found out while trying this.
>
>
>
> > If there is a HTTPS restriction s
On Oct 24, 3:43 am, Thadeus Burgess wrote:
> So basically, from what I gather looking over what I have, the only thing I
> have wrong with my configuration is setting PythonHome and SocketPrefix.
>
> when I place the WSGIDaemon and WSGIProcessGroup and WSGIScriptAlias in the
> VirtualHost in ht
Amazing looking site!
On Oct 23, 9:02 pm, Darcy Clark wrote:
> htpt://www.qualitysystems.com
>
> This is our first site built using web2py. We have been Zope/Plone
> developers for many years and have built many Plone sites - we decided
> to stick with Python for this project but wanted to try s
You just need to define a custom auth table. If you define a username
field it will be used instead of email when you login. You can define
any other fields you want. For example in your model:
from gluon.tools import *
auth=Auth(globals(),db)
auth_table = db.define_table("auth_user",
db.F
I think in setup.py you need to tell it where pg_config is
/usr/local/pgsql/bin/pg_config
something like that if you didn't.
On Fri, Oct 23, 2009 at 1:29 PM, Thadeus Burgess wrote:
> Could you help me with python-postgres installation?
>
> I installed postgresql, and postgresql-server, the
Really amazing site. And thanks for you comment.
Does it mention web2py anywhere? You do not have to. But if you I will
be happy to list your company under "affiliated companies".
On Oct 23, 9:02 pm, Darcy Clark wrote:
> htpt://www.qualitysystems.com
>
> This is our first site built using web
I normally use appliedstacks.com to keep track and record web2py
powered web sites. Today it is down and I realized that information
may get lost.
It would be nice if somebody where to take on the job of listing known
"web2py powered" web sites on the web2py wiki that Alvaro is
maintaining.
Mass
Cool.
Nice work ;)
On Oct 23, 9:02 pm, Darcy Clark wrote:
> htpt://www.qualitysystems.com
>
> This is our first site built using web2py. We have been Zope/Plone
> developers for many years and have built many Plone sites - we decided
> to stick with Python for this project but wanted to try som
I like the site. BTW I noticed a Plone favicon for some reason.
What were your reasons for chosing web2py over Django?
What database are you using on the backend? sqlite, mysql, postgres?
On Fri, Oct 23, 2009 at 10:25 PM, JorgeRpo wrote:
>
> Cool.
>
> Nice work ;)
>
> On Oct 23, 9:02 pm, Darcy
> On Oct 21, 12:03 pm, Iceberg wrote:
> > It is a little bit surprising and happy to see these error_message
> > draw enough attention. :-) So is it time to also consider my proposal
> > more than one month before?
> > http://groups.google.com/group/web2py/browse_frm/thread/8cbe658406be595f
>
The paths are simlinked.
Also, the site does not work if WSGI declarations are in
Remember, I am running on CentOS 5 not Ubuntu, debian, arch, or slack... and
I have PLESK to deal with.
If I were running on ubuntu, I wouldn't even be asking any questions,
because it works perfectly on my home u
Thanks, got it installed now!
-Thadeus
On Fri, Oct 23, 2009 at 9:55 PM, Wes James wrote:
>
> I think in setup.py you need to tell it where pg_config is
> /usr/local/pgsql/bin/pg_config
>
> something like that if you didn't.
>
> On Fri, Oct 23, 2009 at 1:29 PM, Thadeus Burgess
> wrote:
there is something new in trunk that I forgot to mention.
I get annoyed by things like this in routes (not readable)
routes_in=[('/(?P.*)','/myapp/\g')]
so now you can do
routes_in=[('/$anything','/myapp/$anything')]
$anything is a keyword that matches everything until the end of the
cool
I am not that into reg exp.
Nice feature.
On Oct 23, 10:46 pm, mdipierro wrote:
> there is something new in trunk that I forgot to mention.
>
> I get annoyed by things like this in routes (not readable)
>
> routes_in=[('/(?P.*)','/myapp/\g')]
>
> so now you can do
>
> routes_in=[(
Nope. This would allow one app to change error messages to other apps.
On Oct 23, 10:42 pm, Iceberg wrote:
> > On Oct 21, 12:03 pm, Iceberg wrote:
> > > It is a little bit surprising and happy to see these error_message
> > > draw enough attention. :-) So is it time to also consider my proposa
Sorry for the late reply. That comment is misleading and I will remove
it The code in there has nothing to do with uuid. That code has to do
with customizing the names of the .table. web2py uses uuid to name
those files. Nothing to do with UUIDs for records.
You can add a uuid field if you want b
You can also use $a, $b, $whatever to match any sequence of
alphanumeric chars
On Oct 23, 10:54 pm, JorgeRpo wrote:
> cool
>
> I am not that into reg exp.
>
> Nice feature.
>
> On Oct 23, 10:46 pm, mdipierro wrote:
>
> > there is something new in trunk that I forgot to mention.
>
> > I get anno
It seems to me this would move us completely in the wrong direction.
It would create a lot of structure one would need to remember. It
creates a new programming paradigm where for plugin models/view/
controllers are no longer separated in files but stored together in
the same file.
I like the ide
I cannot reproduce this. My only guess is that your databases/*.table
files got corrupted. Perhaps you copied you .sqlite file but not
the .table files and they got out of sync. If you do not have data in
there, just delete everything in databases/
Massimo
On Oct 23, 10:04 am, Scott Hunter wrot
Massimo, in the video you assume that there are instances of DAL and
Crud that are named db and crud respectively. This may not be the
case and doesn't seem portable. Shouldn't their be a way to
instantiate a plugin with a user's current instances? (i.e. what if
they named their Crud instance my
Multiple DAL. If I wrote a script that HAS to connect to a mysql database,
and a postgresql database at the same time.
-Thadeus
On Fri, Oct 23, 2009 at 11:32 PM, mr.freeze wrote:
>
> Massimo, in the video you assume that there are instances of DAL and
> Crud that are named db and crud respec
68 matches
Mail list logo