Lutzifer / keyboardSwitcher

List, show and switch OSX Keyboard Layouts from the command line.
82 stars 10 forks source link

tried using it but getting an error #1

Closed technovangelist closed 8 years ago

technovangelist commented 8 years ago

> keyboardSwitcher select "Workman-Dead" 2015-12-23 12:22:14.576 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.577 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.579 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.580 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.580 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.580 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.580 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.580 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.580 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.580 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.588 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. 2015-12-23 12:22:14.588 keyboardSwitcher[29853:10912361] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. Failed to set the layout "org.sil.ukelele.keyboardlayout.workman.keylayout.Workman-Dead". Layout "org.sil.ukelele.keyboardlayout.workman.keylayout.Workman-Dead" known, but could not be set: Please add the layout in System Preferences.app > Keyboard > Input Sources to fix this.

Lutzifer commented 8 years ago

Do you have "Workman-Dead" in your Input Sources?

see "Layout "org.sil.ukelele.keyboardlayout.workman.keylayout.Workman-Dead" known, but could not be set: Please add the layout in System Preferences.app > Keyboard > Input Sources to fix this."

Also, what version of OS X are you using it on?

technovangelist commented 8 years ago

I have that and U.S. And that's all I use

Matt Williams

Lutzifer commented 8 years ago

Ok. What version of OSX do you use?

I will further investigate this issue in January.

Am 26.12.2015 um 00:37 schrieb Matt Williams notifications@github.com:

I have that and U.S. And that's all I use

Matt Williams — Reply to this email directly or view it on GitHub.

technovangelist commented 8 years ago

El Capitan

Matt Williams

lgtout commented 8 years ago

Interesting. I'm not using this project, but I have a similar issue when starting groovysh. And I too use Workman.

screenshot_1_1_16__7_19_pm

Lutzifer commented 8 years ago

Thanks for the information, that is an interesting similar issue.

Am 02.01.2016 um 04:21 schrieb julian notifications@github.com:

Interesting. I'm not using this project, but I have a similar issue when starting groovysh

— Reply to this email directly or view it on GitHub.

technovangelist commented 8 years ago

here is what i see: screen shot 2016-01-04 at 5 26 29 pm

technovangelist commented 8 years ago

and keyboardswitcher list gets me:

~ > keyboardSwitcher list
2016-01-04 17:28:39.502 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.503 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.510 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
2016-01-04 17:28:39.511 keyboardSwitcher[52691:24347910] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 7. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.
Available Layouts:
    2-Set Korean
    3-Set Korean
    390 Sebulshik
    ABC
    ABC - AZERTY
    ABC - QWERTZ
    ABC Extended
    Afghan Dari
    Afghan Pashto
    Afghan Uzbek
    Anjal
    Arabic
    Arabic - AZERTY
    Arabic - North Africa
    Arabic - PC
    Arabic - QWERTY
    Armenian - HM QWERTY
    Armenian - Western QWERTY
    Australian
    Austrian
    Azeri
    Bangla
    Bangla - QWERTY
    Belarusian
    Belgian
    Brazilian
    Brazilian - ABNT2
    Brazilian - Pro
    British
    British - PC
    Bulgarian
    Bulgarian - Phonetic
    Canadian English
    Canadian French - CSA
    Cangjie
    Cherokee - Nation
    Cherokee - QWERTY
    Colemak
    Croatian
    Croatian - PC
    Czech
    Czech - QWERTY
    Danish
    Devanagari
    Devanagari - QWERTY
    Dutch
    Dvorak
    Dvorak - Left
    Dvorak - Qwerty \u2318
    Dvorak - Right
    Estonian
    Faroese
    Finnish
    Finnish Extended
    Finnish Sami - PC
    French
    French - Numerical
    French - PC
    Georgian - QWERTY
    German
    GongjinCheong Romaja
    Greek
    Greek Polytonic
    Gujarati
    Gujarati - QWERTY
    Gurmukhi
    Gurmukhi - QWERTY
    Hawaiian
    Hebrew
    Hebrew - PC
    Hebrew - QWERTY
    HNC Romaja
    Hungarian
    Hungarian - QWERTY
    Icelandic
    Inuktitut - Nunavut
    Inuktitut - Nutaaq
    Inuktitut - QWERTY
    Inuktitut Nunavik
    Irish
    Irish Extended
    Italian
    Italian Typewriter
    Jawi - QWERTY
    Kana
    Kannada
    Kannada - QWERTY
    Kazakh
    Khmer
    Kurdish - Sorani
    Latvian
    Lithuanian
    Macedonian
    Malayalam
    Malayalam - QWERTY
    Maltese
    Maori
    Myanmar - QWERTY
    Nepali
    Northern Sami
    Norwegian
    Norwegian Extended
    Norwegian Sami - PC
    Oriya
    Oriya - QWERTY
    Persian
    Persian - ISIRI
    Persian - QWERTY
    Polish
    Polish Pro
    Portuguese
    Romanian
    Romanian - Standard
    Russian
    Russian - PC
    Russian - Phonetic
    Sami - PC
    Serbian
    Serbian - Latin
    Sinhala
    Sinhala - QWERTY
    Slovak
    Slovak - QWERTY
    Slovenian
    Spanish
    Spanish - ISO
    Stroke
    Swedish
    Swedish - Pro
    Swedish Sami - PC
    Swiss French
    Swiss German
    Tamil99
    Telugu
    Telugu - QWERTY
    Thai
    Thai - PattaChote
    Tibetan - Otani
    Tibetan - QWERTY
    Tibetan - Wylie
    Tongan
    Turkish
    Turkish - QWERTY
    Turkish - QWERTY PC
    U.S.
    U.S. International - PC
    Ukrainian
    Ukrainian - PC
    Unicode Hex Input
    Urdu
    Uyghur
    Vietnamese
    Welsh
    Workman
    Workman Extended
    Workman-Dead
    Workman-IO
    Workman-P
    Workman-P Extended
    Wubi Xing
    Zhuyin
    Zhuyin - Eten
