openknowledge-archive / dpm-old

**DEPRECATED** - see https://github.com/frictionlessdata/. [[Data package manager (dpm) is a command line tool and Python library for working with data packages - http://data.okfn.org/standards/data-package/]]
http://dpm.readthedocs.org/
15 stars 8 forks source link

'dpm download ckan://exchange-rates' problem #54

Closed jamescasbon closed 12 years ago

jamescasbon commented 12 years ago

Command as above, this just seems to print masses of whitespace to the terminal.

rufuspollock commented 12 years ago

Which version of dpm are you using?

Also for me running that command I get:

Insufficient arguments. See command help

Correct command is:

dpm download ckan://exchange-rates {path}

(I note that is probably clear we should allow path to be omitted and default to current directory ...)

jamescasbon commented 12 years ago

On Tue, Mar 20, 2012 at 11:22 AM, Rufus Pollock reply@reply.github.com wrote:

Which version of dpm are you using?


Reply to this email directly or view it on GitHub: https://github.com/okfn/dpm/issues/54#issuecomment-4593267

0.10, installed today with pip.

rufuspollock commented 12 years ago

Please install head.

jamescasbon commented 12 years ago

dpm --version 0.11a

dpm download ckan://exchange-rates . Creating package metadata Downloading package resources to ./exchange-rates/data ... Resource: [csv] http://webstore.thedatahub.org/rufuspollock/exchange-rates/data.csv Extracted from Federal Reserve data (H10) -- see other resource. Do you want to retrieve this resource? (y/n/a/q/?: y Downloading package resource: http://webstore.thedatahub.org/rufuspollock/exchange-rates/data.csv Total size: -1b

And then a load of whitespace that never ends.

rufuspollock commented 12 years ago

I can confirm the issue - it should show an ascii progress bar :-)

The file does download for me as evidenced by a prompt for the next file.

rufuspollock commented 12 years ago

@casbon: it's fixed!