Bug 448849 - Online Maps not displaying
Summary: Online Maps not displaying
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: xastir
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lucian Langa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-29 02:21 UTC by eric
Modified: 2008-08-10 14:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-10 14:02:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
My .xastir folder (194.17 KB, application/x-gzip)
2008-05-31 18:03 UTC, eric
no flags Details

Description eric 2008-05-29 02:21:26 UTC
Description of problem: Xastir not showing online maps.


Version-Release number of selected component (if applicable): 1.9.2-5.fc9 


How reproducible: Always


Steps to Reproduce:
1. Start Xastir
2. Select one of the online maps
  
Actual results: Maps do not show


Expected results: Maps should be downloaded and displayed.


Additional info: This is what I get when I start Xastir from the CLI:

[christensene@localhost ~]$ xastir &
[1] 6591
[christensene@localhost ~]$ 

Built-in map types:
      gnis   USGS GNIS Datapoints
       map   APRSdos Maps
       map   WinAPRS/MacAPRS/X-APRS Maps
       pdb   PocketAPRS Maps

Support for these additional map types has been compiled in: 
       shp   ESRI Shapefile Maps (Shapelib library)
festival_client: connect to server failed
SayText: Couldn't open socket to Festival
Indexing maps...
Finished indexing maps
*** Reading WX Alert log files
*** Done with WX Alert log files
XPM and/or ImageMagick support have not been compiled in.

Also, when I installed the package it didn't appear to have any dependancies.

Comment 1 Lucian Langa 2008-05-29 05:25:19 UTC
Hello Eric,

I need a few infos:

$ rpm -qi xastir
$ which xastir
$ rpm -qf (result from which)
$ ldd (result from which)


Comment 2 eric 2008-05-29 11:04:13 UTC
[christensene@eric ~]$ rpm -qi xastir
Name        : xastir                       Relocations: (not relocatable)
Version     : 1.9.2                             Vendor: Fedora Project
Release     : 5.fc9                         Build Date: Sun 18 May 2008 12:33:52
PM EDT
Install Date: Thu 22 May 2008 07:57:15 PM EDT      Build Host:
xenbuilder4.fedora.phx.redhat.com
Group       : Applications/Internet         Source RPM: xastir-1.9.2-5.fc9.src.rpm
Size        : 3991287                          License: GPLv2
Signature   : DSA/SHA1, Mon 19 May 2008 01:57:56 PM EDT, Key ID b44269d04f2a6fd2
Packager    : Fedora Project
URL         : http://www.xastir.org
Summary     : Amateur Station Tracking and Reporting system for amateur radio
Description :
Xastir is a graphical application that interfaces HAM radio
and internet access to realtime mapping software.

Install XASTIR if you are interested in APRS(tm) and HAM radio
software.
[christensene@eric ~]$ which xastir
/usr/bin/xastir
[christensene@eric ~]$ rpm -qf /usr/bin/xastir
xastir-1.9.2-5.fc9.i386
[christensene@eric ~]$ ldd /usr/bin/xastir
	linux-gate.so.1 =>  (0x00110000)
	libWand.so.10 => /usr/lib/libWand.so.10 (0x0095b000)
	libMagick.so.10 => /usr/lib/libMagick.so.10 (0x00111000)
	libXm.so.2 => /usr/lib/libXm.so.2 (0x0031b000)
	libXt.so.6 => /usr/lib/libXt.so.6 (0x02427000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00ad1000)
	librt.so.1 => /lib/librt.so.1 (0x00a54000)
	libXp.so.6 => /usr/lib/libXp.so.6 (0x0092e000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00be1000)
	libm.so.6 => /lib/libm.so.6 (0x008f7000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x0071c000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x006bf000)
	libshp.so.1 => /usr/lib/libshp.so.1 (0x00922000)
	libpcre.so.0 => /lib/libpcre.so.0 (0x04210000)
	libproj.so.0 => /usr/lib/libproj.so.0 (0x00a60000)
	libtiff.so.3 => /usr/lib/libtiff.so.3 (0x022b3000)
	libax25.so.0 => /usr/lib/libax25.so.0 (0x00a27000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x07ab5000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00940000)
	libc.so.6 => /lib/libc.so.6 (0x00785000)
	liblcms.so.1 => /usr/lib/liblcms.so.1 (0x02541000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x006db000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00cad000)
	libbz2.so.1 => /lib/libbz2.so.1 (0x0222f000)
	libz.so.1 => /lib/libz.so.1 (0x00a3e000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00c1c000)
	libdl.so.2 => /lib/libdl.so.2 (0x008f0000)
	libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00aaa000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00aae000)
	/lib/ld-linux.so.2 (0x00765000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00acc000)
	libexpat.so.1 => /lib/libexpat.so.1 (0x00bf3000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00aa2000)
[christensene@eric ~]$ 


