[Taginfo-dev] Questions for a new french instance of taginfo
Sarah Hoffmann
lonvia at denofr.de
Mon Oct 10 09:11:26 BST 2011
Hi,
On Sun, Oct 09, 2011 at 08:25:48PM +0200, Jocelyn Jaubert wrote:
> 1) the sources page at http://taginfo.openstreetmap.fr/sources
> doesn't show anything, even if the sqlite database taginfo-master.db
> seems to contain all necessary information:
I have the same problem on the Swiss instance but so far have been
unsuccessful to track it down. Here is what I found so far:
The problem is that Ruby is convinced that the sources are invisible.
With the following hack in web/lib/ui/search.rb, the sources will become
accessible:
@@ -6,7 +6,7 @@
-<% Source.visible.each do |source| %>
+<% Source.each do |source| %>
In my instance, the directory with the download files is in the wrong
place. (It is at taginfo/../build/download.) There are some hard-coded
directories in the ruby code. I had to add links to the download
directory at taginfo/web/public/download and taginfo/../download to
ensure that the links on the sources page are not dead.
Unfortunately, it did not help with the visible issue.
Sarah
More information about the Taginfo-dev
mailing list