[ckan-dev] CKAN Site/Dataset Usage extension?

Marco Combetto marcomb at hotmail.com
Tue Jan 27 07:31:23 UTC 2015


Thanks. I tried also lower-case ("site-usage"), as it is visible in the screenshot, but I get always a 404 error
It seems that the "/site-usage" route isn't mapped inside my CKAN, after the extension install.Where are stored the CKAN routes? I would like to see them in my actual configurationIs there a way to see all CKAN routes configured?
Btw I get error too using the options "all" and "2013-03-20" of the command$ paster loadanalytics latest --config=../ckan/development.iniIt works only using "latest". 
The error I get isAttributeError: 'DownloadAnalytics' object has no attribute 'all_'  from the /ga_report/command.py

> From: maxious at gmail.com
> Date: Tue, 27 Jan 2015 12:26:28 +1100
> To: ckan-dev at lists.okfn.org
> Subject: Re: [ckan-dev] CKAN Site/Dataset Usage extension?
> 
> Looks like the CKAN routes are case sensitive;
> http://data.gov.au/Site-usage and http://data.gov.au/Dataset = 404
> error.
> 
> Try lowercase "/site-usage" or "/data/site-usage".
> 
> On Tue, Jan 27, 2015 at 9:45 AM, Marco Combetto <marcomb at hotmail.com> wrote:
> > The error was mentioning before is gone, I don't see error now, but  still I
> > cannot show up the extension on this CKAN 2.2 local instance
> > In the screenshoot you could have a look.
> > Not sure what I could do now..  Any help is welcome
> > Thanks!
> >
> > Marco
> > ________________________________
> > From: marcomb at hotmail.com
> > To: maxious at gmail.com; ckan-dev at lists.okfn.org
> > Subject: RE: [ckan-dev] CKAN Site/Dataset Usage extension?
> > Date: Fri, 23 Jan 2015 14:29:17 +0000
> >
> >
> > Thanks for the hints!
> >
> > In facts I am now facing a template error on genshi loader:
> >
> > "Template: _util.html not found"
> >
> > We are using the Jinja2 (CKAN 2.2), not sure what I have to do to support
> > also a Genshi extension
> > http://docs.ckan.org/en/ckan-2.2/templating.html
> >
> > Not clear how to support in my installation the old templating system. I was
> > supposing was supported out of the box
> > Do I have to copy the genshi template (_util.html) where your extension is?
> >
> > Thanks for about the other extensions.
> > I was too optimistic, I get rid of, I will try later with these others.
> >
> >> From: maxious at gmail.com
> >> Date: Thu, 22 Jan 2015 10:46:12 +1100
> >> Subject: Re: [ckan-dev] CKAN Site/Dataset Usage extension?
> >> To: ckan-dev at lists.okfn.org
> >> CC: marcomb at hotmail.com
> >>
> >> We still use the genshi templates but patched all the routes to be
> >> just /site-usage. So if your site is running on localhost with the
> >> datagovau version, visiting http://localhost:5000/site-usage will
> >> display the viewing area of GA-Report
> >> You have to add a link to that location yourself, we usually put it in
> >> the Statistics area.
> >>
> >> ckanext-viewhelpers and ckanext-dashboard aren't designed for CKAN 2.2
> >> so errors in everything if you try to install and enable them are to
> >> be expected!
> >>
> >> On Wed, Jan 21, 2015 at 10:31 PM, Ross Jones <ross at servercode.co.uk>
> >> wrote:
> >> > Hi Marco,
> >> >
> >> > Unfortunately I don't think I've ever seen those two extensions before,
> >> > or
> >> > know what they do - so I'd be surprised if they were deps for ga-report.
> >> > The setup.py claims it only needs gdata and google-api-python-client.
> >> >
> >> > The routes are set up at
> >> >
> >> > https://github.com/datagovuk/ckanext-ga-report/blob/master/ckanext/ga_report/plugin.py#L37
> >> > and so you should be able to get to them at /data/site-usage although it
> >> > still uses the genshi templates - maybe Alex could explain how he got
> >> > around
> >> > it?
> >> >
> >> > Ross.
> >> >
> >> >
> >> >
> >> > Marco Combetto wrote:
> >> >>
> >> >> Hallo
> >> >>
> >> >> Apologies to asking you again, maybe you have some other hints
> >> >>
> >> >> I was sure that everything was ok, but I just realized now that I
> >> >> missed
> >> >> a required (by GA-Report) extension that is "Viewers-helpers" (the
> >> >> error
> >> >> appears during the GA data import). Everything is OK with the oAuth
> >> >> stuff luckily..
> >> >>
> >> >> I talking about this ckan extension
> >> >> https://github.com/ckan/ckanext-viewhelpers
> >> >>
> >> >> I am trying to install also the CKAN-Dashboard in the meanwhile
> >> >> https://github.com/ckan/ckanext-dashboard
> >> >>
> >> >> I am using CKAN 2.2 in my setup, and I see that maybe the viewers are
> >> >> changing between version 2.2 and 2.3
> >> >> Is there any issue with it? Do I have to upgrade my CKAN?
> >> >>
> >> >> finally I am not sure about where I will see the extension in my CKAN
> >> >> installation..
> >> >>
> >> >> Marco Combetto
> >> >> marcomb at hotmail.com <mailto:marcomb at hotmail.com>
> >> >> Mobile: +39 3316329971
> >> >> www.*linkedin*.com/in/*marco*mb
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> > Date: Mon, 19 Jan 2015 17:04:10 +0000
> >> >> > From: ross at servercode.co.uk
> >> >> > To: ckan-dev at lists.okfn.org
> >> >> > Subject: Re: [ckan-dev] CKAN Site/Dataset Usage extension?
> >> >> >
> >> >> > Hi Marco,
> >> >> >
> >> >> > It's at https://github.com/datagovuk/ckanext-ga-report/
> >> >> >
> >> >> > If you have any problems with the authorization step please log a
> >> >> ticket at the repo (I mention this in advance as it's likely to be the
> >> >> most complicated part of the set up).
> >> >> >
> >> >> > Regards
> >> >> >
> >> >> > Ross
> >> >> >
> >> >> >
> >> >> > Marco Combetto wrote:
> >> >> > > I want to make on may CKAN (Dati.Trentino.it) something similar to
> >> >> the
> >> >> > > Site Usage section of Data.Gov.Uk
> >> >> > >
> >> >> > > http://data.gov.uk/data/site-usage#totals
> >> >> > > and
> >> >> > > http://data.gov.uk/data/site-usage/dataset
> >> >> > >
> >> >> > > I like the possibility to view the statistics and also to download
> >> >> > > it
> >> >> > > in CSV format
> >> >> > > Is it a CKAN extension reusable? Where can I find it?
> >> >> > > I see that is much more advanced than the CKAN-Analytics extension
> >> >> > > available on GIT hib
> >> >> > >
> >> >> > > Any other richful and easy solution to suggest?
> >> >> > >
> >> >> > > Thanks!
> >> >> > >
> >> >> > > Marco Combetto
> >> >> > > marcomb at hotmail.com <mailto:marcomb at hotmail.com>
> >> >> > > Mobile: +39 3316329971
> >> >> > > www.*linkedin*.com/in/*marco*mb
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > _______________________________________________
> >> >> > > 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
> >
> _______________________________________________
> 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/20150127/7b7431f1/attachment-0003.html>


More information about the ckan-dev mailing list