#674: opening urls to self with urllib
------------------------------+---------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: CherryPy | Version:
Severity: normal | Keywords:
------------------------------+---------------------------------------------
I am trying to use urllib to open a page in controllers.py to perform xsl
translation on it. ie...
{{{
urllib.urlopen('http://localhost:8080')
}}}
Calling this code outside of turbogears (in the shell) procedes with no
issues. Putting this in controllers.py causes 2 additional python
processes to spawn(4 total, there are normally 2) and they all freeze. No
exceptions are thrown.
The same happens if my IP os replaced for localhost.
External URL's work fine in all places.
I am working on Windows XP. Please let me know if you need more
information/help/whatever - I don't know the code well enough to submit a
patch :|
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/674>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---