[wdmmg-dev] wdmmgext & error code 255 remote hg
Ben Teeuwen
bteeuwen at gmail.com
Fri Apr 22 08:00:49 UTC 2011
Hi,
Thanks Friedrich for your suggestions. Now I get the following error:
bteeuwen at Ben-3 ~/Sites/wdmmg]$pip install -e hg+ssh://hg@bitbucket.org/okfn/wdmmg-ext#egg=wdmmg-ext
Obtaining wdmmg-ext from hg+ssh://hg@bitbucket.org/okfn/wdmmg-ext#egg=wdmmg-ext
Cloning hg ssh://hg@bitbucket.org/okfn/wdmmg-ext to ./src/wdmmg-ext
The authenticity of host 'bitbucket.org (207.223.240.181)' can't be established.
RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
abort: no suitable response from remote hg!
Complete output from command /usr/local/bin/hg clone --noupdate -q ssh://hg@bitbucket.org/okfn/wdmmg-ext /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext:
----------------------------------------
Command /usr/local/bin/hg clone --noupdate -q ssh://hg@bitbucket.org/okfn/wdmmg-ext /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext failed with error code 255
Storing complete log in /Users/bteeuwen/.pip/pip.log
bteeuwen at Ben-3 ~/Sites/wdmmg]$cat /Users/bteeuwen/.pip/pip.log
Obtaining wdmmg-ext from hg+ssh://hg@bitbucket.org/okfn/wdmmg-ext#egg=wdmmg-ext
Cloning hg ssh://hg@bitbucket.org/okfn/wdmmg-ext to ./src/wdmmg-ext
Found command 'hg' at '/usr/local/bin/hg'
Running command /usr/local/bin/hg clone --noupdate -q ssh://hg@bitbucket.org/okfn/wdmmg-ext /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext
Complete output from command /usr/local/bin/hg clone --noupdate -q ssh://hg@bitbucket.org/okfn/wdmmg-ext /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext:
----------------------------------------
Command /usr/local/bin/hg clone --noupdate -q ssh://hg@bitbucket.org/okfn/wdmmg-ext /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext failed with error code 255
Exception information:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/req.py", line 930, in prepare_files
req_to_install.update_editable(not self.is_download)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/req.py", line 378, in update_editable
vcs_backend.obtain(self.source_dir)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/vcs/mercurial.py", line 81, in obtain
call_subprocess([self.cmd, 'clone', '--noupdate', '-q', url, dest])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/__init__.py", line 255, in call_subprocess
% (command_desc, proc.returncode))
InstallationError: Command /usr/local/bin/hg clone --noupdate -q ssh://hg@bitbucket.org/okfn/wdmmg-ext /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext failed with error code 255
bteeuwen at Ben-3 ~/Sites/wdmmg/src]$l
total 24
drwxr-xr-x 6 bteeuwen staff 204 11 apr 22:01 .
drwxr-xr-x 31 bteeuwen staff 1054 11 apr 22:21 ..
-rw-r--r--@ 1 bteeuwen staff 6148 11 apr 22:01 .DS_Store
drwxr-xr-x 14 bteeuwen staff 476 11 apr 22:01 datapkg
-rw-r--r-- 1 bteeuwen staff 185 7 apr 23:33 pip-delete-this-directory.txt
drwxr-xr-x 9 bteeuwen staff 306 8 apr 09:18 swiss
bteeuwen at Ben-3 ~/Sites/wdmmg]$mkdir ./src/wdmmg-ext
bteeuwen at Ben-3 ~/Sites/wdmmg]$pip install -e hg+ssh://hg@bitbucket.org/okfn/wdmmg-ext#egg=wdmmg-ext
Obtaining wdmmg-ext from hg+ssh://hg@bitbucket.org/okfn/wdmmg-ext#egg=wdmmg-ext
Directory /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext already exists, and is not a hg clone.
The plan is to install the hg repository ssh://hg@bitbucket.org/okfn/wdmmg-ext
What to do? (i)gnore, (w)ipe, (b)ackup yes
Your response ('yes') was not one of the expected responses: i, w, b
What to do? (i)gnore, (w)ipe, (b)ackup w
Deleting ./src/wdmmg-ext
Cloning hg ssh://hg@bitbucket.org/okfn/wdmmg-ext to ./src/wdmmg-ext
abort: no suitable response from remote hg!
Complete output from command /usr/local/bin/hg clone --noupdate -q ssh://hg@bitbucket.org/okfn/wdmmg-ext /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext:
----------------------------------------
Command /usr/local/bin/hg clone --noupdate -q ssh://hg@bitbucket.org/okfn/wdmmg-ext /Users/bteeuwen/Sites/wdmmg/src/wdmmg-ext failed with error code 255
Storing complete log in /Users/bteeuwen/.pip/pip.log
Any thoughts?
Ben
Op 22 apr 2011, om 09:23 heeft Friedrich Lindenberg het volgende geschreven:
> Hi Ben,
>
> On Thu, Apr 21, 2011 at 8:49 PM, Ben Teeuwen <bteeuwen at gmail.com> wrote:
>> I'm trying to install the code from http://wheredoesmymoneygo.org/getting-started/ on my local machine. I've got a mac os 10.6.7, python 2.7.1, pip, and the most recent postgres installation. I'm now testing imported data and I get 21 errors (see attached). The majority sounds like:
>
> Thanks for pointing this out, I think the getting started page links
> to an outdated version of the install guide (we've since moved repos).
> A newer, better one is at:
> https://bitbucket.org/okfn/wdmmg/src/b759f035a415/doc/install.rst
>
>> from wdmmgext.load import uganda
>> ImportError: No module named wdmmgext.load
>
> This sounds like you need to install wdmmg-ext.
>
> pip install -e hg+ssh://hg@bitbucket.org/okfn/wdmmg-ext#egg=wdmmg-ext
>
>> I've searched the files that use this module. Attached is an example file.
>>
>> I see 2 more errors;
>> 1) that the file 'ukgov-finances-cra/cra_2009_db.csv' does not exist.
>> 2) SolrException: HTTP code=404, reason=Not Found
>> Maybe both are due to the wdmmgext.load error, so I'll ignore this for now and first try to find answer to my first question.
>
> You do need solr installed, though.
>
> - Friedrich
More information about the openspending-dev
mailing list