Opened 14 years ago

Last modified 4 years ago

#6546 new enhancement

Keymap -l should be more specific about errors in the layout

Reported by: rq Owned by: nobody
Priority: normal Milestone: R1.1
Component: Applications/Command Line Tools Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I made a Lithuanian layout for myself, and used vim for that purpose. When I tried to load it, I get the following error:

keymap: error when loading the keymap: Bad data

This error message is basically useless. It would be much more helpful if it would actually hint to the line (and preferably the column) in which the error occured.

Per Pulkomandy's suggestion, I'm attaching the keymap file in question.

Attachments (1)

Lithuanian.keymap (17.8 KB ) - added by rq 14 years ago.
The erring keymap

Download all attachments as: .zip

Change History (5)

by rq, 14 years ago

Attachment: Lithuanian.keymap added

The erring keymap

comment:1 by rq, 14 years ago

Note: I found and fixed an obvious error in line 236, but I still get same error. I even tried deleting everything from line 190, and nothing changed – still same error. It's really hard to debug main part of the keymap with no way to see detailed messages...

Version 0, edited 14 years ago by rq (next)

comment:2 by korli, 14 years ago

Which command line do you actually run ?

As of hrev31195, the -l option loads binary keymap files and not source keymap files.

comment:3 by rq, 14 years ago

Right, I used keymap -l, as the header of the file said.

However, trying keymap -s just crashes the app instead of returning any useful debug output.

comment:4 by pulkomandy, 4 years ago

Milestone: R1R1.1
Note: See TracTickets for help on using tickets.