{"action":"created","issue":{"url":"https://api.github.com/repos/xesscorp/KiCost/issues/323","repository_url":"https://api.github.com/repos/xesscorp/KiCost","labels_url":"https://api.github.com/repos/xesscorp/KiCost/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/xesscorp/KiCost/issues/323/comments","events_url":"https://api.github.com/repos/xesscorp/KiCost/issues/323/events","html_url":"https://github.com/xesscorp/KiCost/issues/323","id":365170327,"node_id":"MDU6SXNzdWUzNjUxNzAzMjc=","number":323,"title":"KiCost 0.1.47 fails to find parts","user":{"login":"nickoe","id":352202,"node_id":"MDQ6VXNlcjM1MjIwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/352202?v=4","gravatar_id":"","url":"https://api.github.com/users/nickoe","html_url":"https://github.com/nickoe","followers_url":"https://api.github.com/users/nickoe/followers","following_url":"https://api.github.com/users/nickoe/following{/other_user}","gists_url":"https://api.github.com/users/nickoe/gists{/gist_id}","starred_url":"https://api.github.com/users/nickoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickoe/subscriptions","organizations_url":"https://api.github.com/users/nickoe/orgs","repos_url":"https://api.github.com/users/nickoe/repos","events_url":"https://api.github.com/users/nickoe/events{/privacy}","received_events_url":"https://api.github.com/users/nickoe/received_events","type":"User","site_admin":false},"labels":[{"id":231411909,"node_id":"MDU6TGFiZWwyMzE0MTE5MDk=","url":"https://api.github.com/repos/xesscorp/KiCost/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-29T21:59:16Z","updated_at":"2018-09-30T07:53:43Z","closed_at":"2018-09-30T07:53:43Z","author_association":"NONE","body":"```\r\n$ kicost --version\r\n/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch\r\n  warnings.warn(\"wxPython/wxWidgets release number mismatch\")\r\nKiCost 0.1.47\r\n```\r\nI am aware of the wxpython warning, but I don't think this should affect this bug as the GUI is not supposed to be open. I installed from pip on Archlinux.\r\n\r\n#### Issue / Problem report\r\n```\r\nkicost -i stmtest.xml --overwrite --include digikey mouser -d 2\r\n\r\n<snip>\r\n\r\nhttps://www.digikey.com:443 \"GET /products/en?keywords=DP83848CVVX%2FNOPB HTTP/1.1\" 200 None                                                                                                                                                   \r\nhttps://www.digikey.com:443 \"GET /product-detail/en/texas-instruments/DP83848CVVX-NOPB/DP83848CVVX-NOPBTR-ND/1870793 HTTP/1.1\" 200 None                                                                                                        \r\nPart ['U10'] not found at digikey.  \r\n\r\n<snip>\r\n\r\ncollapsed_refs =  'U10'\r\nfields =  {u'datasheet': 'http://www.ti.com/lit/ds/symlink/dp83848c.pdf',\r\n u'footprint': 'Package_QFP:LQFP-48_7x7mm_P0.5mm',\r\n u'libpart': 'Interface_Ethernet:DP83848C',\r\n u'manf#': u'DP83848CVVX/NOPB',\r\n 'manf#_qty': '1',\r\n 'value': 'DP83848C'}\r\ninfo_dist =  {u'digikey': {}, u'mouser': {}}\r\nmanfcat_codes =  {u'digikey#': set([None]),\r\n u'local_template#': set([None]),\r\n 'manf#': set([u'DP83848CVVX/NOPB']),\r\n u'mouser#': set([None])}\r\npart_num =  {u'digikey': u'', u'mouser': u''}\r\nprice_tiers =  {u'digikey': {}, u'mouser': {}}\r\nqty_avail =  {u'digikey': None, u'mouser': None}\r\nrefs =  ['U10']\r\nurl =  {u'digikey': '', u'mouser': ''}\r\n\r\n<snip>\r\n\r\nException KeyError: KeyError(<weakref at 0x7fc805045050; to 'tqdm' at 0x7fc803aecb10>,) in <bound method tqdm.__del__ of Progress: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 106/106 [01:21<00:00,  4.24s/part]> ignored\r\n```\r\n\r\nWhen I use that URL and search directly on digikey in a browser I do get the part with various packaging options.\r\n\r\nhttps://www.digikey.dk/products/en?keywords=DP83848CVVX%2FNOPB\r\n\r\nI have attached the bom and it was created with the 5.0 branch of kicad specifically Version: (5.0.1-dev-152-gf591f8741), release build\r\n\r\n#### Doubts\r\nThat exection in the end seems suspicous.\r\n\r\nThank you.\r\n"},"comment":{"url":"https://api.github.com/repos/xesscorp/KiCost/issues/comments/425702291","html_url":"https://github.com/xesscorp/KiCost/issues/323#issuecomment-425702291","issue_url":"https://api.github.com/repos/xesscorp/KiCost/issues/323","id":425702291,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTcwMjI5MQ==","user":{"login":"nickoe","id":352202,"node_id":"MDQ6VXNlcjM1MjIwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/352202?v=4","gravatar_id":"","url":"https://api.github.com/users/nickoe","html_url":"https://github.com/nickoe","followers_url":"https://api.github.com/users/nickoe/followers","following_url":"https://api.github.com/users/nickoe/following{/other_user}","gists_url":"https://api.github.com/users/nickoe/gists{/gist_id}","starred_url":"https://api.github.com/users/nickoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickoe/subscriptions","organizations_url":"https://api.github.com/users/nickoe/orgs","repos_url":"https://api.github.com/users/nickoe/repos","events_url":"https://api.github.com/users/nickoe/events{/privacy}","received_events_url":"https://api.github.com/users/nickoe/received_events","type":"User","site_admin":false},"created_at":"2018-09-30T07:53:43Z","updated_at":"2018-09-30T07:53:43Z","author_association":"NONE","body":"@hildogjr I am not quite sure what to make of this.\r\n\r\nBut I tried to install the octopart branch and that seems to work.\r\n`pip install -U git+https://github.com/xesscorp/KiCost.git@octopart --user`"}}
{"actor":{"display_login":"nickoe"}}