[railroad-dev] socket error when accessing testform in Plone
Tom Lazar
tom at tomster.org
Wed Apr 6 02:29:15 MEST 2005
After completing my setup as described in my previous post I clicked on
the 'testform' tab and got the following error.
I have *no* idea what's going on here. Perhaps relevant: I'm using
Rewrite statements in my VirtualHost configuration,
i.e. I'm accessing both the Plone site and the RailRoad server via port
80 (but at different hostnames - both on the same
machine, though)
here's the snippet for the plone site:
RewriteRule ^/zmi/(.*)
http://localhost:18082/VirtualHostBase/http/testrr:80/VirtualHostRoot/
_vh_zmi/$1 [P]
RewriteRule ^/(.*)
http://localhost:18082/VirtualHostBase/http/testrr:80/testrr/
VirtualHostRoot/$1 [P]
(I'm using a local development environment have created to host entries
named 'testrr' and 'media' for the
development server)
Here's the traceback. Version info below that.
Thanks for your time, best regards,
Tom
Zeit
2005/04/06 02:20:33.327 GMT+2
Benutzername
admin (admin)
Request URL
http://testrr/portal_railroad/railroad/railroad_service_test_form
Exception Type
IOError
Exception Value
[Errno socket error] (8, 'hostname nor servname provided, or not
known')
Traceback (innermost last):
* Module ZPublisher.Publish, line 101, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module Shared.DC.Scripts.Bindings, line 306, in __call__
* Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 191, in _exec
* Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
* Module Products.PageTemplates.PageTemplate, line 96, in pt_render
<FSPageTemplate at /testrr/railroad_service_test_form used for
/testrr/portal_railroad/railroad>
* Module TAL.TALInterpreter, line 190, in __call__
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 671, in do_useMacro
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 409, in do_optTag_tal
* Module TAL.TALInterpreter, line 394, in do_optTag
* Module TAL.TALInterpreter, line 389, in no_tag
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 702, in do_defineSlot
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 409, in do_optTag_tal
* Module TAL.TALInterpreter, line 394, in do_optTag
* Module TAL.TALInterpreter, line 389, in no_tag
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 650, in do_defineMacro
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 694, in do_defineSlot
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 484, in do_insertText_tal
* Module Products.PageTemplates.TALES, line 227, in evaluateText
* Module Products.PageTemplates.TALES, line 221, in evaluate
Line 10, Column 4
Expression: standard:'here/generate_unique_id'
Names:
{'container': <PloneSite instance at 9ccbcb0>,
'context': <PloneRailroadService at /testrr/portal_railroad/railroad>,
'default': <Products.PageTemplates.TALES.Default instance at
0x89feccc>,
'here': <PloneRailroadService at /testrr/portal_railroad/railroad>,
'loop': <SafeMapping instance at 9e17350>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x89f4ecc>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 9e17350>,
'request': <HTTPRequest,
URL=http://testrr/portal_railroad/railroad/railroad_service_test_form>,
'root': <Application instance at 9ccbaa0>,
'template': <FSPageTemplate at /testrr/railroad_service_test_form used
for /testrr/portal_railroad/railroad>,
'traverse_subpath': [],
'user': admin}
* Module Products.PageTemplates.Expressions, line 172, in __call__
* Module Products.PageTemplates.Expressions, line 167, in _eval
* Module Products.PageTemplates.Expressions, line 74, in render
* Module Products.Railroad.service, line 85, in generate_unique_id
* Module urllib, line 78, in urlopen
* Module urllib, line 183, in open
* Module urllib, line 297, in open_http
* Module httplib, line 715, in endheaders
* Module httplib, line 600, in _send_output
* Module httplib, line 567, in send
* Module httplib, line 535, in connect
IOError: [Errno socket error] (8, 'hostname nor servname provided, or
not known')
Display traceback as text
REQUEST
form
cookies
cookieTest '1'
__ac_name 'admin'
_ZopeId '98604413A1xm6uJB48w'
lazy items
SESSION <bound method SessionDataManager.getSessionData of
<SessionDataManager instance at 9cd37a0>>
other
VIRTUAL_URL_PARTS ('http://testrr',
'portal_railroad/railroad/railroad_service_test_form')
_portaluser <MemberData at /testrr/portal_memberdata/admin used for
/testrr/acl_users>
VIRTUAL_URL 'http://testrr/portal_railroad/railroad/
railroad_service_test_form'
AUTHENTICATION_PATH 'testrr/virtual_hosting//'
LANGUAGE 'de'
AUTHENTICATED_USER admin
SERVER_URL 'http://testrr'
traverse_subpath []
_pts_catalog_names_plone_de ['ATContentTypes.i18n-atct-plone-de.po',
'CMFPlone.i18n-plone-de.po',
'LinguaPlone.i18n-linguaplone-actions-de.po',
'CMFPlone.i18n-plone-en.po']
ACTUAL_URL 'http://testrr/portal_railroad/railroad/
railroad_service_test_form'
URL 'http://testrr/portal_railroad/railroad/railroad_service_test_form'
PUBLISHED <FSPageTemplate at /testrr/railroad_service_test_form used
for /testrr/portal_railroad/railroad>
02b8f1dd3d1c9b1a123685bf1d01d464 '<p>PlonePortlets was sucessfully
installed.</p>'
TraversalRequestNameStack []
46574dc8bb871c71b6e1efda6a806c31 []
_pts_is_rtl False
VirtualRootPhysicalPath ('', 'testrr')
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding
instance at 0xb603f8c>
c2de8c942677ed474a806be73cabebc1 {'children': [{'getURL':
'http://testrr/portal_railroad', 'Description': '', 'Title': u'\u2026',
'absolute_url': 'http://testrr/portal_railroad', 'creation_date':
'2005-04-05 03:49:28', 'path': '/testrr/portal_railroad',
'currentItem': False, 'review_state': 'visible', 'children':
[{'getURL': 'http://testrr/portal_railroad/railroad', 'Description':
'', 'Title': 'RailRoad', 'absolute_url':
'http://testrr/portal_railroad/railroad', 'creation_date': '2005-04-05
22:26:57', 'path': '/testrr/portal_railroad/railroad', 'currentItem':
True, 'review_state': 'visible', 'children': [], 'icon':
'document_icon.gif'}], 'icon': 'testrr/folder_icon.gif'}]}
_pts_negotiator_cache_language {('ka', 'pt-br', 'ru', 'hu', 'et', 'it',
'lt', 'af', 'ko', 'es-ar', 'pl', 'en', 'eo', 'zh', 'ro', 'zh-tw', 'da',
'ar', 'no', 'zh-hk', 'hy', 'de', 'ca', 'eu', 'pt', 'ja', 'uk', 'es-es',
'fi', 'sv', 'tr', 'zh-cn', 'cs', 'he', 'bg', 'fr', 'el', 'fa', 'nn',
'nl', 'es', 'hr', 'nl-be', 'en-zw', 'es-hn', 'zh-mo', 'de-ch', 'fr-lu',
'ca-es', 'es-py', 'de-de', 'en-bz', 'es-us', 'nb', 'it-ch', 'es-mx',
'zh', 'es-pe', 'es-gt', 'en-nz', 'de-at', 'eu-es', 'sv-fi', 'es-ec',
'es-uy', 'en-tt', 'zh-hk', 'no-bok', 'en-ie', 'es-cr', 'en-jm',
'es-ve', 'ca-fr', 'ja-jp', 'en-gb', 'es-pa', 'de-lu', 'zh-cn', 'en-za',
'nb-no', 'nn-no', 'en-au', 'de-li', 'no-nyn', 'fr-ch', 'fr-mc',
'en-ph', 'ko-kr', 'es-pr', 'es-sv', 'es-co', 'fr-be', 'fr-fr', 'es-do',
'ca-it', 'tr-tr', 'en-us', 'es-bo', 'en-ca', 'zh-sg', 'es-cl', 'es-ni',
'fr-ca'): 'de'}
URL0 http://testrr/portal_railroad/railroad/railroad_service_test_form
URL1 http://testrr/portal_railroad/railroad
URL2 http://testrr/portal_railroad
URL3 http://testrr
BASE0 http://testrr
BASE1 http://testrr
BASE2 http://testrr/portal_railroad
BASE3 http://testrr/portal_railroad/railroad
BASE4 http://testrr/portal_railroad/railroad/railroad_service_test_form
environ
HTTP_MAX_FORWARDS '10'
HTTP_REFERER 'http://testrr/portal_railroad/railroad/base_view?
portal_status_message=Your%20changes%20have%20been%20saved.'
HTTP_ACCEPT_LANGUAGE 'de-de,en;q=0.5'
SERVER_SOFTWARE 'Zope/(Zope 2.7.5-final, python 2.3.5, freebsd5)
ZServer/1.1 Plone/2.0.5'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
PATH_INFO '/VirtualHostBase/http/testrr:80/testrr/VirtualHostRoot/
portal_railroad/railroad/railroad_service_test_form'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1112746823
HTTP_X_FORWARDED_SERVER 'testrr.home.tomster.org'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
rv:1.7.3) Gecko/20041026 Firefox/1.0RC1'
HTTP_COOKIE 'cookieTest=1; __ac="YWRtaW46a2xvYmJlcjQ0%0A";
__ac_name="admin"; _ZopeId="98604413A1xm6uJB48w"'
SERVER_NAME 'knox.home.tomster.org'
REMOTE_ADDR '127.0.0.1'
PATH_TRANSLATED '/VirtualHostBase/http/testrr:80/testrr/
VirtualHostRoot/portal_railroad/railroad/railroad_service_test_form'
SERVER_PORT '18082'
HTTP_HOST 'localhost:18082'
HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;
q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_X_FORWARDED_FOR '192.168.1.3'
HTTP_X_FORWARDED_HOST 'testrr'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
Version info:
Plone version: 2.0.5
Zope version: (Zope 2.7.5-final, python 2.3.5, freebsd5)
Apache version:
CMF version (if known): CMF-1.4.7
Browser(s) and version(s): Mozilla/5.0 (Macintosh; U; PPC Mac OS X
Mach-O; en-US; rv:1.7.3) Gecko/20041026 Firefox/1.0RC1
Operating system: freebsd5
Python version: 2.3.5 (#2, Mar 24 2005, 00:48:34)
[GCC 3.4.2 [FreeBSD] 20040728]
Debug mode: Yes
--
tom lazar <tom at tomster.org>
http://tomster.org
More information about the railroad-dev
mailing list