bugXlog - Bugs: bug #27302, Qrz lookup fails

 
 

bug #27302: Qrz lookup fails

Submitter:  Joop Stakenborg <pa4tu>
Submitted:  Sat 22 Aug 2009 07:58:40 PM UTC
   
 
Category:  General Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  pa4tu
Open/Closed:  Closed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 20 Nov 2009 03:00:59 PM UTC, comment #4: 

Thanks for the quick reply. I did not notice the option in
Settings->Preferences->Info->Lookup (4th subdivision down from the top), but there it is! Plus, if this value is changed, the configuration file ~/.xlog/xlog.cfg is updated with the new value, so existing users do not have to use a word processor on that file.
Thanks again!

K3FSV <cecst>
Fri 20 Nov 2009 08:18:27 AM UTC, comment #3: 

Thanks, will add it to the next release.

I don't consider this bug critical, as the qrz lookup URL can be changed in the preferences dialog

Joop Stakenborg <pa4tu>
Fri 20 Nov 2009 03:44:54 AM UTC, comment #2: 

The fix to this has 2 parts, because the source code file initializes the user's configuration file only when that file does not exist, and does not change it after that.  Therefore,
users who are already running xlog will have to update their
config files by hand (see part 2 below). The source code fix will
create the right url string for new users.

Part 1: the source code fix in src/cfg.c:
diff  cfg.c cfg.c.new
223c223
< preferences.openurl = g_strdup ("http://www.qrz.com/<call>");
---

> preferences.openurl = g_strdup ("http://www.qrz.com/db/<call>");

356c356
< preferences.openurl = g_strdup ("http://www.qrz.com/<call>");
---

> preferences.openurl = g_strdup ("http://www.qrz.com/db/<call>");


Part 2: the existing user fix. In ~/.xlog/xlog.cfg: search for
openurl=http://www.qrz.com/<call>
and replace with
openurl=http://www.qrz.com/db/<call>

Let me know if these don't fix the problem for new and for existing users.

K3FSV <cecst>
Tue 13 Oct 2009 08:31:41 PM UTC, comment #1: 

I believe that qrz.com recently made a change that now REQUIRES "/db" to be inserted before <callsign> when using their site/database for an Internet look-up, that is, it now should be:

http://www.qrz.com/db/<callsign>

in lieu of:

http://www.qrz.com/<callsign>

73 . .

Anonymous
Sat 22 Aug 2009 07:58:40 PM UTC, original submission:  

Pierfrancesco:

Qrz lookup doesn't work for me, although could be a side effect of being in a chroot (and not having a browser in there).

xlog used the xdg-open command, which is part of the xdg-utils package. However, there is no check whether this command is available, I will try to add some feedback in the next version....

Joop Stakenborg <pa4tu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cecst (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-05 pa4tu StatusNone Fixed
        Assigned toNone pa4tu
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code