[Pytest-commit] Issue #614: --pastebin option is broken: bpaste.net/xmlrpc has been moved (hpk42/pytest)
Bruno Oliveira
issues-reply at bitbucket.org
Fri Oct 10 18:18:26 CEST 2014
New issue 614: --pastebin option is broken: bpaste.net/xmlrpc has been moved
https://bitbucket.org/hpk42/pytest/issue/614/pastebin-option-is-broken-bpastenet-xmlrpc
Bruno Oliveira:
Hi,
I'm getting this error when I use the `--pastebin` option:
```python
Traceback (most recent call last):
File "D:/Shared/dist/12.0-all/pytest-2.6.1/Scripts/py.test-script.py", line 9, in <module>
load_entry_point('pytest==2.6.1', 'console_scripts', 'py.test')()
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\config.py", line 41, in main
return config.hook.pytest_cmdline_main(config=config)
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\core.py", line 413, in __call__
return self._docall(methods, kwargs)
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\core.py", line 424, in _docall
res = mc.execute()
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\core.py", line 315, in execute
res = method(**kwargs)
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\main.py", line 116, in pytest_cmdline_main
return wrap_session(config, _main)
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\main.py", line 111, in wrap_session
config.do_unconfigure()
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\config.py", line 623, in do_unconfigure
self.hook.pytest_unconfigure(config=self)
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\core.py", line 413, in __call__
return self._docall(methods, kwargs)
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\core.py", line 424, in _docall
res = mc.execute()
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\core.py", line 315, in execute
res = method(**kwargs)
File "D:\Shared\dist\12.0-all\pytest-2.6.1\lib\site-packages\_pytest\pastebin.py", line 34, in pytest_unconfigure
proxyid = getproxy().newPaste("python", sessionlog)
File "D:\Shared\dist\12.0-win64\python-2.7.X\lib\xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "D:\Shared\dist\12.0-win64\python-2.7.X\lib\xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "D:\Shared\dist\12.0-win64\python-2.7.X\lib\xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "D:\Shared\dist\12.0-win64\python-2.7.X\lib\xmlrpclib.py", line 1312, in single_request
response.msg,
xmlrpclib.ProtocolError: <ProtocolError for bpaste.net/xmlrpc/: 301 Moved Permanently>
```
A quick Google search didn't turn up anything about bpaste.net dropping XMLRPC. I couldn't find anything related to an API either.
1. Does anyone have more information about bpaste.net and its API support?
2. Should we update the built-in plugin to use another paste service, perhaps www.pastebin.com?
3. There's also #142, about moving this support to an external plugin instead.
More information about the pytest-commit
mailing list