Comment 3 Lucian Langa 2008-05-29 12:32:29 UTC
Is this the same machine as the previous ?
If so could you invoke xastir from command line like this:

$ /usr/bin/xastir

on the above machine [christensene@eric]

and paste me the output

Comment 4 eric 2008-05-29 12:39:12 UTC
[christensene@eric ~]$ /usr/bin/xastir


Built-in map types:
      gnis   USGS GNIS Datapoints
       map   APRSdos Maps
       map   WinAPRS/MacAPRS/X-APRS Maps
       pdb   PocketAPRS Maps

Support for these additional map types has been compiled in: 
       geo   Image Map (ImageMagick/GraphicsMagick library, many formats allowed)
       geo   URL (Internet maps via wget)
       shp   ESRI Shapefile Maps (Shapelib library)
festival_client: connect to server failed
SayText: Couldn't open socket to Festival
*** Reading WX Alert log files
*** Done with WX Alert log files


Also, see the original entry.

Comment 5 Lucian Langa 2008-05-29 13:14:07 UTC
Allright,
this clearly means you have 2 xastirs installed, this is not good.

paste plz

$ whereis xastir


also using /usr/bin/xastir everything works as expected ?

Comment 6 eric 2008-05-29 13:18:52 UTC
[christensene@eric ~]$ whereis xastir
xastir: /usr/bin/xastir /usr/share/xastir /usr/share/man/man1/xastir.1.gz


No online maps working under /usr/bin/xastir.  I'll remove all and reinstall.

Comment 7 Lucian Langa 2008-05-29 13:59:02 UTC
Allright so summing things up.
You have xastir installed under /usr/bin/xastir

from comment #4

> Support for these additional map types has been compiled in: 
>        geo   Image Map (ImageMagick/GraphicsMagick library, many formats allowed)
>        geo   URL (Internet maps via wget)

support for Imagemagick is ok
support for wget is ok

however it appears no online maps is working for you:

please test is using

$ /usr/bin/xastir -v 2

and report it back here
thanks.






Comment 8 eric 2008-05-29 14:06:19 UTC
Okay, this is strange...  I cleaned out my xastir install, removed everything,
and ran a whereis and got nothing.  I then install the package and I'm seeing
xastir in /usr/bin/xastir /usr/share/xastir.  See below:


[christensene@eric ~]$ whereis xastir
xastir:
[christensene@eric ~]$ sudo yum install xastir
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * updates: mirror.umoss.org
 * fedora: mirror.umoss.org
 * livna: mirrors.tummy.com
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package xastir.i386 0:1.9.2-5.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 xastir                  i386       1.9.2-5.fc9      updates           1.3 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): xastir-1.9.2-5.fc9.i386.rpm                                             
                                                                             |
1.3 MB     00:04     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : xastir                                            [1/1] 

Installed: xastir.i386 0:1.9.2-5.fc9
Complete!
[christensene@eric ~]$ whereis xastir
xastir: /usr/bin/xastir /usr/share/xastir /usr/share/man/man1/xastir.1.gz