Lutzifer commented 8 years ago

So, this was caused by two different Bugs. The "CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line " error is due to a missing semicolon in the workman project, see https://github.com/ojbucao/Workman/pull/27

the issue, that the keyboard was not found was fixed by https://github.com/Lutzifer/keyboardSwitcher/commit/39cae00236dc35faa057ac10e7d871cfde25cb84

lgtout commented 8 years ago

@Lutzifer Thanks for looking into this. I added the missing semicolon locally and that fixed the problem.

technovangelist commented 8 years ago

I also made the change, but now when i do keyboardSwitcher select Workman-Dead i get:

Failed to set the layout "org.sil.ukelele.keyboardlayout.workman.keylayout.Workman-Dead". Layout "org.sil.ukelele.keyboardlayout.workman.keylayout.Workman-Dead" known, but could not be set: Please add the layout in System Preferences.app > Keyboard > Input Sources to fix this.

image

but I already do

technovangelist commented 8 years ago

I changed it using the mac interface and keyboardswitcher get then shows Workman-Dead, but get the same error if i try to set it to Workman-Dead

Lutzifer commented 8 years ago

did you update keyboardSwitcher?

brew update brew upgrade keyboardSwitcher

Am 19.01.2016 um 16:43 schrieb Matt Williams notifications@github.com:

I also made the change, but now when i do keyboardSwitcher select Workman-Dead i get:

Failed to set the layout "org.sil.ukelele.keyboardlayout.workman.keylayout.Workman-Dead". Layout "org.sil.ukelele.keyboardlayout.workman.keylayout.Workman-Dead" known, but could not be set: Please add the layout in System Preferences.app > Keyboard > Input Sources to fix this.

https://cloud.githubusercontent.com/assets/633681/12423426/67e948e0-be99-11e5-8253-540a4dc12b55.png but I already do

— Reply to this email directly or view it on GitHub https://github.com/Lutzifer/keyboardSwitcher/issues/1#issuecomment-172892400.

technovangelist commented 8 years ago

ahhh , no i hadn't. I have now and it works perfectly, thanks so much

Lutzifer commented 8 years ago

glad that it is of use to you 😃

Am 19.01.2016 um 16:46 schrieb Matt Williams notifications@github.com:

ahhh , no i hadn't. I have now and it works perfectly, thanks so much

— Reply to this email directly or view it on GitHub https://github.com/Lutzifer/keyboardSwitcher/issues/1#issuecomment-172893468.