[ckan-dev] RE : Trouble installing ckan

mehdi benchoufi benchoufi.mehdi at gmail.com
Thu Aug 23 15:46:54 UTC 2012


Hi again Sean,

I finally managed to activate the copy-paste between my mac and
ubuntu-guest. So, I downloaded what I could using the command

Then, I followed step by step the doc, I ran paster serve development.ini,
and here's what I get:

2012-08-23 17:41:20,486 ERROR [ckan.lib.search.common] [Errno 111]
Connection refused
Traceback (most recent call last):
  File "/home/mbenchoufi/pyenv/src/ckan/ckan/lib/search/common.py", line
51, in is_available
    conn.query("*:*", rows=1)
  File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 703, in
query
    return self.select(*args, **params)
  File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 798, in
__call__
    xml = self.raw(**params)
  File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 823, in
raw
    rsp = conn._post(self.selector, request, conn.form_headers)
  File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 646, in
_post
    self._reconnect()
  File "/usr/local/lib/python2.7/dist-packages/solr/core.py", line 625, in
_reconnect
    self.conn.connect()
  File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
error: [Errno 111] Connection refused
2012-08-23 17:41:20,547 WARNI [ckan.lib.search] Problems were found while
connecting to the SOLR server
Starting server in PID 2023.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000


When I try to connect to http://127.0.0.1:5000/, I have the ckan
environement displaying with a warning : 'internal server error'

Do you think I can fix it ?

Best,
Mehdi

2012/8/23 mehdi benchoufi <benchoufi.mehdi at gmail.com>

>
> Hi Sean,
>
> I am sorry but I didn't succeed to copy-paste content because I am using
> Ubuntu with VirtualBox, so I can copy-paste from 'Ubuntu to Ubuntu' but not
> from 'Ubuntu to my Mac', but perhaps there is a way to do it.
>
> My response below :
>
> 2012/8/23 Sean Hammond <sean.hammond at okfn.org>
>
>> > I am trying to install ckan. In fact, working with Ubuntu 12.04, I had
>> to
>> > follow this doc :
>> > http://docs.ckan.org/en/ckan-1.7.1/install-from-source.html
>> >
>> > But at step 4, when running : pip install --ignore-installed -e git+
>> > https://github.com/okfn/ckan.git#egg=ckan,
>> > Numbers of files were downloaded, but the process seemed not to be
>> > complete.
>>
>> I need to see the actual output from your terminal to see what might be
>> the problem. Can you copy and paste it? Note that it's possible to
>> select some of the text in your terminal using the mouse and then copy
>> it by right-clicking on it and choosing Copy, then you can paste it into
>> an email.
>>
>
> Quite strangely, I tried the command again and I was told that ckan was
> successfully installed
>
>>
>> > Then at Step 5, I didn't find the files requires/lucid_missing.txt,
>> > requires/conflict.txt, requires/lucid_present.txt.
>>
>> What version of CKAN did you download? If you used this command in step
>> 4 of the source install instructions:
>>
>> pip install --ignore-installed -e git+
>> https://github.com/okfn/ckan.git#egg=ckan
>>
>
> That's what I downloaded
>
>>
>>
>> then you would get the latest development version of CKAN. If instead
>> you used this command:
>>
>> pip install --ignore-installed -e git+
>> https://github.com/okfn/ckan.git@ckan-1.7.1#egg=ckan
>>
>> then you would get CKAN 1.7.1. If you're following the 1.7.1 source
>> install instructions you need to download CKAN 1.7.1 not master. (I can
>> see this should probably be clarified in the docs).
>>
>
>  You'll find here :
> http://www.2shared.com/photo/hkoN3AyT/Capture_dcran_2012-08-23__1245.html
>
> the ls command result in the folder /pyenv/src/ckan, you'll see there is
> no requirements folder
>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120823/5ef447f9/attachment-0001.html>


More information about the ckan-dev mailing list