sensiblecodeio / scraperwiki-python

ScraperWiki Python library for scraping and saving data
https://scraperwiki.com
BSD 2-Clause "Simplified" License
159 stars 69 forks source link

dumptruck is not optional #3

Closed rossjones closed 12 years ago

rossjones commented 12 years ago

The blog post at http://blog.scraperwiki.com/2012/06/07/local-scraperwiki-library/#more-758217004 suggests dumptruck is optional, however if you try to install scraperwiki_local it complains with the following stack trace. Suggest it is either really optional or it is included in the scraperwiki_local setup.py requirements.

....

Downloading/unpacking scraperwiki-local Running setup.py egg_info for package scraperwiki-local Traceback (most recent call last): File "", line 14, in File "/Users/ross/Work/scrapes/build/scraperwiki-local/setup.py", line 20, in import scraperwiki File "scraperwiki/init.py", line 25, in import utils, sqlite File "scraperwiki/sqlite.py", line 1, in from dumptruck import DumpTruck ImportError: No module named dumptruck Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "", line 14, in

File "/Users/ross/Work/scrapes/build/scraperwiki-local/setup.py", line 20, in

import scraperwiki

File "scraperwiki/init.py", line 25, in

import utils, sqlite

File "scraperwiki/sqlite.py", line 1, in

from dumptruck import DumpTruck

ImportError: No module named dumptruck


Command python setup.py egg_info failed with error code 1

tlevine commented 12 years ago

Is there a particular part of the blog post that suggested dumptruck to be optional?

Separately, it looks like I forgot to specify dumptruck as a dependency.

On Fri, Jun 22, 2012 at 2:39 PM, Ross Jones < reply@reply.github.com

wrote:

The blog post at http://blog.scraperwiki.com/2012/06/07/local-scraperwiki-library/#more-758217004suggests dumptruck is optional, however if you try to install scraperwiki_local it complains with the following stack trace. Suggest it is either really optional or it is included in the scraperwiki_local setup.py requirements.

....

Downloading/unpacking scraperwiki-local Running setup.py egg_info for package scraperwiki-local Traceback (most recent call last): File "", line 14, in File "/Users/ross/Work/scrapes/build/scraperwiki-local/setup.py", line 20, in import scraperwiki File "scraperwiki/init.py", line 25, in import utils, sqlite File "scraperwiki/sqlite.py", line 1, in from dumptruck import DumpTruck ImportError: No module named dumptruck Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "", line 14, in

File "/Users/ross/Work/scrapes/build/scraperwiki-local/setup.py", line 20, in

import scraperwiki

File "scraperwiki/init.py", line 25, in

import utils, sqlite

File "scraperwiki/sqlite.py", line 1, in

from dumptruck import DumpTruck

ImportError: No module named dumptruck


Command python setup.py egg_info failed with error code 1


Reply to this email directly or view it on GitHub: https://github.com/tlevine/scraperwiki_local/issues/3

rossjones commented 12 years ago

I think it is just not clear given that it doesn't have it as a setup.py requirement. I may have logged another issue about that.

"which you can optionally install independently of scraperwiki_local"

On 23 Jun 2012, at 22:50, Thomas Levinereply@reply.github.com wrote:

Is there a particular part of the blog post that suggested dumptruck to be optional?

Separately, it looks like I forgot to specify dumptruck as a dependency.

On Fri, Jun 22, 2012 at 2:39 PM, Ross Jones < reply@reply.github.com

wrote:

The blog post at http://blog.scraperwiki.com/2012/06/07/local-scraperwiki-library/#more-758217004suggests dumptruck is optional, however if you try to install scraperwiki_local it complains with the following stack trace. Suggest it is either really optional or it is included in the scraperwiki_local setup.py requirements.

....

Downloading/unpacking scraperwiki-local Running setup.py egg_info for package scraperwiki-local Traceback (most recent call last): File "", line 14, in File "/Users/ross/Work/scrapes/build/scraperwiki-local/setup.py", line 20, in import scraperwiki File "scraperwiki/init.py", line 25, in import utils, sqlite File "scraperwiki/sqlite.py", line 1, in from dumptruck import DumpTruck ImportError: No module named dumptruck Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "", line 14, in

File "/Users/ross/Work/scrapes/build/scraperwiki-local/setup.py", line 20, in

import scraperwiki

File "scraperwiki/init.py", line 25, in

import utils, sqlite

File "scraperwiki/sqlite.py", line 1, in

from dumptruck import DumpTruck

ImportError: No module named dumptruck


Command python setup.py egg_info failed with error code 1


Reply to this email directly or view it on GitHub: https://github.com/tlevine/scraperwiki_local/issues/3


Reply to this email directly or view it on GitHub: https://github.com/tlevine/scraperwiki_local/issues/3#issuecomment-6528627

tlevine commented 12 years ago

dumptruck is still required, and we haven't changed the blog post, but the requirements are now installed at install