Comment 9 eric 2008-05-29 14:09:17 UTC
(In reply to comment #7)
Still not getting online maps.

 
[christensene@eric ~]$ /usr/bin/xastir -v 2
debug level 2


Built-in map types:
      gnis   USGS GNIS Datapoints
       map   APRSdos Maps
       map   WinAPRS/MacAPRS/X-APRS Maps
       pdb   PocketAPRS Maps

Support for these additional map types has been compiled in: 
       geo   Image Map (ImageMagick/GraphicsMagick library, many formats allowed)
       geo   URL (Internet maps via wget)
       shp   ESRI Shapefile Maps (Shapelib library)
festival_client: connect to server failed
SayText: Couldn't open socket to Festival
*** Reading WX Alert log files
fill_in_new_alert_entries start
fill_in_new_alert_entries end
*** Done with WX Alert log files
Port Available 0
Opening a Network stream
IP Address: 165.91.140.47
Creating new thread
net_connect_thread start
We have a socket to use
after htons
after setsockopt
calling connect(), port: 14580
10
connect result was: 0
net_connect_thread():Net up, port 0
net_connect_thread terminating itself
9
Net ok: 1, port 0
*** net_init is returning a 1 ***
CMD:user W4OTN pass 9602 vers XASTIR 1.9.2 filter m/1000

*** add_device: ok: 1 ***
Start port 0 threads
*** Startup of read/write threads for port 0 ***
Port 0 read start
Port 0 write start
End port 0 threads
Port Available 3
Opening a Network stream
IP Address: 165.91.140.17
Creating new thread
net_connect_thread start
We have a socket to use
after htons
after setsockopt
calling connect(), port: 30001
10
connect result was: 0
net_connect_thread():Net up, port 3
net_connect_thread terminating itself
10
Net ok: 1, port 3
*** net_init is returning a 1 ***
CMD:user W4OTN pass -1 vers XASTIR 1.9.2 

*** add_device: ok: 1 ***
Start port 3 threads
*** Startup of read/write threads for port 3 ***
Port 3 read start
Port 3 write start
End port 3 threads
Checking for expired alerts...
alert_display_request
CMD:W4OTN>APX192,TCPIP*:=/;chP;.V?-{<CXASTIR-Linux
>X:0<W4OTN>APX192,TCPIP*:=/;chP;.V?-{<CXASTIR-Linux
CMD:

Group  0: APX192
Group  1: W4OTN
Group  2: XASTIR

(all below here was station processing)


Comment 10 Lucian Langa 2008-05-29 14:23:33 UTC
can you temporary move away .xastir directory from your home or rename it
and then repost all.


Comment 11 eric 2008-05-29 14:40:57 UTC
(In reply to comment #10)
Okay, so I'm lost now.  It works perfectly now.  What would be in the .xastir
folder that would be holding me back?  There are some people on the Xastir
mailing list that were having the same problem and I'd like to know exactly what
to tell them.

[christensene@eric ~]$ /usr/bin/xastir -v 2
debug level 2
Making user dir
Making user config dir
Making user data dir
Making user log dir
Making user tracklogs dir
Making user tmp dir
Making user gps dir
Making map_cache dir


Built-in map types:
      gnis   USGS GNIS Datapoints
       map   APRSdos Maps
       map   WinAPRS/MacAPRS/X-APRS Maps
       pdb   PocketAPRS Maps

Support for these additional map types has been compiled in: 
       geo   Image Map (ImageMagick/GraphicsMagick library, many formats allowed)
       geo   URL (Internet maps via wget)
       shp   ESRI Shapefile Maps (Shapelib library)
Making user /home/christensene/.xastir/config/xastir.cnf file
festival_client: connect to server failed
SayText: Couldn't open socket to Festival
Indexing maps...
draw_geo_image_map:sscanf parsing error
draw_geo_image_map:sscanf parsing error
draw_geo_image_map:sscanf parsing error
draw_geo_image_map:sscanf parsing error
Finished indexing maps
*** Reading WX Alert log files
fill_in_new_alert_entries start
fill_in_new_alert_entries end
*** Done with WX Alert log files
Checking for expired alerts...
convert_from_xastir_coordinates:X out-of-range (too low):4263101696
convert_from_xastir_coordinates:X out-of-range (too high):161465600
alert_display_request
alert_display_request
alert_display_request
alert_display_request
/usr/bin/wget --server-response --tries=1 --timeout=120
--output-document=/home/christensene/.xastir/tmp/map.gif
'http://tiger.census.gov/cgi-bin/mapper/map.gif?&off=GRID&on=counties&on=CITIES&on=places&on=majroads&on=railroad&off=states&on=interstate&on=ushwy&on=statehwy&on=water&on=shorelin&on=miscell&lat=37.232417&lon=-76.663583&wid=2.564861&ht=1.456000&iwd=590&iht=420'
2> /dev/null
alert_display_request
/usr/bin/wget --server-response --tries=1 --timeout=120
--output-document=/home/christensene/.xastir/tmp/map.gif
'http://tiger.census.gov/cgi-bin/mapper/map.gif?&off=GRID&on=counties&on=CITIES&on=places&on=majroads&on=railroad&off=states&on=interstate&on=ushwy&on=statehwy&on=water&on=shorelin&on=miscell&lat=37.232417&lon=-76.663583&wid=2.564861&ht=1.456000&iwd=590&iht=420'
2> /dev/null
alert_display_request
alert_display_request




Comment 12 Lucian Langa 2008-05-29 14:53:41 UTC
hard to tell without seeing the actual files. care to compress the folder and
sent it over ? please use my email address, in order not to leak any callsigns
orther stuff.

meanwhile you can probably post an quick dirty solution to drop or rename
current .xastir dir.


Comment 13 Lucian Langa 2008-05-31 13:02:51 UTC
Eric, could you provide your .xastir directory before the move.
THis will help me reproduce your problem, and hopefully close this bug.

Comment 14 eric 2008-05-31 18:03:00 UTC
Created attachment 307288 [details]
My .xastir folder

Comment 15 eric 2008-05-31 18:03:56 UTC
See new attachment.

Comment 16 Lucian Langa 2008-08-01 17:14:42 UTC
Sorry for late reply but I am unable to reproduce this based the directory you
provided.
Copying this directory over my current install will not render maps but as soon
as I go to Map -> Map Cooser, select Online/tigermap.geo -> Properties, set
Filled, Automaps, USGS DRG to yes will result in tigermap rendered corectly,
which leads me to think there was a misconfiguration in your home dir.
Please try if you can reproduce this once again, if not I will close this bug as
NEXTRELEASE.
Thanks.



Note You need to log in before you can comment on or make changes to this bug.