473,549 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

spyce hangs on 'file not found'


Hi,

I'm running

Win 2K Pro
Apache 1.3 (IBM version, starting manually, not a service)
Spyce 1.3.11 (latest version)
Python 2.2.2 (ActiveState)

Everything installed as an administrator.

Brand new to both Python and Spyce, got some python CGIs working, and
the Spyce examples.

Altered httpd.conf to so Spyce would handle entire contents of
/template/ directory. (Spyce's standard config is to handle based on
file extension. Want my templates to have an. html extension for ease
of use with other tools.)

Works fine, except when I attempt to read a nonexistent file. In other
words, I go after /template/stuff.html but stuff.html doesn't exist.

Ordinary CGIs work correctly, meaning Apache correctly handles a 'file
not found'

Spyce works differently. The browser hangs. My CPU utilization goes to
100% and I get a runaway python process I can't kill, even as administrator.

Any suggestions? A python bug or a spyce bug? Reading the source for
either is way beyond my level now? Known problem? Workaround?

Anyone know how I can kill the runaway python process?

thanks


Jul 18 '05 #1
0 1200

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3141
by: szudor | last post by:
Hi, When I start db2cc, the program hangs with memory access violation in javaw.exe. Strating with trace option, in java trace file I found the following information: 0SECTION TITLE subcomponent dump routine NULL =============================== 1TISIGINFO signal 11 received 1TIDATETIME Date: ...
2
4556
by: JD | last post by:
Hello, I'm experiencing a problem that I'm hoping someone might be able to shed some light on. I have an ASP.NET page on a Windows 2000 machine that makes web service calls to a .NET web service. Once in a while the ASP.NET process gets to a state where the web service call to the web service hangs and then does a timeout. While the...
1
1323
by: Eduard Ralph | last post by:
Hi, I've been having a very weird problem in connection with using the Enterprise Library. I'm programming a Windows Service and utilise the logging and configuration component. During the initial loading of my own configuration file I log the status because I also do some checks to assure that the file is there, etc. In one of these log...
1
2602
by: Steve | last post by:
Using VB.NET 2.0 I have a simple routine that attempts transforms an XmlDocument with an XSLT stylesheet into HTML. Under the old 1.1 framework with XslTransform, everything worked fine. Now using XslCompiledTransform, the Transform method hangs. My code: Function TransformXML(ByRef FacXML As Xml.XmlDocument, ByVal XslFile As String) As...
6
4438
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2 seconds: <%@ Page language="c#" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.IO" %>
9
1487
by: Jacky | last post by:
Hi all, I just started learning Python and would like to starting writing some web-based applications with Python. I did have pretty much experience with doing so with PHP and Java, but Python seems a bit different for me. Do you guys have some good web framework to recommend? (I don't want to use CGI mode)
2
1116
by: walterbyrd | last post by:
Does anybody know? What versionof Apache is required? If used with mod_python, what version of mod_python? Why version of Python is required? Any help appreciated, thanx.
2
1607
by: Ben | last post by:
Hi, I have just tarted trying to transfer some of my knowledge of python to server side applications. I stated off using mod_python PSP because it was what I found first. I then found spyce, which seems a better solution. It avoids the problem of keeping indentation correct when writing code embedded in HTML, and seems to make things like...
0
1637
by: Arno Stienen | last post by:
Perhaps I should be a bit more specific. When using this code to connect to a remote XML-RPC server (C++, xmlrpc++0.7 library): import xmlrpclib server = xmlrpclib.Server("http://10.10.101.62:29500") print server.Connection_Request("roberto") the Python command line 'hangs' until I kill the server. Then, the correct output is suddenly...
0
7524
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7451
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6048
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5372
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5089
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3483
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1944
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
766
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.