Solved

twisted static.file

Posted on 2011-09-12
3
270 Views
Last Modified: 2012-05-12
Hi all,
I am in the process of developing a twisted  based web app which will be deployed in the form of a winnt service.
my problem is that when i try to serve a file using static.file the app seems to hang indefinitely, any suggestion as to what mignt be causing this behaviour

TIA
0
Comment
Question by:tristan625
3 Comments
 
LVL 3

Accepted Solution

by:
defc0n1 earned 500 total points
ID: 36592244
Without a look at your code its really hard to tell what is causing your script to hang but I would recommend to put all potential blocking operations in a separete thread.

See the Python documentation about threads here: http://www.python.org/doc//current/library/threading.html?
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 37485183
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

"The time has come," the Walrus said, "To talk of many things: Of sets--and lists--and dictionaries-- Of variable kinks-- And why you see it changing not-- And why so strange are strings." This part describes how variables and references (see …
This article will show the steps for installing Python on Ubuntu Operating System. I have created a virtual machine with Ubuntu Operating system 8.10 and this installing process also works with upgraded version of Ubuntu OS. For installing Py…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now