Page 1 of 1

PySnip needs to be updated soon

Posted: Tue Nov 05, 2013 7:28 pm
by UnrealIncident
The newest version of Twisted removes _parse from twisted.web.client. What does this mean? You get this error:
Code: Select all
Traceback (most recent call last):
  File "run.py", line 87, in <module>
    from pyspades.server import (ServerProtocol, ServerConnection, position_data,
  File "../pyspades/server.py", line 27, in <module>
    from pyspades.master import get_master_connection
  File "../pyspades/master.py", line 103, in <module>
    from pyspades.web import getPage
  File "../pyspades/web.py", line 2, in <module>
    from twisted.web.client import HTTPClientFactory, _parse
ImportError: cannot import name _parse
So Stack, grab the latest version and try get shit working because that's the version you get from easy_install and probably the new version that Ubuntu will probably end up using.

Re: PySnip needs to be updated soon

Posted: Thu Nov 07, 2013 5:42 pm
by StackOverflow
Fixed with backwards compatibility.

https://code.google.com/p/pysnip/source ... dcf1320a81