{"action":"reopened","issue":{"url":"https://api.github.com/repos/xesscorp/KiField/issues/22","repository_url":"https://api.github.com/repos/xesscorp/KiField","labels_url":"https://api.github.com/repos/xesscorp/KiField/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/xesscorp/KiField/issues/22/comments","events_url":"https://api.github.com/repos/xesscorp/KiField/issues/22/events","html_url":"https://github.com/xesscorp/KiField/issues/22","id":202380487,"number":22,"title":"issue with non ascii characters","user":{"login":"Gasman2014","id":8401593,"avatar_url":"https://avatars.githubusercontent.com/u/8401593?v=3","gravatar_id":"","url":"https://api.github.com/users/Gasman2014","html_url":"https://github.com/Gasman2014","followers_url":"https://api.github.com/users/Gasman2014/followers","following_url":"https://api.github.com/users/Gasman2014/following{/other_user}","gists_url":"https://api.github.com/users/Gasman2014/gists{/gist_id}","starred_url":"https://api.github.com/users/Gasman2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gasman2014/subscriptions","organizations_url":"https://api.github.com/users/Gasman2014/orgs","repos_url":"https://api.github.com/users/Gasman2014/repos","events_url":"https://api.github.com/users/Gasman2014/events{/privacy}","received_events_url":"https://api.github.com/users/Gasman2014/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-22T12:40:52Z","updated_at":"2017-01-23T17:39:51Z","closed_at":null,"body":"This unfortunately fails to cope with an Ω symbol and fails as follows.\r\n\r\n Lib file is\r\n```\r\nEESchema-LIBRARY Version 2.3\r\nDEF RC0805JR-070RL R 0 0 N Y 1 F N\r\nF0 \"R\" 80 0 50 V V C CNN \"\"\r\nF1 \"RC0805JR-070RL\" 0 0 50 H I L TNN \"\"\r\nF2 \"${KICUSTMOD}/IPC7351-Nominal.pretty/RESC2012X60.kicad_mod\" 0 0 50 H I L TNN \"footprint\"\r\nF3 \"resistor_smd/yageo/eedf25a24562e2e6f379f3772bde2443.pdf\" 0 0 50 H I L TNN \"datasheet\"\r\nF4 \"1485082349267\" 0 0 50 H I L TNN \"key\"\r\nF5 \"RC0805JR-070RL\" 0 0 50 H I L TNN \"man\"\r\nF6 \"Yageo\" 0 0 50 H I L TNN \"manufacturer\"\r\nF7 \"0.00 Ω\" 0 0 50 V V C CNN \"DisplayValue\"\r\nDRAW\r\nS -40 -100 40 100 0 1 10 N\r\nX ~ 1 0 150 50 D 50 50 1 1 P\r\nX ~ 2 0 -150 50 U 50 50 1 1 P\r\nENDDRAW\r\nENDDEF etc\r\n```\r\n\r\nError is \r\n\r\n```\r\n(kifield) [johnpateman@Johns-MBP] KiField $ kifield --extract /Users/johnpateman/Dropbox/Components/library/r0805.lib --insert /Users/johnpateman/Dropbox/Components/RESISTORS.csv -d 7\r\nExtracting fields +[], -[] from files ['/Users/johnpateman/Dropbox/Components/library/r0805.lib'].\r\nExtracting fields from /Users/johnpateman/Dropbox/Components/library/r0805.lib.\r\nExtracting fields [], -[] from part library /Users/johnpateman/Dropbox/Components/library/r0805.lib.\r\nExtracted library part: RC0805JR-071RL prefix R.\r\nExtracted library part: RC0805JR-071RL value RC0805JR-071RL.\r\nExtracted library part: RC0805JR-071RL footprint ${KICUSTMOD}/IPC7351-Nominal.pretty/RESC2012X60.kicad_mod.\r\nExtracted library part: RC0805JR-071RL datasheet resistor_smd/yageo/eedf25a24562e2e6f379f3772bde2443.pdf.\r\nExtracted library part: RC0805JR-071RL key 1485082496735.\r\nExtracted library part: RC0805JR-071RL mpn RC0805JR-071RL.\r\nExtracted library part: RC0805JR-071RL manufacturer Yageo.\r\nTraceback (most recent call last):\r\n  File \"/Users/johnpateman/miniconda3/envs/kifield/bin/kifield\", line 11, in <module>\r\n    load_entry_point('kifield==0.1.4', 'console_scripts', 'kifield')()\r\n  File \"/Users/johnpateman/miniconda3/envs/kifield/lib/python2.7/site-packages/kifield-0.1.4-py2.7.egg/kifield/__main__.py\", line 147, in main\r\n    exc_field_names=exc_fields)\r\n  File \"/Users/johnpateman/miniconda3/envs/kifield/lib/python2.7/site-packages/kifield-0.1.4-py2.7.egg/kifield/kifield.py\", line 998, in kifield\r\n    part_fields_dict = extract_part_fields(extract_filenames, inc_field_names, exc_field_names)\r\n  File \"/Users/johnpateman/miniconda3/envs/kifield/lib/python2.7/site-packages/kifield-0.1.4-py2.7.egg/kifield/kifield.py\", line 574, in extract_part_fields\r\n    f_part_fields_dict = extraction_functions[f_extension](f, inc_field_names, exc_field_names)\r\n  File \"/Users/johnpateman/miniconda3/envs/kifield/lib/python2.7/site-packages/kifield-0.1.4-py2.7.egg/kifield/kifield.py\", line 463, in extract_part_fields_from_lib\r\n    component_name, name, value))\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 5: ordinal not in range(128\r\n```)"}}
{"actor":{"display_login":"Gasman2014"}}