[Xastir] libdb error?
Lee Bengston
lee.bengston at gmail.com
Sat Feb 23 15:27:15 EST 2013
On Mon, Jan 21, 2013 at 3:45 PM, Tom Russo <russo at bogodyn.org> wrote:
> On Mon, Jan 21, 2013 at 12:26:55PM -0800, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
>> On Fri, 18 Jan 2013, Curt, WE7U wrote:
>> What's the simplest test I can use to determine whether the libdb-5.x caching is working?
>
> Select an on-line map that is of a type that uses caching, such as terraserver.
> When you click "Apply" see if it downloads a map. Then force it to re-download
> using Maps->Configure->Re-download maps (not from cache). Verify that it
> grabbed a new copy by looking in ~/.xastir/map_cache for recent image files.
> Verify that it actually updated the db file by checking the modification
> time on map_cache.db.
>
> Change the map view using, say, an arrow key. Let it finish, then go back to
> the immediately previous view. Verify that it has used the cached version
> of the map instead of downloading a new copy, by checking the modification
> times on files in ~/.xastir/map_cache.
>
> You should probably also be doing this with debug_level set to 512, which
> enables a bunch of verbose output from the map caching code. A quick glance
> at the code (all I have time for) makes it appear that *most* of the debugging
> output from map_cache.c only happens if various steps fail.
It appears that the non-tiled OSM "cloudemade_998" option uses map
caching, and it works fine with libdb5.1 in Ubuntu 12.10. After
downloading, the "map cached" message appears in the lower left. If I
arrow key over to a previously used section of the map, it indicates
that I am using a cached map. Also if I check the files in
~/.xastir/map_cache, the modified dates are not updated when I use
what is indicated as a cached map. The files in the
~/.xastir/map_cache directory are definitely snapshots of the
cloudmade maps that are in use.
Regards,
Lee - K5DAT
More information about the Xastir
mailing list