[ckan-dev] Standard production install on Ubuntu 10.10 gives problem
Kimpe Marc
Marc.Kimpe at cronos.be
Mon Sep 19 08:53:36 UTC 2011
Hi all,
Ok Install is working fine on Ubuntu 10.4.03 LTS
except :
Pages are now only visible to registered users and you get
"Not authorized to see this page"
Problem is : you get it also on the Register page!
How does a user register now ?
What do I need to do to make home , search and register page publicly
available ?
Kind Regards,
Marc
On 16 Sep 2011, at 12:47, Kimpe Marc wrote:
> David,
>
> Thanks, I'll try and download Ubuntu 10.04. 3 LTS on monday...
>
> mvg,
>
> Marc
> On 16 Sep 2011, at 12:20, David Read wrote:
>
>> Ok, I've tracked down why you have this error:
>>
>>>> Thu Sep 15 10:18:05 2011] [error] [client 192.168.0.102] Error -
>>>> <type
>>>> 'exceptions.AttributeError'>: 'module' object has no attribute
>>>> '_push_object'
>>
>> It's because you are using a slightly later version of Pylons (0.10
>> rather than 0.9.7) which is not compatible with CKAN. This is indeed
>> because you have been using Ubuntu 10.10 rather than the specified
>> 10.04LTS. No doubt this is something James will be tackling in his
>> work on the packaging, but for now please stick to the instructions
>> for installing from source on this distribution.
>>
>> David
>>
>>
>> On 16 September 2011 10:54, Kimpe Marc <Marc.Kimpe at cronos.be> wrote:
>>> List of pip freeze on the working Ubuntu 10.10.
>>>
>>> grizzzly at tmpl-ckan:~$ . pyenv/bin/activate
>>> (pyenv)grizzzly at tmpl-ckan:~$ pip freeze
>>> Warning: cannot find svn location for flup==1.0.3.dev-20110405
>>> Babel==0.9.5
>>> Beaker==1.5.4
>>> FormAlchemy==1.3.5
>>> FormEncode==1.2.4
>>> Genshi==0.6
>>> Jinja2==2.5.5
>>> Mako==0.4.1
>>> MarkupSafe==0.9.2
>>> Paste==1.7.2
>>> PasteDeploy==1.5.0
>>> PasteScript==1.7.3
>>> PyUtilib==3.6.2498
>>> Pygments==1.4
>>> Pylons==0.9.7
>>> Routes==1.11
>>> SQLAlchemy==0.6.6
>>> Sphinx==0.6.4
>>> Tempita==0.4
>>> WebError==0.10.3
>>> WebHelpers==1.2
>>> WebOb==1.0.8
>>> WebTest==1.2.3
>>> argparse==1.2.1
>>> autoneg==0.5
>>> -e hg+https://bitbucket.org/okfn/ckan@8648d1fd27af2a5488117ba1cd68bf7db7469b6e#egg=ckan-dev
>>> -e hg+https://bitbucket.org/okfn/ckanclient@6756586299ccb7d4f94ab74fdb5dc9118702702e#egg=ckanclient-ckanclient-v0.6
>>> decorator==3.3.1
>>> docutils==0.7
>>> ## FIXME: could not find svn URL in dependency_links for this
>>> package:
>>> flup==1.0.3.dev-20110405
>>> -e hg+https://bitbucket.org/okfn/licenses@0eed4a13296b3c50218cd95d85d49151d3b3c095#egg=licenses-0.6
>>> lxml==2.2.4
>>> nose==1.0.0
>>> psutil==0.2.1
>>> psycopg2==2.0.13
>>> python-openid==2.2.5
>>> pyutilib.R==3.0.5
>>> pyutilib.autotest==1.4.6
>>> pyutilib.common==3.0.5
>>> pyutilib.component.app==3.1.6
>>> pyutilib.component.config==3.3.2
>>> pyutilib.component.core==4.3.1
>>> pyutilib.component.doc==1.0.1
>>> pyutilib.component.executables==3.4.1
>>> pyutilib.component.loader==3.3.1
>>> pyutilib.dev==1.15.2
>>> pyutilib.enum==1.0.7
>>> pyutilib.excel==3.0.6
>>> pyutilib.math==3.0.6
>>> pyutilib.misc==4.6
>>> pyutilib.ply==3.0.6
>>> pyutilib.pyro==3.3
>>> pyutilib.services==3.3.1
>>> pyutilib.subprocess==3.2.3
>>> pyutilib.svn==1.0.1
>>> pyutilib.th==5.0
>>> pyutilib.virtualenv==2.5
>>> pyutilib.workflow==2.2.4
>>> repoze.who==1.0.18
>>> repoze.who-friendlyform==1.0.8
>>> repoze.who.plugins.openid==0.5.3
>>> simplejson==2.1.6
>>> sqlalchemy-migrate==0.6
>>> unittest2==0.5.1
>>> vdm==0.9
>>> virtualenv==1.6.1
>>> wsgiref==0.1.2
>>> zope.interface==3.5.3
>>> (pyenv)grizzzly at tmpl-ckan:~$
>>>
>>>
>>>
>>> Kind Regards,
>>>
>>>
>>> Marc
>>> On 16 Sep 2011, at 11:37, David Read wrote:
>>>
>>>> On 16 September 2011 08:43, Kimpe Marc <Marc.Kimpe at cronos.be>
>>>> wrote:
>>>>> Hi All,
>>>>>
>>>>>
>>>>> On another instance with the same Ubuntu 10.10 it is working fine.
>>>>
>>>> Marc,
>>>> Great to hear this. I'm still trying to reproduce your other
>>>> problem
>>>> with the specific versions of the packages you have.
>>>>
>>>>> Although that install wasn't so easy either - basically I had to
>>>>> manually reinstall different versions of python modules until
>>>>> it worked. The version used there are lower than the ones we use
>>>>> now
>>>>> and listed below.
>>>>
>>>> If you can supply any more detail about this then that would be
>>>> appreciated.
>>>>
>>>>> So it would be nice if we could have a nice and clean install as
>>>>> described in the documentation.
>>>>
>>>> For distributions other than Lucid, we suggest in the docs that
>>>> you do
>>>> the source install.
>>>>
>>>> David
>>>>
>>>>>
>>>>> Kind Regards,
>>>>>
>>>>> Marc
>>>>>
>>>>>
>>>>>
>>>>> On 15 Sep 2011, at 13:30, Kimpe Marc wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> installed pip and here is the pip freeze output below.
>>>>>>
>>>>>> I understand the email error but that shouldn't prevent the site
>>>>>> from
>>>>>> responding
>>>>>>
>>>>>> It is the
>>>>>>>> Thu Sep 15 10:18:05 2011] [error] [client 192.168.0.102]
>>>>>>>> Error -
>>>>>>>> <type
>>>>>>>> 'exceptions.AttributeError'>: 'module' object has no attribute
>>>>>>>> '_push_object'
>>>>>> that is bothering me probably.
>>>>>>
>>>>>>
>>>>>> Kind regards,
>>>>>>
>>>>>> Marc
>>>>>>
>>>>>>
>>>>>> root at dpl2-ckan:~# apt-get install python-pip
>>>>>> Reading package lists... Done
>>>>>> Building dependency tree
>>>>>> Reading state information... Done
>>>>>> The following NEW packages will be installed:
>>>>>> python-pip
>>>>>> 0 upgraded, 1 newly installed, 0 to remove and 345 not upgraded.
>>>>>> Need to get 68.7kB of archives.
>>>>>> After this operation, 385kB of additional disk space will be
>>>>>> used.
>>>>>> Get:1 http://sj.archive.ubuntu.com/ubuntu/ maverick/universe
>>>>>> python-
>>>>>> pip all 0.7.2-1 [68.7kB]
>>>>>> Fetched 68.7kB in 0s (434kB/s)
>>>>>> Selecting previously deselected package python-pip.
>>>>>> (Reading database ... 124959 files and directories currently
>>>>>> installed.)
>>>>>> Unpacking python-pip (from .../python-pip_0.7.2-1_all.deb) ...
>>>>>> Processing triggers for man-db ...
>>>>>> Setting up python-pip (0.7.2-1) ...
>>>>>> Processing triggers for python-support ...
>>>>>>
>>>>>>
>>>>>> root at dpl2-ckan:~# pip freeze
>>>>>> ApacheMiddleware==0.1.0
>>>>>> Babel==0.9.4
>>>>>> Beaker==1.5.4
>>>>>> BeautifulSoup==3.1.0.1
>>>>>> Brlapi==0.5.5
>>>>>> CouchDB==0.6
>>>>>> FormAlchemy==1.3.9
>>>>>> FormEncode==1.2.2
>>>>>> GnuPGInterface==0.3.2
>>>>>> Jinja2==2.5.2
>>>>>> Mako==0.3.4
>>>>>> MarkupSafe==0.9.2
>>>>>> PAM==0.4.2
>>>>>> PIL==1.1.7
>>>>>> Paste==1.7.4
>>>>>> PasteDeploy==1.3.3
>>>>>> PasteScript==1.7.3
>>>>>> Pygments==1.3.1
>>>>>> Pylons==0.10
>>>>>> Routes==1.12.3
>>>>>> SQLAlchemy==0.6.3
>>>>>> Sphinx==0.6.6
>>>>>> Tempita==0.4
>>>>>> Twisted-Core==10.1.0
>>>>>> Twisted-Names==10.1.0
>>>>>> Twisted-Web==10.1.0
>>>>>> WebError==0.10.2
>>>>>> WebHelpers==1.0
>>>>>> WebOb==0.9.8
>>>>>> WebTest==1.2.1
>>>>>> adium-theme-ubuntu==0.3
>>>>>> apt-xapian-index==0.39
>>>>>> apturl==0.4.1ubuntu7
>>>>>> argparse==1.1
>>>>>> autoneg==0.5
>>>>>> ckan==1.4.2a
>>>>>> ckan-deps==1.3.1
>>>>>> ckanext-std==0.1
>>>>>> command-not-found==0.1
>>>>>> configglue==0.9pre1
>>>>>> decorator==3.2.0
>>>>>> distribute==0.6.14
>>>>>> docutils==0.6
>>>>>> flup==0.5
>>>>>> gnome-app-install==0.4.7ubuntu2
>>>>>> httplib2==0.6.0
>>>>>> jockey==0.5.10
>>>>>> launchpadlib==1.6.1
>>>>>> lazr.restfulclient==0.9.20
>>>>>> lazr.uri==1.0.2
>>>>>> licenses==0.6
>>>>>> louis==2.0.0
>>>>>> lxml==2.2.6
>>>>>> nose==0.11.1
>>>>>> nvidia-common==0.0.0
>>>>>> oauth==1.0a
>>>>>> onboard==0.94.0
>>>>>> papyon==0.5.1
>>>>>> pexpect==2.3
>>>>>> protobuf==2.3.0
>>>>>> psycopg2==2.2.1
>>>>>> pyOpenSSL==0.10
>>>>>> pycrypto==2.0.1
>>>>>> pycups==1.9.51
>>>>>> pycurl==7.19.0
>>>>>> pyinotify==0.8.9
>>>>>> pyserial==2.3
>>>>>> pysmbc==1.0.8
>>>>>> python-apt==0.7.96.1ubuntu11
>>>>>> python-debian==0.1.16ubuntu1
>>>>>> python-ldap==2.3.11
>>>>>> python-openid==2.2.4
>>>>>> python-virtkey==0.60.0
>>>>>> pyutilib.component.core==4.1
>>>>>> pyxdg==0.19
>>>>>> rdflib==2.4.2
>>>>>> repoze.who==1.0.18
>>>>>> repoze.who-friendlyform==1.0b3
>>>>>> repoze.who-testutil==1.0rc1
>>>>>> repoze.who.plugins.ldap==1.0
>>>>>> repoze.who.plugins.openid==0.5
>>>>>> repoze.who.plugins.sa==1.0rc2
>>>>>> scgi==1.13
>>>>>> screen-resolution-extra==0.0.0
>>>>>> sessioninstaller==0.0.0
>>>>>> simplejson==2.1.1
>>>>>> speechd==0.3
>>>>>> speechd-config==0.0
>>>>>> system-service==0.1.6
>>>>>> ubuntu-sso-client==1.0.3
>>>>>> ubuntuone-storage-protocol==1.4.0
>>>>>> ufw==0.30.0-1ubuntu2
>>>>>> unattended-upgrades==0.1
>>>>>> usb-creator==0.2.23
>>>>>> vdm==0.9
>>>>>> wadllib==1.1.4
>>>>>> wsgiref==0.1.2
>>>>>> xkit==0.0.0
>>>>>> zope.interface==3.6.1
>>>>>>
>>>>>> On 15 Sep 2011, at 13:13, David Read wrote:
>>>>>>
>>>>>>> On 15 September 2011 10:33, Kimpe Marc <Marc.Kimpe at cronos.be>
>>>>>>> wrote:
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I'm trying a standard production install as described in
>>>>>>>> http://readthedocs.org/docs/ckan/en/ckan-1.4.3/install-from-package.html#run-package-installer
>>>>>>>> on Ubuntu 10.10.
>>>>>>>>
>>>>>>>> When I try the test:
>>>>>>>> http://localhost or http://dpl-ckan or http://192.168.0.102
>>>>>>>> I get the following internal error in apache :
>>>>>>>>
>>>>>>>> [Thu Sep 15 10:18:05 2011] [error] [client 192.168.0.102]
>>>>>>>> Error -
>>>>>>>> <type
>>>>>>>> 'exceptions.AttributeError'>: 'module' object has no attribute
>>>>>>>> '_push_object'
>>>>>> ....
>>>>>>>> <p>Additionally an error occurred while sending the
>>>>>>>> <weberror.reporter.EmailReporter object at 0x240479ec>
>>>>>>>> report:
>>>>>>>
>>>>>>> As an aside, this error occurs due to bad or non-configured
>>>>>>> email
>>>>>>> settings in your CKAN config file, section '[DEFAULT]'
>>>>>>>
>>>>>>>> .
>>>>>>>> What is went/is wrong ?
>>>>>>>
>>>>>>> I've not seen this one before, so I'll have a poke around. Can
>>>>>>> you do
>>>>>>> a 'pip freeze' to let us know what versions you have of the
>>>>>>> python
>>>>>>> packages please?
>>>>>>>
>>>>>>> David
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Kind Regards,
>>>>>>>> Marc
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> ckan-dev mailing list
>>>>>>>> ckan-dev at lists.okfn.org
>>>>>>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> ckan-dev mailing list
>>>>>>> ckan-dev at lists.okfn.org
>>>>>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ckan-dev mailing list
>>>>> ckan-dev at lists.okfn.org
>>>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>>
>>>
>>>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
More information about the ckan-dev
mailing list