[ckan-dev] CKAN 2.2 upgrade from source issue

Pabitra Dash pkdash_reena at hotmail.com
Tue May 6 23:45:39 UTC 2014


In fact the following error happens when I do the search-index rebuild step of the upgrading process:
AttributeError: 'NoneType" object has no attribute 'isoformat'
It is coming from the package_dictize module code line:
result_dict['metadata_modified'] = pk.metadata_modified.isoformat()

Pabitra

From: pkdash_reena at hotmail.com
To: ckan-dev at lists.okfn.org
Date: Tue, 6 May 2014 17:02:04 -0500
Subject: Re: [ckan-dev] CKAN 2.2 upgrade from source issue




Yes, I did the db upgrade during the upgrade process. 
Pabitra




From: ross at servercode.co.uk
Date: Tue, 6 May 2014 22:11:05 +0100
To: ckan-dev at lists.okfn.org
Subject: Re: [ckan-dev] CKAN 2.2 upgrade from source issue

Did you remember to do paster db upgrade during your upgrade? 
Ross 
On 6 May 2014, at 21:53, Pabitra Dash <pkdash_reena at hotmail.com> wrote:





This error got fixed when I changed the __init__.py file for the stats extension to include the namespace declaration. Now I am getting a different error when it is trying load the home page:
AttributeError: 'NoneType" object has no attribute 'isoformat'
It is coming from the package_dictize module code line:
result_dict['metadata_modified'] = pk.metadata_modified.isoformat()
Pabitra



From: pkdash_reena at hotmail.com
To: ckan-dev at lists.okfn.org
Date: Tue, 6 May 2014 13:54:49 -0500
Subject: [ckan-dev] CKAN 2.2 upgrade from source issue




Hi All,
I did an upgrade from source on my dev machine from 2.1 to 2.2. When I run ckan I get the following error:
File
"/usr/lib/ckan/iutah/local/lib/python2.7/site-packages/pkg_resources.py",
line 2093, in load

    raise ImportError("%r has no %r attribute" %
(entry, attr))

ImportError: <module 'ckan.config.middleware' from
'/usr/lib/ckan/iutah/local/lib/python2.7/site-packages/ckan/config/middleware.pyc'>
has no 'ckan_auth_tkt_make_app' attribute



Pabitra

Utah State University, UT, USA 		 	   		  

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev 		 	   		  
_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev 		 	   		  

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140506/c832358a/attachment-0003.html>


More information about the ckan-dev mailing list