Thank you.
Massimo
On Dec 4, 7:48 pm, Delaney Gillilan wrote:
> Ah didn't realize they were embedded in __getIconRunning & __getIconStopped.
>
> Attached is a version of the icons using the logo with a stroke to denote
> up/down status, kinda like Apache's icon.
>
> Using actual graphics files m
Ah didn't realize they were embedded in __getIconRunning & __getIconStopped.
Attached is a version of the icons using the logo with a stroke to denote
up/down status, kinda like Apache's icon.
Using actual graphics files makes it easier to change. Let me know if these
work for you. Thanks.
On
Here is my hgignore I use for web2py, and my other mercurial projects...
syntax: regexp
^databases/
^errors/
^sessions/
^cache/
^routes.py$
syntax: glob
*.pyc
*~
parameters_*.py
-Thadeus
On Fri, Dec 4, 2009 at 7:03 PM, mdipierro wrote:
> Actually this is something I am trying to unders
There is no .ico file and no path to such file is passed to class
TaskBarIcon in gluon/contrib/taskbar_widget.py.
Is somebody were to make such file I will include it.
Massimo
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this gro
Actually this is something I am trying to understand. Google code
seems to require a choice hg or svn. I thought that google code would
store the data so that one could retrieve it in both svn and hg but it
seems now only the old data is available in svn and the new data only
in hg.
Massimo
On De
I don't see the ico file use in the taskbar icon in the Source zip
file. Where is it located?
--
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 ema
On Dec 4, 2009, at 4:45 PM, mdipierro wrote:
> Let's kwwp both mercur...@googlecode and baz...@launchpad for a little
> while, then we kill the latter.
And svn?
(I like Mercurial, but BBEdit has svn integration, not hg, and that's very
handy.)
--
You received this message because you are subs
Cool thing with google code, is I can now make my own clone of web2py
done... :)
-Thadeus
On Fri, Dec 4, 2009 at 6:45 PM, mdipierro wrote:
> Thank you. This is exactly what I needed.
> Let's kwwp both mercur...@googlecode and baz...@launchpad for a little
> while, then we kill the latter.
>
In that case, perfect. I think at this point, a fresh start would be nice.
-Thadeus
On Fri, Dec 4, 2009 at 6:41 PM, mdipierro wrote:
> The fact is google code continues to hold the old svn. A number have
> complained about the web2py history being big and making the pull too
> long. I though
Thank you. This is exactly what I needed.
Let's kwwp both mercur...@googlecode and baz...@launchpad for a little
while, then we kill the latter.
Massimo
On Dec 4, 6:29 pm, Thadeus Burgess wrote:
> Here you go,
>
> http://mercurial.selenic.com/wiki/FAQ#FAQ.2BAC8-CommonProblems.How_ca...
>
> -Thad
The fact is google code continues to hold the old svn. A number have
complained about the web2py history being big and making the pull too
long. I thought it was good to start from scratch. Was I wrong?
Massimo
On Dec 4, 6:22 pm, Thadeus Burgess wrote:
> I know there are some hg tools to synchro
Here you go,
http://mercurial.selenic.com/wiki/FAQ#FAQ.2BAC8-CommonProblems.How_can_I_store_my_HTTP_login_once_and_for_all_.3F
-Thadeus
On Fri, Dec 4, 2009 at 4:57 PM, mdipierro wrote:
> Is it possible to configure hg so that it does *NOT* ask every time,
> or pass it as command line argum
I know there are some hg tools to synchronize your hg repository with
an svn repository (history and tags etc).
I have done this when I first converted my SVN repo's to mercurial,
however it was a tedious and manual process, and it was only one-way
at the time
I'm sure you have seen this link
ht
Is it possible to configure hg so that it does *NOT* ask every time,
or pass it as command line argument?
On Dec 4, 4:43 pm, mdipierro wrote:
> I have migrated the google code repository from svn to mercurial.
>
> http://code.google.com/p/web2py/source/browse/#hg
>
> Thanks to Yarko for being
I have migrated the google code repository from svn to mercurial.
http://code.google.com/p/web2py/source/browse/#hg
Thanks to Yarko for being pushy in this direction.
It works for me but please check if it works for you too. If you do
check it, please post a message.
I need with one thing:
Thank you Massimo,
You are absolutelly right, it is the blob.
I can live with making some DB triggers to copy the data I need
from the blob to other fields in a different table. What I mean is,
you can put that way down on your list, there is no urgency from
my side, and this is prob
haha. web2py stores blobs base64 encoded. Your legacy database table
has a blob (called 'data') and the data in there is not encoded. It
happens that when you only extract record id=201326 this is not a
problem because the blob field is empty.
This is another example of very new feature (support f
I did the following test:
check in web2py in mercurial
clone
run web2py
it works out of the box. No need to modify source.
The missing folders are re-created without need to put junk in them.
This is very promising.
Now I need to understand how to have google code to work with both hg
and svn.
Hello,
After quite a lot of pain, I finally managed to install python-
mysqldb on my mac snow-leopard. At any rate it imports ok, and seems
to be working fine otherwise.
Yet, something funny is going on, when I try to get a specific
record it seems to work fine: (as you can see legacy tabl
Should be
/admin/default/edit/myApp/views/default/index.html
not
/admin/default/edit/myApp/views/default\index.html
You may had and old admin version. I thought this problem was fixed
long ago Did you --upgrade=yes?
On Dec 4, 3:32 pm, haftish21 wrote:
> I'm using latest version of apache ... E
I'm using latest version of apache ... Everything is going fine except
I can't tell what is creating this error 404?
Not Found
The requested URL /admin/default/edit/myApp/views/default\index.html
was not found on this server
--
You received this message because you are subscribed to the Google
Yes. You can make a bat that runs
python.exe web2py.py -S appname -M -R somescript.py
On Dec 4, 2:52 pm, SergeyPo wrote:
> What is the best way to run controller code periodicaly (GET request)?
> I need to run it daily, so windows scheduler would be fine, but what
> to schedule? Some BAT file or
What is the best way to run controller code periodicaly (GET request)?
I need to run it daily, so windows scheduler would be fine, but what
to schedule? Some BAT file or what?
On Dec 4, 6:52 pm, mdipierro wrote:
> There is a logical problem. the web server and cron are two processes
> and therefo
This is a module I wrote to generate a grid that supports paging,
sorting, crud links, totals and a few other things. It's still a work
in progress but seems to be functioning nicely:
http://www.web2pyslices.com/main/slices/take_slice/39
Enjoy!
--
You received this message because you are subs
I have thought for a while on whether we needed rules of conduct about
this mailing list. So far I thought we did not and it has worked out
pretty well. Nevertheless, I should clarify what I think this list has
done for us, and what to do to continue work.
1) This is the place where some people as
On Dec 4, 12:07 pm, mdipierro wrote:
> LOL
>
> next time bring it up on the developers list.
>
> I do not mind explaining how things work inside and perhaps we will
> find out there is a better way to implement it. ;-)
This is not a joke; not funny - comments will serve _you_ as well as
others.
On Dec 4, 11:36 am, Jonathan Lundell wrote:
> 1.71.3 never got released, but it does show up in the svn log at r1462 &
> r1463, both 11/26.
I meant to say 1.72.3.
> Massimo: when you create a tag in svn, svn creates a snapshot of the tree at
> the point of the tag.
>
> http://svnbook.red-bean.
Got into a clean version but still can't made it work:
routes_in = (('.*:/favicon.ico', '/examples/static/favicon.ico'),
('.*:/robots.txt', '/examples/static/robots.txt'),
-> ('.*:http://casasdocastro.com:POST /(?P.*)','/
casasdocastro/\g'),
)
maybe I should be heading to
On Dec 4, 11:52 am, Jonathan Lundell wrote:
> On Dec 4, 2009, at 9:45 AM, Thadeus Burgess wrote:
>
> > There are many parts of gluon that I look at and go... wtf.
>
> > And read it again, and go... wtf.
>
> > Only to find out the wtf comes from another module that has another
> > wtf in it that co
Tracked it down. It seems obvious now, but GAE doesn't seem to create
the table until it has to. I added this line:
db.define_table('prime1',Field('value','integer'))
and re-ran the application on both web2py and GAE. In web2py, it
created the file while in GAE it required the following db ins
On Dec 4, 11:45 am, Thadeus Burgess wrote:
> There are many parts of gluon that I look at and go... wtf.
>
> And read it again, and go... wtf.
>
> Only to find out the wtf comes from another module that has another
> wtf in it that comes from another module..
>
> If the chain of cohesion was comme
On Dec 4, 11:56 am, mdipierro wrote:
> While I not against the move.
> Actually I like the current mechanism for people emailing me patches.
> Using a web based system will actually turn out to be more work.
That doesn't need to be true; for example, Chromium (open source
Chrome) project uses thi
On Dec 4, 10:08 am, Massimo Di Pierro wrote:
> They are very similar but MongoDB has commercial support, is faster
> and the only one actually used in serious production environments.
> CouchDB is more popular because ships with ubuntu.
Looking at my 2 Ubuntu installs, CouchDB is not distribut
The proxing should not change the HTTP_HOST in the header.
On Dec 4, 12:09 pm, blackthorne wrote:
> Problem with routes is that I can't differenciate the traffic by its
> source (I think).
> Then, all other applications powered by web2py wouldn't become
> acessible
>
> e.g.:
> Client (browser) -
Problem with routes is that I can't differenciate the traffic by its
source (I think).
Then, all other applications powered by web2py wouldn't become
acessible
e.g.:
Client (browser) -> HTTPD (nginx) --> Apache (wsgi) -> web2py
(wsgihandler) -> my_web2py_application1 (routes)
all traffic gets re
LOL
next time bring it up on the developers list.
I do not mind explaining how things work inside and perhaps we will
find out there is a better way to implement it. ;-)
Massimo
On Dec 4, 11:45 am, Thadeus Burgess wrote:
> There are many parts of gluon that I look at and go... wtf.
>
> And r
Problem with routes is that I can't differenciate the traffic by its
source (I think).
Then, all other applications powered by web2py wouldn't become
acessible
e.g.:
Client (browser) -> HTTPD (nginx) --> Apache (wsgi) -> web2py
(wsgihandler) -> my_web2py_application1 (routes)
Please change
db().select(db.prime.id)
with
db(db.prime.id>0).select()
On Dec 4, 11:48 am, Gary wrote:
> I've been trying to deploy an application to GAE and I'm confused by
> the fact that it created the 'administration' files like auth_user,
> but didn't create the files for the appl
While I not against the move.
Actually I like the current mechanism for people emailing me patches.
Using a web based system will actually turn out to be more work.
Massimo
On Dec 4, 11:42 am, Thadeus Burgess wrote:
> As long as this community is growing, we really need to move to a
> DVCS. Inst
On Dec 4, 2009, at 9:45 AM, Thadeus Burgess wrote:
> There are many parts of gluon that I look at and go... wtf.
>
> And read it again, and go... wtf.
>
> Only to find out the wtf comes from another module that has another
> wtf in it that comes from another module..
>
> If the chain of cohesio
On Dec 4, 10:08 am, Massimo Di Pierro wrote:
> They are very similar but MongoDB has commercial support, is faster
> and the only one actually used in serious production environments.
> CouchDB is more popular because ships with ubuntu.
Mongo uses a binary JSON;
See
http://www.mongodb.org/dis
virtualfields?
http://groups.google.com/group/web2py/browse_thread/thread/c684346f13773f93/5f10ac526197557a?lnk=gst&q=virtual+field#5f10ac526197557a
-Thadeus
On Fri, Dec 4, 2009 at 11:17 AM, Yarko Tymciurak
wrote:
> On Dec 4, 10:58 am, johntynan wrote:
>> I have a question about finding th
I've been trying to deploy an application to GAE and I'm confused by
the fact that it created the 'administration' files like auth_user,
but didn't create the files for the application. I've even taken the
prime number paging program from the web2py manual and, although it
works on localhost, it f
There are many parts of gluon that I look at and go... wtf.
And read it again, and go... wtf.
Only to find out the wtf comes from another module that has another
wtf in it that comes from another module..
If the chain of cohesion was commented, gluon would be much much
easier to learn.
-Thadeus
As long as this community is growing, we really need to move to a
DVCS. Instead of contributors having to mail you diffs, you could just
choose to "pull" from our cloned repositories, and pick out what you
want... At any time.
-Thadeus
On Fri, Dec 4, 2009 at 11:16 AM, mdipierro wrote:
>> I s
On Dec 4, 2009, at 6:08 AM, Fred wrote:
> On Dec 3, 3:42 pm, Jonathan Lundell wrote:
>> Massimo is pretty good about announcing release versions in svn comments.
>
> I see now that there are quite a few SVN log entries with release
> version numbers. 1.71.3 wasn't there though and so I went wit
Ideally you would apache to do the rewriting but I am not if
webfaction allows that.
You can use routes to map domainnames into apps.
See if you can figure out the syntax form the book or I will try come
up with an example.
Massimo
On Dec 4, 11:27 am, blackthorne wrote:
> I have a apachewsgi w
I have a apachewsgi webfaction application which is holding a web2py
that keeps multiple web applications.
If I map the domain www.y.org to it, I am able to access its web
applications using www.y.org/application1 , www.y.org/application2 ,
www.y.org/application3. Well, you know that...
Now, I got
Always the contrarian, I have a completely different view on
comments...
Comments are the things programmers write intending to make the code
clearer, but they wind up being WRONG most of the time. Why? Because
the code changes and the comments don't.
Many studies support this. Comments that a
On Dec 4, 10:58 am, johntynan wrote:
> I have a question about finding the sum of a specific field across the
> results of an entire query
>
> While this statement will return the total number (len) of records
> returned in a query:
> pledgedrive_total_pledges = len(db
> (db.pledge.pledgedrive==pl
> I suggest that web2py will improve by updating it to create missing
> empty application directories.
It does that already. It just needs testing (check in everything with
hg, delete everything, checkout everything. Does it work?)
> You are correct - I guessed; here is what DOES work:
>
> syn
I think this should do it:
r = db(db.pledge.pledgedrive==pledgedrive_id).select
(db.pledge.amount.sum())
total=r[0]._extra[db.pledge.amount.sum()]
It will not work on GAE.
On Dec 4, 10:58 am, johntynan wrote:
> I have a question about finding the sum of a specific field across the
> results of
On Dec 3, 11:39 pm, mdipierro wrote:
> > > There are two problems. Consider the errors folder. README.txt would
> > > show up in the admin error page.
>
> > Then find a way to do it - change so that errors does not show either
> > README or anything that has the pattern '__.*__';
>
> I do not like
I have a question about finding the sum of a specific field across the
results of an entire query
While this statement will return the total number (len) of records
returned in a query:
pledgedrive_total_pledges = len(db
(db.pledge.pledgedrive==pledgedrive_id).select())
I would like to get the to
They are very similar but MongoDB has commercial support, is faster
and the only one actually used in serious production environments.
CouchDB is more popular because ships with ubuntu.
Massimo
On Dec 4, 2009, at 10:00 AM, Alex Fanjul wrote:
> +1 Im also pretty interested in have a key-value
+1 Im also pretty interested in have a key-value document oriented
database implemented in web2py to do "real-time" services like twitter,
bitly, etc.
I've heard about couchdb but not this one (mongDB), any major differences?
Alex F
El 04/12/2009 4:10, mdipierro escribió:
> It should be easy to
There is a logical problem. the web server and cron are two processes
and therefore they should be threated as two different services or
there should be a mechanism to start and stop them both. Right now the
windows service only handles the web service.
The cron code needs some cleanup because rig
Thank you!
On Dec 4, 9:13 am, Timbo wrote:
> @Alexandre: I understand that you're trying to help. It's much better
> to actually fix the broken code than to "fix" the applications.
>
> @Massimo: This is very doable. I'll prepare a patch and email it to
> you.
>
> On Dec 3, 5:58 pm, mdipierro
Hi Dimitri,
A few months back, Hans, Tim, Jonathan helped port most (if not all)
the docstrings to Sphinx. Tim also wrote a script to generate Sphinx
documentation from the docstrings (which in web2py/doc/
Than this effort stopped. The goal should be that of improving the
docstrings and add refer
@Alexandre: I understand that you're trying to help. It's much better
to actually fix the broken code than to "fix" the applications.
@Massimo: This is very doable. I'll prepare a patch and email it to
you.
On Dec 3, 5:58 pm, mdipierro wrote:
> I am aware of this problem.
>
> This is a differ
Just to clarify - is the conversation here about moving the main
manual (http://www.web2py.com/examples/default/docs ) to Sphinx?
Or a different set of docs, auto-generated from the code comments or
something like?
In any case, I'd be willing to help work on it.
On Nov 23, 10:28 am, mdipierro wr
It is not a show stopper and yes web2py creates the missing folders
but it needs to be tested more. I will do so. This is in fact a better
solution than storing dummy files in empty folders.
What do you mean by "I would much prefer tagging releases as a
distinct copies in SVN. "?
Massimo
On Dec
On Dec 3, 3:42 pm, Jonathan Lundell wrote:
> Massimo is pretty good about announcing release versions in svn comments.
I see now that there are quite a few SVN log entries with release
version numbers. 1.71.3 wasn't there though and so I went with the
process that I outlined above.
But my proce
Hello,
I am having problem with cron. My crontable:
*/5 * * * * root *default/getcaptypes
Controller method 'default/getcaptypes' works fine when you call it
directly. It works fine when called by cron when web2py is running as
console. But it is not working when I start web2py as windo
64 matches
Mail list logo