Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_xmlrpc_net fails #47326

Closed
donmez mannequin opened this issue Jun 10, 2008 · 7 comments
Closed

test_xmlrpc_net fails #47326

donmez mannequin opened this issue Jun 10, 2008 · 7 comments
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@donmez
Copy link
Mannequin

donmez mannequin commented Jun 10, 2008

BPO 3076
Nosy @amauryfa, @benjaminp

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2008-06-11.02:37:40.711>
created_at = <Date 2008-06-10.20:45:38.834>
labels = ['type-bug', 'tests']
title = 'test_xmlrpc_net fails'
updated_at = <Date 2008-06-11.02:37:40.632>
user = 'https://bugs.python.org/donmez'

bugs.python.org fields:

activity = <Date 2008-06-11.02:37:40.632>
actor = 'benjamin.peterson'
assignee = 'none'
closed = True
closed_date = <Date 2008-06-11.02:37:40.711>
closer = 'benjamin.peterson'
components = ['Tests']
creation = <Date 2008-06-10.20:45:38.834>
creator = 'donmez'
dependencies = []
files = []
hgrepos = []
issue_num = 3076
keywords = []
message_count = 7.0
messages = ['67918', '67921', '67922', '67925', '67928', '67929', '67936']
nosy_count = 3.0
nosy_names = ['amaury.forgeotdarc', 'donmez', 'benjamin.peterson']
pr_nums = []
priority = 'critical'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue3076'
versions = ['Python 3.0']

@donmez
Copy link
Mannequin Author

donmez mannequin commented Jun 10, 2008

Latest py3k branch,

test_xmlrpc_net
test test_xmlrpc_net failed -- Traceback (most recent call last):
  File "/Users/cartman/Sources/py3k/Lib/test/test_xmlrpc_net.py", line 
18, in test_current_time
    t0 = server.currentTime.getCurrentTime()
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 1095, in 
__call__
    return self.__send(self.__name, args)
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 1353, in 
__request
    verbose=self.__verbose
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 1136, in 
request
    return self._parse_response(resp, None)
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 1246, in 
_parse_response
    p.feed(response)
  File "/Users/cartman/Sources/py3k/Lib/xmlrpc/client.py", line 516, in 
feed
    self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: mismatched tag: line 10, column 7

This is MacOSX Leopard 10.5.3

@donmez donmez mannequin added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Jun 10, 2008
@donmez donmez mannequin changed the title xml_rpc_net fails on Darwin test_xmlrpc_net fails on Darwin Jun 10, 2008
@amauryfa
Copy link
Member

It's not a python issue: the web site at http://www.xmlrpc.com is
completely broken!

The ExpatError occurs because the returned HTML page is not strict XML.

@donmez
Copy link
Mannequin Author

donmez mannequin commented Jun 10, 2008

It is a python bug, test should use a better web page then.

@benjaminp
Copy link
Contributor

I agree. I've temporarily disabled the offending test, but we should fix
this soon.

@amauryfa
Copy link
Member

But (try a Google search) xmlrpc.com is the main site for xml-rpc resources!
What kind of site should we use for testing?

@benjaminp
Copy link
Contributor

On Tue, Jun 10, 2008 at 4:27 PM, Amaury Forgeot d'Arc
<report@bugs.python.org> wrote:

Amaury Forgeot d'Arc <amauryfa@gmail.com> added the comment:

But (try a Google search) xmlrpc.com is the main site for xml-rpc resources!
What kind of site should we use for testing?

Take a look at xmlrpc.com. It seems that it is temporarily down, so we
should be back and running soon.

@benjaminp benjaminp changed the title test_xmlrpc_net fails on Darwin test_xmlrpc_net fails Jun 10, 2008
@benjaminp
Copy link
Contributor

xmlrpc.com is backup so I reenabled the test.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants