Re: Scrapy/XPath help

2012-12-25 Thread donarb
On Friday, December 21, 2012 1:58:47 PM UTC-8, Always Learning wrote: > The errors I get are > >>File > >>"C:\python27\lib\site-packages\scrapy-0.16.3-py2.7.egg\scrapy\selector\lxmlsel.py", > >> line 47, in select > > >>raise ValueError("Invalid XPath: %s" % xpath) > > >>exceptions.ValueError: I

Re: Scrapy/XPath help

2012-12-21 Thread Dave Angel
On 12/21/2012 04:58 PM, Always Learning wrote: > Sorry about that. I'm using Python 2.7.3, 32 bit one Windows 7. > > The errors I get are > >>> File >>> "C:\python27\lib\site-packages\scrapy-0.16.3-py2.7.egg\scrapy\selector\lxmlsel.py", >>> line 47, in select >>> raise ValueError("Invalid XPath:

Re: Scrapy/XPath help

2012-12-21 Thread Always Learning
Sorry about that. I'm using Python 2.7.3, 32 bit one Windows 7. The errors I get are >>File >>"C:\python27\lib\site-packages\scrapy-0.16.3-py2.7.egg\scrapy\selector\lxmlsel.py", >> line 47, in select >>raise ValueError("Invalid XPath: %s" % xpath) >>exceptions.ValueError: Invalid XPath: /span[@c

Re: Scrapy/XPath help

2012-12-21 Thread Grant Rettke
You might have better luck if you share the python make, version, os, error message, and some unit tests demonstrating what you expect. On Fri, Dec 21, 2012 at 3:21 PM, Always Learning wrote: > Hello all. I'm new to Python, but have been playing around with it for a few > weeks now, following tu