Nice to have partial progress in 1.81.5 anyway. Congratulations. Even
so, how comes an HTTP 400 error can lock Rocket? @_@
And if that is somehow really the cause, we need to prevent 400 error
from /favicon.ico It is simple, add this lines into welcome
scaffold's layout.html
and supply a def
That is why we need "Stop pollution, protect the environment!" :-)
On Jul 23, 5:16am, marcelielapointe
wrote:
> I finally find the problem!!
>
> I am doing some import in a models, in particular:
>
> from pylab import *
>
> if I comment this line everything works fine
>
> So It's look like i
By the way, I don't know how about everyone else, but I always
confuse compute and virtualfield feature, and each time I need to
check document to know which one is for reading from db and the other
is for writing into db. How about giving an alias "onvalidation" to
the feature "compute", so that
:r['foo']) # not r.foo
is an easier equivalent for:
def callback(form): form.vars.bar = form.vars.foo
form.accepts(..., onvalidation=callback)
and it only works before inserting or updating a record into db.
Regards,
Iceberg
RL(r=request,f='log'))
# assuming there is an optional log action
but I never test it. I think a practical solution would be implement some log
handler which wraps GAE's own log facility.
Best regards,
Iceberg, 2010-Jul-24, 02:35(AM), Sat
inside
"static", no to mention the byproduct, a good one, that you log files
can be access via HTTP natively.
On Jul 24, 11:09pm, Yarin Kessler wrote:
> @Iceberg- Thanks for all the input- I'll review your latest and update the
> code later this weekend. With respect to log file
Some domain register supports "wild chars" in your domain name, so all
requests to "*.yourdomain.com" can reach your site.
If you prefer the other style, try web2py/route.py
On Jul 24, 10:59pm, "david.waldrop" wrote:
> Thnaks for the reply, but I think I was not clear. I se form you
> example h
s should not by default be exposed to the public.
>
> On Jul 24, 10:49 am, Iceberg wrote:
>
>
>
> > Sorry I disagree. No need to take "static" literally. In web2py,
> > "static" just means the content inside such directory will be served
> &
Put your helpers into modules, then use local_import(...). See also:
http://web2py.com/book/default/search?search=local_import
(Sent from my thinkpad)
On Jul 27, 1:02am, rochacbruno wrote:
> I dont think it is the right way, but I use to create a config.py and a
> helper.py in my models.
>
> Th
thread, anyway
please include the "parse html" feature. Currently a post is available
here. http://web2py.com/AlterEgo/default/show/266
Iceberg
_chinese')
or a fancy one:
LOAD(..., loading=IMG(_src='/loading_animation.gif'))
By the way, LOAD(...) has seemingly no document in web2py.com/book
yet.
Regards,
Iceberg
do_something()
# but wait, are all data ok, or just some error being hidden?
return dict(form=form) # And where is my errors?
Regards,
Iceberg
On Jul 27, 7:50pm, mdipierro wrote:
> Until this is resolved this is how I usually handle the situation.
>
> form=SQ
pts(..., hideerror=False) is implemented now, it is
also good. Thanks for your input.
Regards,
Iceberg
On Jul 28, 1:01pm, mdipierro wrote:
> Because the SQLFORM/FORM API did not provide a hideerror option (until
> now) the solution was a trick:
> 1) move the form.errors into a new
Hi, did anyone who successfully uses web2py_win.zip and your app needs
a cache.disk()?
I just tried that but encountered following error. I guess the problem
is due to missing dbhash.py in web2py's windows builder. Massimo
please take a look.
Version 1.81.5 (2010-07-22 23:56:21)
Database drivers
't like the fact that it hardcode the
app name (as well as the port).
PS: Using cache.disk() is not (yet) a workaround for web2py_win.zip. I
report a bug about that in another post.
So, what's your opinion?
Regards,
Iceberg
cache.disk
>
> > PS: Using cache.disk() is not (yet) a workaround for
> web2py_win.zip. I
> > report a bug about that in another post.
>
> I do not recall this. Can you tell us more and point to the post?
>
> Massimo
>
> On Jul 28, 2010, at 4:48 AM, Iceberg wrote:
>
but how to know this value?
app,
command
) ).read()
continue
I don't think request.env.server_port is available in the newcron.py
context. Does it?
Regards,
Iceberg
On Jul 28, 8:46pm, mdipierro wrote:
> You can do what you s
# or auth.requires(whatever)
def foo():
return 'bar'
is always protected by authentication. Is this a desired effect in
original design, Massimo?
So currently there is no way for a cron job to access any action
protected by authentication (a.k.a. the secured function).
Regar
s not that
bad. (Tips: to shorten the test time, I change the crontab time gap to
minimal one minute.)
Regards,
Iceberg
On Jul 29, 6:15am, mdipierro wrote:
> There clearly is a problem with the cron processes.
>
> Massimo
>
> On Jul 28, 4:10 pm, MikeEllis wrote:
>
>
>
> >
3] http://web2py.com/book/default/section/4/17?search=cron
Sincerely,
Iceberg, 2010-Jul-29, 22:04(PM), Thu
On Jul 30, 1:40 am, Vasile Ermicioi wrote:
> I think you don't need that a install script for web2py
>
> I would recommend
>
> 1. Create from your panel an application:
> - category: mod_wsgi
> - type: mod_wsgi 3.2 / python2.6
> 2. Use mod_wsgi deployment
> recipeshttp://web
ict?
>
> 3. Anything else I missed?
>
> I hope to form some guidelines for new comers who, just like me, are not wsgi
> expert.
>
> Thanks in advance!
>
> [1]http://wiki.webfaction.com/wiki/Web2py-LatestSource
> [2]http://wiki.webfaction.com/wiki/Web2pyHgTrunkInstall
lem. But it did
cost me several hours to trace down the culprit. What a day2 lesson in
my webfactoin life. :-/
Sincerely,
Iceberg, 2010-Jul-30, 22:22(PM), Fri
[1] http://wiki.webfaction.com/wiki/Web2py-LatestSource
On Jul 31, 1:15 am, Jonathan Lundell wrote:
> On Jul 30, 2010, at 9:19 AM, VP wrote:
> > On Jul 30, 9:35 am, mdipierro wrote:
> >>http://gluonframework.wordpress.com/2010/07/30/web2py-and-metaclasses/
>
> > This is really nice. Please do more of this.
>
> My initial reaction is the opposite. The
On Jul 31, 2:12 am, NetAdmin wrote:
> Web2py Application Exhibition
>
> Submissions must be e-mailed before
> 12:59pm pm CST July 30, 2010
>
> Do you have a Web2py app that you'd like to show the world?
> If so, you may be interested in the Web2py Application Exhibition.
>
> The WAE is a way to...
replacement.
Say, web2py-slices, or a wiki (http://wiki.web2py.com). And ideally,
the future book (4th, 5th ... edition) can use content in community-
based document, as long as its latest electronic version is always
available on www.web2py.com/book, will it?
Regards,
Iceberg
On Aug 1, 2:44 am
x27;': local_import('my_module').my_func()}
# In modules/my_module.py
def my_func():
return FORM(...)
Iceberg
On Aug 2, 10:19 pm, Miguel Lopes wrote:
> yes I've tried it. local_import does not work. the LOAD function signature
> expects a controller name and functio
oblem even when I am running only one web2py
process. Or, do I?
[my_wf_acco...@web150 conf]$ ps -ef|grep 1_81
528 3529 1 0 Aug01 ?00:00:00
/home/MY_WF_ACCOUNT/webapps/web2py_1_81_5/apache2/bin/httpd -f
/home/MY_WF_ACCOUNT/webapps/web2py_1_81_5/apache2/conf/httpd.conf -k start
528 3531 3529 0 Aug01 ?00:01:37
/home/MY_WF_ACCOUNT/webapps/web2py_1_81_5/apache2/bin/httpd -f
/home/MY_WF_ACCOUNT/webapps/web2py_1_81_5/apache2/conf/httpd.conf -k start
Any feedback will be appreciated.
Sincerely,
Iceberg, 2010-Aug-03, 18:39(PM), Tue
ou need an entire
development environment, as soon as after viewing the error and start
debug?
Regards,
iceberg
know what cause the above
> "two cache.ram instances" problem even when I am running only one web2py
> process. Or, do I?
> [my_wf_acco...@web150 conf]$ ps -ef|grep 1_81
> 528 3529 1 0 Aug01 ? 00:00:00
> /home/MY_WF_ACCOUNT/webapps/web2py_1_81_5/apache2/bin/h
rything is good', _class='info')
response.flash = DIV('sth is wrong but I can hang on',
_class='warn')
response.flash = DIV('fatal error', _class='error')
The point here, is that what features in base.css are supposed to be
maintained, and w
malformed html
very well so far. Once I tried to use it on some unbalanced html (say,
an extra without ) and it just don't work. So eventually I
had to use regular expression instead.
--
Iceberg
On Aug 7, 9:49 am, Lasiaf wrote:
> I just tried it, and saved the feed, worked for me.
>
I believe you can run response.flash = "smoething" from view, although
I never try that. Lucky that all my views are simple enough, all my
codes are in controller. The MVC approach.
When talking about showing "Analyzing ..." and then "Successful done",
I think you need AJAX. But there is no ready
I also support zero=None, and it is not difficult for me to decide.
1. From the logical point of view, when saying IS_IN_DB(...) or
IS_IN_SET(...), it should generate a list that actually is in the set/
db, and nothing more. Besides, this is the way it worked before
zero=something is initially inv
Elegant and universal! Exactly what I am looking for. Thanks!
On Feb6, 1:35am, sveinh wrote:
> If I understand you correctly, you want to indicate to the user that
> it may take a while for the request to complete?
>
> Check out this one:http://www.web2pyslices.com/main/slices/take_slice/38
>
> -
I could use flash right
> > from my form, like
>
> >
> >
> >
>
> > But I have no idea how to call flash as js. Because it is typical
> > js/ajax function, right?
>
> > On 02/05/2010 01:31 PM, Iceberg wrote:
>
> > > I believe you can ru
Slightly off topic: This thread is another good reason to support
zero=None by default, discussing here:
https://groups.google.com/group/web2py/msg/4e6fc1b12714a14b
:)
On Feb7, 12:06pm, Jonathan Lundell wrote:
> On Feb 6, 2010, at 7:53 PM, weheh wrote:
>
> > In a crud form (or other form) where
On Feb7, 8:01am, Jonathan Lundell wrote:
> On Feb 6, 2010, at 12:58 PM, Jonathan Lundell wrote:
>
> > On Feb 6, 2010, at 12:38 PM, mdipierro wrote:
>
> >> form[0][-1][1].append(BUTTON(_onclick=""))
>
> > Thanks.
>
> > Ideally, I'd like to return to the form.accepts call in such a way that the
@Pihentagy:
Besides, the current IS_UPPER() (and IS_LOWER()) is not that bad,
IMHO. What is the real difference between alarm end user to change his
input into upper case, or just silently change his input into upper
case?
To say the least, we can really change IS_UPPER() to just warning, and
per
pgrade web2py breaks
> backwards compatibility, unless it was a bug to begin with.
>
> -Thadeus
>
>
>
> On Sat, Feb 6, 2010 at 11:33 PM, Iceberg wrote:
> > @Pihentagy:
>
> > Besides, the current IS_UPPER() (and IS_LOWER()) is not that bad,
> > IMHO. What is the
On Feb11, 9:11pm, Mike wrote:
> Hopefully this is a quick one...
>
> I want to use SQLFORM to allow a user to save information about a file
> including the *local path*. However I don't want to actually save the
> file in the database. The idea is to parse the local path and save a
> portion of it
I also vote for rolling-your-own, according to my own experience.
21 months ago, I was facing same dilemma. Perhaps basing on some
impulse after learning web2py, or significant underestimation about
the time needed for "reinventing the wheel", I wrote the first version
of my order-management-syste
IMHO, the example's code is good, but not cool enough to be put in the
book. Every programmer saw those ordinary if...elif...elif...else
cliche in their first program language book before. People can
probably write their own if...elif...else in less time, than STFW or
RTFM to find our prettydate().
s'%filename)
return {}
Regards,
Iceberg
--
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+unsubscr...@google
Not sure I understand your question, but you can always deploy your
lib as a normal python lib, then all web2py app can import it,
provided you are running web2py from source version.
Or you can just deploy your lib in web2py/applications/yourapp/
modules. Just go ahead, nothing special here.
On
n
itself. So where can I start?
On Feb19, 9:47pm, mdipierro wrote:
> I fixed what you suggested in trunk, please check it. I did not remove
> zh-cn.py but I removed those lines that do not have a translation.
>
> Massimo
>
> On Feb 19, 7:09 am, Iceberg wrote:
>
>
>
> &g
t/design/admin
>
> mind of what you do.
>
> On Feb 20, 7:08 pm, Iceberg wrote:
>
>
>
> > The latest fix to language.py is fine. And your fix to zh-cn.py
> > reminds me one more trick, how about changing one more line of
> > read_dict() like this?
>
> >
ore rev 143,
IS_IN_SET() accepts even an iterator as its first argument, after rev
143 it generates exception for that.
Anyway, I post a patch here, it accepts all above syntax, and better,
it has enough doctest cases for them.
Sincerely,
Iceberg
diff -r ca439073317c gluon/validators.py
--- a/gluon
;
>
> > On 26 фев, 12:09, mdipierro wrote:> Changelog
> > #1.75.5
>
> > > fixed behaviour with languages.py, thanks Iceberg
>
> > I had an issue with shifting translation.
> > a=a
> > b=b
> > c=c
> > become
> > a=a
> > b=c
orm that did not include the new strings. Anyway. Now even
> this problem should gone, please try trunk.
>
> On Feb 26, 6:03 am, Iceberg wrote:
>
>
>
> > How about this? http://groups.google.com/group/web2py/msg/94ab1188910ae303
>
> > On Feb26, 6:44pm, mdipierro
Minor, minor issue. You forgot to change VERSION file to 1.75.5...
On Feb26, 2:09pm, mdipierro wrote:
> Changelog #1.75.5
>
> fixed behaviour with languages.py, thanks Iceberg
> added chinese (thanks Iceberg) and Hungarian (thanks Gyuris)
> fixed problem with GAE deleted by id
d, I tried that.
But that is not a real solution to the problem. :-/
Regards,
Iceberg
--
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, s
nly uses cache.disk, then the total ratio is just half
of the actual value! Doesn't make sense.
Should change to:
try:
total['ratio'] = total['hits'] * 100 / (total['hits'] +
total['misses'])
except:
total['ratio'] = 0
I think Jonathan have given enough reason of why not. There is
another post to discuss the same thing.
http://groups.google.com/group/web2py/msg/79c1f847890a6b60
In short, do resist the temptation of using multiple submit buttons,
pal. :)
On Feb28, 9:36am, "mr.freeze" wrote:
> Why not just do
,
c._traverse=>
WARNING:root:c=3, c._traverse=>
WARNING:root:c=3, c._traverse=None
Therefore I suggest changing line 445 of gluon/html.py from:
if hasattr(c, '_traverse'):
to:
if hasattr(c, '_traverse') and c._traverse is not None:
At least it won't break
On Mar6, 7:27am, Wes James wrote:
> in admin the copyright year is just 2007. should it be 2007 -
> "current year"? no biggy - just wondrin'
>
> -wj
+1
Should better be: Copyright 2007-{{=request.now.year}}
--
You received this message because you are subscribed to the Google Groups
"web2p
e
vote it for me? I choose "zero=None".
Sincerely,
Iceberg, 2010-Mar-22, 23:06(PM), Mon
On Mar22, 10:07am, mdipierro wrote:
> I agree with Mr. Freeze but changing it now may constitute a breaking
> a backward compatibility.
> After reading the survey it has a lot of questions an
nt that, an arguable and non-backward-compatible feature
creep in, and then stay as-is just because "it already happen anyway"?
That is not wise. If you do believe, you should choose zero=None.
It is now! Let's just end the debate.
I want you to vote.
http://www.collegelax.us/news/wp-
reate a
new app, yet sometimes I forgot that. Don't know whether Massimo will
think about adding that line by default when creating every new app.
Sincerely,
Iceberg
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this g
. I don't know what others
think. Generally speaking, it is not a necessary change since users
already has a datetime_to_str flag to toggle. So, count me neutral.
Regards,
Iceberg
[1]:
http://code.google.com/p/web2py/source/diff?spec=svn5beee338c7dfa1fdbf259f987f5a32460c02a
this before ?
I experienced that before, I mentioned that here [1], later Massimo
fixed it here [2]. So I suggest you should firstly make sure you use
latest version of web2py as well as its appadmin. If problem still
exist, please provide a way to reproduce your problem, and don't
forget to
w which mode is python 's
built-in sqlite uses? Is it the "default Serialized mode"? If so, that
means even two crud.read() request can not be served at the same time.
Thanks in advance for any feedback.
Sincerely,
Iceberg
On Apr2, 7:50pm, Beerc wrote:
> See http://stackoverflow
mented by 1 each time the record is updated. This
is used to detect concurrency control, for instance in a web
application where 2 users select the same record and want to update it
at the same time"
Regards,
Iceberg
On Apr2, 10:44pm, Yarko Tymciurak wrote:
> The first thing I though
work:
rows.setvirtualfields(table=ComputedFields())
Does the former syntax really supposed to exist?
I am using web2py 1.75.4
Regards,
Iceberg
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@g
exception is raised:
File "C:\DOWNLOAD\google_appengine\web2py\gluon\sql.py", line 658,
in __getitem__
return dict.__getitem__(self, key)
KeyError: 'profit'
Ideas? Thanks.
-Iceberg
On Apr5, 12:00pm, Thadeus Burgess wrote:
> I think its
>
> db.table.virtualfields.app
py app, or
can/need we do something in DAL level, such as PyDbLite did by the
__version field, to benefit all web2py app?
Ideas? Thanks.
iceberg
On Apr3, 8:18pm, Iceberg wrote:
> Yarko, you also raise a very good point. And this makes me feel
> nervous, because all my previous web app a
Good to hear that is on your todo list, Massimo. When you do that,
please also figure out a way to chain multi onvalidate functions,
because I expect the crud.unmodified() would be used quite popular, if
not everytime.
Iceberg
On Apr5, 1:42pm, mdipierro wrote:
> This is a good point. I do
self.Orders.distributor,{}).get('name')
So I think I have to stick to usage (2), do I?
BTW, I am using the latest web2py trunk on Windows XP.
Regards,
Iceberg
On Apr5, 12:18pm, mdipierro wrote:
> I just did this as a test and it worked:
>
> >>> db=DAL
this might be a common issue of our python-for-windows-binary-
builder (I don't know its name yet), because I happen to find out that
another windows-binary version of python product, Ulipad, has same
problem.
Regards,
Iceberg
On Mar17, 6:25am, mdipierro wrote:
> I managed to build the we
I know this can not cross-process, but perhaps
it serves as just a fallback option better than none.
Regards,
Iceberg
--
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 unsub
like this:
C:\> cd \my\first\web2py
C:\> web2py.py -a1 -f C:\my\another\web2py
the web2py starts, serves, but still only hosting apps under the "\my
\first\web2py\applications", not those under "\my\another\web2py
\applications".
So, is -f FOLDER supposed to do what I
Thanks for the tip, I'll consider it. But it seems dangerous.
BTW, what on earth is the web2py.py -f FOLDER for?
-Iceberg
On Apr8, 1:03am, Thadeus Burgess wrote:
> In windows if you are using NTFS there is something called a "Junction
> Point" which is a "hard link
Thanks in advance! And after that, please come back and confirm which
folder is needed for this option, is it
-f /home/another_web2py
or
-f /home/another_web2py/applications
-iceberg
On Apr8, 10:33am, mdipierro wrote:
> It should do what you expect but it is possible it is broken si
.
Iceberg
On Apr8, 2:53pm, Michael Toomim wrote:
> Oops I'm sorry, when I upgraded the log file moved and I was looking
> at the wrong one. It works!
>
> On Apr 7, 11:44 pm, Michael Toomim wrote:
>
>
>
> > Now that I'm on apache, I find that the loggin
py_old and web2py_latest, in case
web2py_latest introduced some bug.
Iceberg
On Apr8, 11:44pm, Thadeus Burgess wrote:
> Iceberg,
>
> I am confused as to why you have two instances of web2py running the
> same app code?
>
> Unless they can use separate routes?
>
> -Thadeus
>
st.vars.my_field. Think
about this:
define_table('my_table',Field('my_field', requires=IS_UPPER()))
form = SQLFORM(db.mytable)
and input "hello world", then
request.vars.my_field=="hello world"
but
form.vars.my_field=="HELLO WORLD"
usually form.
GROUP(...),
perhaps a native OPTGROUP(...).
Regards,
Iceberg
On Apr18, 3:04am, mdipierro wrote:
> you must use SELECT and not TAG.SELECT. The former is derived from
> INPUT an knows how to process options, tha latter is simply derived
> from a DIV and does not.
>
> On Apr 17, 1:0
if self['value'] and str(c['_value']) in values:
c['_selected'] = 'selected'
else:
c['_selected'] = None
Regards,
iceberg
On Apr21, 11:59am, mdipierro wrote:
> Now I see the problem:
&g
e as a
desktop application. However, in old days the file object contains
path info, but that is no longer the case in recent browsers.
3) So I guess I have to somehow design a dedicated interface to
"browse" the directories on my server. Or maybe it already exist
somewhere?
Do you have bet
e as a
desktop application. However, in old days the file object contains
path info, but that is no longer the case in recent browsers.
3) So I guess I have to somehow design a dedicated interface to
"browse" the directories on my server. Or does it already exist
somewhere?
Do you have bet
Hi Massimo,
May I have your opinion about following patch?
If you don't like it but just because you really hate to add a
OPTGROUP helper, please tell me, I think I can adjust my patch to work
without a native OPTGROUP helper. It is up to you.
Regards,
Iceberg
On Apr21, 3:57pm, Iceberg
. Finally I use this jquery File Tree
plugin (http://abeautifulsite.net/2008/03/jquery-file-tree)
Just for your information.
Regards,
Iceberg
On Apr23, 12:30am, Iceberg wrote:
> Sorry for chime in. Do you guys have a convenient way to input a file
> path via browser? I've tried thes
On Apr26, 1:38am, Vasile Ermicioi wrote:
> If you need a jquery tree plugin I would recommend this
> onehttp://www.jstree.com/
>
> --
Thanks. I noticed that already. It looks more powerful than
jqueryFileTree, but perhaps an overkill for showing nothing but just
folders and files.
For example,
tatic/applog.txt.
And the only downside (of both version) is that it does not work on
GAE (yet?). A simple workaround might be turn it off when "if
running_on_gae==True".
Besides, I once suggested Massimo to include it inside the scaffolding
app, but no agreement is reached.
Regards,
iceberg
O
t volunteers for
different sub-languages. This addresses problem #2.
If Massimo gonna maintian a editor-for-language list, feel free to
count me as zh-cn editor.
Sincerely,
Iceberg, A trilingual in Mandarin, Cantonese, English.
2010-Apr-29
tell that to Massimo. ;)
Regards,
Iceberg
On Apr30, 1:52am, Thadeus Burgess wrote:
> I know this has come up previously, however there is still no good
> solution to this problem.
>
> I have two apps that I want them to share a couple of the same
> database models. In import-ba
FYI: Usually the process id exists in /path_of_web2py/httpserver.pid
On Apr30, 2:00am, Thadeus Burgess wrote:
> How are you running web2py?
>
> If I need to kill a web2py process that I started from the command
> line, but lost its process id I do the following command
>
> $: ps aux | grep web2py
calhost:8000
Sincerely,
Iceberg, 2010-May-01, 15:58(PM), Sat
/127.0.0.1:8000 works with
latest rocket.py
Actually I took a glance into the diff between latest two "rockets".
They look significantly different, but I could not trace down to
certain line yet. It is rocket science after all. :-)
Sos, Sos...
On May2日, 5:57am, mdipierro wrote:
> @Iceber
s where it applies the SSL
> > > connection and adds a check to see if that connection isn't there when
> > > it should be. I've updated to the latest hg and I'm not seeing what
> > > you guys are seeing.
>
> > > Are any of you running HTT
el.py contains just one extra line:
logger = get_configured_logger(folder = 'static', maxBytes=1024,
backupCount=5)
so it will be even easier to use.
Best regards,
Iceberg, 2010-Aug-18, 02:20(AM), Wed
--- O
ry space
inside a T("blah") content.
Didn't you see the string concatenate code in the same line of source?
The correct fix would be concatenate a space outside of the T("...").
Like this:
A(str(T('insert new'))+' '+table, ...
Regards,
Iceberg
On Aug
line option -f
FOLDER?" in this maillist group. Somehow even google can not find out
that thread in this group, but I managed to find a copy here.
http://osdir.com/ml/web2py/2010-04/msg00891.html
Regards,
Iceberg
/img /home2/pkenjora/webapps/django/arkayne/templates/images
Alias /css /home2/pkenjora/webapps/django/arkayne/templates/css
Alias /js /home2/pkenjora/webapps/django/arkayne/templates/js
Alias /plugin /home2/pkenjora/webapps/django/arkayne/templates/
plugin
Regards,
Iceberg
log. That would make reader's life
easier.
[1]
http://groups.google.com/group/web2py/browse_frm/thread/a52007de9a7c5065/8327405064ccf9c3?lnk=gst&q=URL#8327405064ccf9c3
Regards,
Iceberg
On Aug 20, 9:38 am, mdipierro wrote:
> There is a problem (in 1.83.2 and earlier version)
>
&
Thanks for the info. I remembered once I had same question but did not
find the answer.
But hey, why not just put all these "important" notes directly into
our code instead of those meaningless "x"? That way we combine
code and its document together. Perfect!
On Sep 11, 9:31 am, mdipierro w
inally:
self.locker.acquire()
self.storage[key] = (time.time(), value)
self.storage[CacheAbstract.cache_stats_name]['misses'] += 1
self.locker.release()
Similar measure should be taken to CacheInDisk, I think.
Regards,
Iceberg
On Jun3, 11:51am, mdipierro wrote:
> web2py 1.63.3 is out with some bug fixes
The fix to sql.py in revision 985 has a typo. And it is insufficient
anyway because the /path-with-non-ascii/sql.log won't be create
correctly.
After some consideration, I make further adjustment to sql.py, and
test i
On Jun7, 3:13pm, Alexey Nezhdanov wrote:
> On Sunday 07 June 2009 06:51:42 mdipierro wrote:> Turns out the current DAL
> spends lots of time in building the SQL
> > representation of a table (CREATE TABLE) even if the table does not
> > need to be created. I will fix this and it will speed it up
On Jun7, 6:35pm, Alexey Nezhdanov wrote:
>
> > 2) is_integer is a fast call, but with 1.1k (!) calls ...
>
> Replaced it with my own version:
> integer_pat=re.compile('[0-9]+$')
> is_integer=lambda x: integer_pat.match(x)
> it's about 2.3 times faster. C version would be even better.
>
If so, pe
101 - 200 of 671 matches
Mail list logo