If you've only got one thread running, then yes, this will deadlock on
any threaded server.
Rocket was certainly not made to not allow lookups back to itself.
Where are you putting this code? If by assigning to response are
you masking web2py's response object?
I...
1) downloaded a fresh copy
I had one more thought, does '/server/default/index' point to this
code? If this is the case, then you have an infinite loop that
consumes all available threads and deadlocks. Again, this is not a
rocket-specific behavior.
On Feb 6, 10:08 am, Timbo tfarr...@owassobible.org wrote:
If you've
.
On Feb 6, 10:08 am, Timbo tfarr...@owassobible.org wrote:
If you've only got one thread running, then yes, this will deadlock on
any threaded server.
Rocket was certainly not made to not allow lookups back to itself.
Where are you putting this code? If by assigning to response are
you
So you do use caching? Is it RAM caching or disk caching? If RAM
caching, it could be that running under Cherokee and uWSGI is deleting
the environment that web2py is run in after a certain number of
requests. This would reduce the usefulness of a RAM cache but would
also produce the results
Thadeus,
You seem to have more knowledge about this problem. Can you file a
bug report? Did you know that Rocket was recently updated fixing
several bugs (and creating one that has already be addressed). I'm
not denying the possibility, but let's be a good open source
community.
David,
If
Thanks Jonathan!
Yes, that's all correct. I forgot about uploading new documentation
but there are no significant changes in the documentation. The thread
count advice for Jython still holds.
-tim
On Dec 3, 12:17 am, Jonathan Lundell jlund...@pobox.com wrote:
Rocket 1.2.0 (web2py's embedded
, 10:37 am, Timbo tfarr...@owassobible.org wrote:
I didn't mean to imply that the enhancements I'm planning for 1.2
(window speed) address this issue...just to be clear.
@Jonathan: Yes we need to make numthreads map to max-threads and
default it to 0 (unlimited) or a very high number. The only
...@pobox.com
wrote:
On Nov 23, 2010, at 8:48 PM, Anthony wrote:
On Nov 23, 9:26 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Nov 23, 8:10 pm, Timbo tfarr...@owassobible.org wrote:
Set numthreads=0 in your options.py. See if you still see this
behavior.
options.py is just
Rocket is not dead but I did take several months off due to injury and
a job change. I'm actually working on 1.2 which should see some
performance improvements on Windows.
I'll go download a copy of web2py and report back.
-tim
On Nov 22, 5:25 pm, Phyo Arkar phyo.arkarl...@gmail.com wrote:
Set numthreads=0 in your options.py. See if you still see this
behavior.
-tim
On Nov 23, 7:03 pm, Timbo tfarr...@owassobible.org wrote:
Rocket is not dead but I did take several months off due to injury and
a job change. I'm actually working on 1.2 which should see some
performance
:
On Nov 23, 8:10 pm, Timbo tfarr...@owassobible.org wrote:
Set numthreads=0 in your options.py. See if you still see this
behavior.
options.py is just for running web2py as a Windows service, no? I'm
not running web2py as a Windows service when I observe the problem
Dave,
Sorry it's taken me so long to get back to you on this. I've taken a
quick look at this and need a little more information.
First of all, you're using one file as your key and your cert file.
But the file you've supplied only contains a cert. Naturally it can't
used as a key unless it
Try one quick change for me please...rocket is constructed around line
655 in main.py
Add a parameter to the constructor call(s): max_threads=0
Please let me know if that affects the problem.
-tim
On Jul 22, 10:34 am, mdipierro mdipie...@cs.depaul.edu wrote:
I can reproduce the problem. I
. Latencies for .js/.css files reduced
to 100-150 msec. Thanks Tim!
Cheers,
Mike
On Thu, Jul 22, 2010 at 12:27 PM, Timbo tfarr...@owassobible.org wrote:
Try one quick change for me please...rocket is constructed around line
655 in main.py
Add a parameter to the constructor call(s
Can you get me a debug log of the problem as I described earlier?
On Jul 21, 8:49 am, Kuba Kucharski kuba.kuchar...@gmail.com wrote:
therefore your problem is not the same that some other
problems experienced with apache/WSGI.
exactly,
look at Iceberg, Rahul, MikeEllis in this thread
I
jlund...@pobox.com wrote:
On Jul 19, 2010, at 10:05 AM, Timbo wrote:
It's defaulting to text/html since it's not actually sending a file.
This is a section of the HTTP spec that I missed.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.htmlsaysthat no
entity headers (Content
requested some features for Rocket. I'm limiting development to
essentials right now because of a case of dual-arm tendinitis.
Thanks.
On Jul 19, 12:11 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Jul 19, 2010, at 10:05 AM, Timbo wrote:
It's defaulting to text/html since it's not actually
it would take to add this
feature. Stay tuned.
Whether or not Massimo thinks this feature would be good for web2py is
up to him, but even if added, it would not be the Rocket default.
-tim
On Jul 7, 9:13 am, Iceberg iceb...@21cn.com wrote:
I have different opinion, Candid.
As Timbo and I have
is not
performed at all, is it? So the rocket timeout protection is not
activated anyway.
--
Iceberg
On Jul4, 9:26am, Timbo tfarr...@owassobible.org wrote:
Rocket has a longer default wait time before it closes connections in
comparison to CherryPy. You might check web2py code
Rocket has a longer default wait time before it closes connections in
comparison to CherryPy. You might check web2py code, it is not likely
using the same default timeout as Rocket proper. See:
http://packages.python.org/rocket/usage.html#timeout
This is a DoS vulnerability on CherryPy but not
would ? So you don't currently run a setup where you got to choose
how it runs?
I guess readers should take your comments with a grain of salt
considering that in another thread you admit to being a young
developer with not much experience. That's ok. It's good to start
out conservative and
If you build it, I will come. =)
On Dec 28, 6:34 am, Joan Miller pelok...@gmail.com wrote:
On 27 dic, 19:50, mdipierro mdipie...@cs.depaul.edu wrote: Ideally I would
like to have a better web based IDE fully coded in JS.
An IDE coded in JS? That can be a thing of the past, in a short time.
A more featureful admin app would be nIce but I support Massimo in
keeping the current one. A point of clarification, Bespin is merely an
editor. Their goal is to eventually create an IDE but it is far from
that at present. Other problems include no IE support and it suffers
from the same
Note to those reading. The fix for this bug was applied and release
in 1.74.1
http://groups.google.com/group/web2py/browse_thread/thread/b33cb890cdd0a5a9
-tim
On Dec 4, 9:46 am, mdipierro mdipie...@cs.depaul.edu wrote:
Thank you!
On Dec 4, 9:13 am, Timbo tfarr...@swgen.com wrote
I've been trying to migrate my web2py applications to Python 2.6 and I
ran across a nasty bug in Python 2.5 that is fixed in Py2.6, but it
amounts to a backward-incompatibility.
The bug fixed is: http://bugs.python.org/issue3801
Basically this happens in a POST request where a variable is both
? Massimo, is that expected behavior that we want
for web2py?
-tim
On Dec 3, 1:17 pm, Timbo tfarr...@swgen.com wrote:
I've been trying to migrate my web2py applications to Python 2.6 and I
ran across a nasty bug in Python 2.5 that is fixed in Py2.6, but it
amounts to a backward-incompatibility
ExtJS is not part of Pyjamas or GWT. It is a very advanced and
powerful toolkit but doesn't compare well with jQuery (which is just a
library). They serve different purposes. jQuery is for websites
while ExtJS is for web-applications. There is some overlap, but most
people don't need or want a
Did you use your options.py file from the old installation? There
were some new options added somewhere along the line where if they are
not present in the options file, it will crash.
Unrelated to this issue, I noticed that the default value of
response.flash changed in revision 1234. I'm
need to demo our
web2py app on Friday and we use some Java for SOAP/WSDL stuff as
SOAPpy is not up for it. Stress :-)
Thanks,
HC
On 9 Nov., 21:15, mdipierro mdipie...@cs.depaul.edu wrote:
This is clearly a Java bug. A major one. I love the won't fix
On Nov 9, 12:33 pm, Timbo tfarr
Another language?
I don't like the syntax much. It's Python + C# + C++. While I
sometimes miss curly braces in python (it makes scope more clear in my
mind), I do not miss the:
- pointers
- references
- boilerplate code
On the plus side, I agree with Massimo, this makes IPC and shared
memory
to look into that.
-tim
On Nov 9, 1:15 pm, mdipierro mdipie...@cs.depaul.edu wrote:
This is clearly a Java bug. A major one. I love the won't fix
On Nov 9, 12:33 pm, Timbo tfarr...@swgen.com wrote:
No difference.
I think this is the bug we're dealing with:
http://bugs.sun.com/bugdatabase
I've thought about it but that's it. If you're willing to do it
yourself, here are some helpful links of some django options that
could be ported over:
http://github.com/gsancho/extdirect.django
http://code.google.com/p/django-rest-interface/
On Nov 10, 8:58 am, Don sam...@gmail.com wrote:
That's so cool...but why so many unnecessary packages?
mc, g++, emacs, ssh, build_essential, zip, unzip, openssh-server,
postfix ???
Many of these are great packages and necessary for a well-run server
(except emacs, build_essential, g++), but do they belong in a web2py
install script?
My take
am, Timbo tfarr...@swgen.com wrote:
As it turns out, Java has a fair number of nasty WONT-FIX bugs.
In my above documented attempt where it couldn't delete the
file...there's a WONT-FIX bug for that:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4715154
No wonder ppl hate Java
Jython does support TCP_NODELAY, but it does so in the Java
fashion...that is to say only on a client socket. The short story is
this: most platforms allow you to set socket options to server
(accepting) sockets and the accepted (client) sockets that come from
them inherit the options from the
thought it was fixed.
On Nov 9, 7:53 am, Timbo tfarr...@swgen.com wrote:
Jython does support TCP_NODELAY, but it does so in the Java
fashion...that is to say only on a client socket. The short story is
this: most platforms allow you to set socket options to server
(accepting) sockets
Because web2py exec()s controllers rather than importing them,
packages are not currently an option. Whats you're reason for needing
packages? Maybe we can help you find a better solution.
On Nov 9, 4:18 am, eggy_ markflorisso...@gmail.com wrote:
Hello,
I want to divide my controller logic
You are my hero. If you ever make your way down to Oklahoma I'll take
you out for a steak dinner or something.
On Nov 8, 8:46 am, mdipierro mdipie...@cs.depaul.edu wrote:
Denese. You did a fanstatic job. This was needed for some time.
On Nov 8, 7:38 am, DenesL denes1...@yahoo.ca wrote:
A)
a Linux user to test this?
-tim
On Nov 9, 10:00 am, mdipierro mdipie...@cs.depaul.edu wrote:
I cannot reproduce this with jython2.5rc3 on mac.
On Nov 9, 9:52 am, Timbo tfarr...@swgen.com wrote:
No need, it blows up for me on the admin interface. I have no special
customizations. I'm
{{='hello world'}/body/html
htmlbody{{='''hello world'''}/body/html
htmlbody{{=hello world}/body/html
htmlbody{{=hello world}/body/html
which ones break? Any, none? Please email me privately.
Massimo
On Nov 9, 11:07 am, Timbo tfarr...@swgen.com wrote:
OK so I downloaded fresh
I like the idea and I am very much against ugliness...however:
d = local_import('a.b.c')
is way uglier in my book than:
import a.b.c as d
Asthetics aside, it does not solve the original problem very well.
The problem is not being able to do:
import c as d
when d is in apps/init/modules
:
- Provides working search-ability (sorry Groups still sucks hard in
this area)
Timbo - Can you explain what you mean by groups in pyforum (and any
suggestions you may have that might be useful to implement)?
(if this goes a bit off-topic, feel free to reply to me directly) -
Thanks
can:
mod_name = local_import('mod_name')
and it will pull it in as import mod_name would if applications/
appname/modules were added to sys.path.
For Massimo, I still think you should switch the force param to
reload for clarity reasons.
-tim
On Oct 30, 8:01 am, Timbo tfarr...@swgen.com wrote
The forum option has been discussed multiple times. Let me (once
again) throw in my support for it.
pyForum:
- Provides working search-ability (sorry Groups still sucks hard in
this area)
- Allows one to still receive emails
- Fills a gap for those of us who want to keep up with the community
:09 am, Timbo tfarr...@swgen.com wrote:
The forum option has been discussed multiple times. Let me (once
again) throw in my support for it.
pyForum:
- Provides working search-ability (sorry Groups still sucks hard in
this area)
- Allows one to still receive emails
- Fills a gap for those
Just so you guys know, I'm watching Python 3.x very closely and in
some places helping it along. Here are the things that need to happen
before Python 3.x becomes a viable web-platform (for a new project):
- The email module need to be fixed (it hasn't been rebuilt to handle
the unicode
Yes, that's me. I'm on the list in digest mode. So I don't catch
every conversation.
I did contribute this Python parser to Codemirror a while ago. It is
ok for most things. I haven't brought it up because I'm still trying
to work through some annoyances. Maybe this is my perfectionism
Not trying to be nit-picky, but ckeditor seems to be less buggy to
me. When I maximize OWW, it does not properly scale vertically (FF
3.5 WinXP). I'm not sure how well it would handle the URL()
situation.
-tim
On Oct 18, 8:55 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I have replaced the
Negative. jQuery-UI does not (yet) have an IDE.
There are two main types of Javascript libraries:
- Help enhance a designed page (jQuery, Prototype+Scriptaculous,
Mootools, Dojo, ExtCore) - Generally these are used to AJAX goodness
to an already pretty page
- Help build a web application (YUI,
to Python 3 and/or lightweight Stackless
python threads (althought the pros/cons are not quite clear to me).
I am also thinking about rewriting the accepting mechanism to include
some of the features of asynchronous servers.
Massimo
On Sep 18, 7:44 am, Timbo tfarr...@swgen.com wrote:
Line 215
According to the Performance section of their documentation, they
recommend running one instance of Tornado per processor core on your
server and then joining them together behind a nginx reverse proxy.
Looking at the graph, this makes the top bar an apples to oranges
comparison with the rest of
am, Timbo tfarr...@swgen.com wrote:
Since upgrading to the new version, I'm getting this error about once
daily:
Traceback (most recent call last):
File C:\web2py\gluon\main.py, line 405, in wsgibase
SQLDB.close_all_instances(SQLDB.commit)
File C:\web2py\gluon\sql.py
Since upgrading to the new version, I'm getting this error about once
daily:
Traceback (most recent call last):
File C:\web2py\gluon\main.py, line 405, in wsgibase
SQLDB.close_all_instances(SQLDB.commit)
File C:\web2py\gluon\sql.py, line 594, in close_all_instances
action(instance)
+1
Let's stick with what we got. It's simple, elegant, modern and
recognizable.
On Sep 2, 6:54 am, desfrenes desfre...@gmail.com wrote:
I don't like. Idea is good, realisation is bad.
On 2 sep, 13:46, weheh richard_gor...@verizon.net wrote:
Ahhh ... the mythic board presentation to the
I just updated web2py from an (several months-) older version. My
error-handling page broke but that's no big deal because I was using
unpublished APIs. I also noticed that the admin interface references
sorttable.js, but it does not include this file. I get 404 messages.
Is this missing or
14, 4:12 pm, Timbo tfarr...@swgen.com wrote:
This is really cool! Good Job!
Perhaps you can get around 1 by having Apache handle the encryption
and 2 by not using cron?
I believe IBM's version of Apache server does not handle wsgi but I
might be wrong.
That would mean installing Apache
I think you're missing all the over-whelming votes for A. The mix
that you propose looks lop-sided (what to do with that big, black
space). I too like A the best with the sans-serif font.
If you have space to fill in a new website design, then your better
bet is to add some detail to the A
This is really cool! Good Job!
Perhaps you can get around 1 by having Apache handle the encryption
and 2 by not using cron?
I can't wait for the how-to. I'd love to have this working on our
AS400.
-tim
On Aug 14, 2:50 pm, DenesL denes1...@yahoo.ca wrote:
Two issues:
1) I created the key
I haven't recently. It's likely that the one you downloaded is not
the one I tried.
Have you tried unzipping it on a PC? Does it give the same error?
On Aug 10, 1:53 pm, DenesL denes1...@yahoo.ca wrote:
Thanks, but when I try to unpack ActivePython-2.5.4.4-aix5-
powerpc.tar.gz I get:
tar:
I tried to get a PASE version running a while ago with no luck. But I
am not adept at AS400 use. You could try ActivePython's distribution:
http://www.activestate.com/activepython/downloads
Let me know how it goes. I would love to be able to move some of my
apps over to our AS400 for nothing
The link I included has an AIX 5.x version of Python which I used at a
former employer. It works very well on AIX, I just had trouble with
AS400 PASE. What I'm saying is, I was an AS400 noob at the time and
so I could hardly tell the difference between PASE and OS400. It
might still be a
It's been a while since I've been around but this seems to be an
important discussion that I'd like to weigh in on.
Massimo is right. Most of Armin's critiques are thought-out design
decisions. The perceived problems from just looking at the code don't
play out in reality due to being either a
Take a look at ExtJS or Smartclient. They have many of the same
capabilities but are Javascript based rather than Java based. Most
experienced web-devs will tell you, just learn Javascript, it's not
that hard, and you'll be glad you did. Most studies show that the
speed gains of GWT-style
The only part about what you said that I don't think I get is:
---
Ideally all of the processing of routes.py should be done in a
separate WSGI plugin module since there is no need to modify web2py to
implement this functionality. It would be sufficient to look for
web2py_error in the HTTP
64 matches
Mail list logo