[ckan-dev] Harvestor extension for CKAN

Toby Dacre toby.okfn at gmail.com
Wed Jan 16 13:37:45 UTC 2013


Looking at this again

I think the problem is that you are calling h.url_for_static('/',
qualified=True) outside of a request.  Not seeing the code this is a guess
but really h.url_for_static(...) should be in a template.  can you refactor
your code to use the h.url_for_static() call within a template.

If you have the code somewhere I could view it I could take a look quick.
Otherwise h.url_for_static('/', qualified=True, host=XXXX) should work but
is a bit nasty


On 16 January 2013 12:20, Adrià Mercader <adria.mercader at okfn.org> wrote:

> Hi Lasse,
>
> We would love to help, but I've run out of ideas. I tried on my local
> machine to harvest http://ckan.odaa.dk with ckan 1.8 and
> ckanext-harvest master and it worked fine. 12 datasets were imported,
> including the ones with resources like
> fredede-bygninger-og-fortidsminder.
>
> I strongly believe that there is an issue with your particular setup.
>
> Are you using any other extensions, specially custom ones?
> Can you post your ini file online with the security details edited off?
> I see from your pip freeze that there is a lot of stuff that is non
> CKAN related, like Twisted or pycurl which may be affecting things.
> Which instructions are you using for installing CKAN?
>
>
> Adrià
>
>
> On 16 January 2013 10:24, Lasse Vestergaard <ibbernik at gmail.com> wrote:
> > Hi again CKAN developers (primarily Adriá).
> >
> > I'm sorry that I push on this issue with the harvester extension, but I'm
> > working on a project for a municipality in Denmark, and I have to give a
> > talk about some of the things I'm working on. The harvester extension
> is, in
> > my opinion, important and extremely relevant and therefor, I would like
> to
> > be able to talk about this (I need to try it out to be able to give a
> proper
> > explanation of it's capabilities). I hope you can find time to help me
> out
> > on the issue.
> >
> > Best regards
> >
> > Lasse Vestergaard
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130116/753d0bb5/attachment-0001.html>


More information about the ckan-dev mailing list