Closed tinoest closed 3 years ago
After updating to the current master version, I have the same on my end - the process I get
# Getting part data from KitSpace...
Starting new HTTPS connection (1): dev-partinfo.kitspace.org:443
https://dev-partinfo.kitspace.org:443 "POST /graphql HTTP/1.1" 504 192
Progress: 0%| | 0/12 [01:00<?, ?part/s]Traceback (most recent call last):
File "/usr/local/bin/kicost", line 33, in <module>
sys.exit(load_entry_point('kicost==1.1.5', 'console_scripts', 'kicost')())
File "/usr/local/lib/python3.8/site-packages/kicost/__main__.py", line 318, in main
kicost(in_file=args.input, eda_name=args.eda,
File "/usr/local/lib/python3.8/site-packages/kicost/kicost.py", line 251, in kicost
api_partinfo_kitspace.query_part_info(parts, distributor_dict, currency)
File "/usr/local/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 369, in query_part_info
get_part_info(queries[slc], query_parts[slc], query_part_stock_code[slc])
File "/usr/local/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 214, in get_part_info
results = api_partinfo_kitspace.query(query, distributors)
File "/usr/local/lib/python3.8/site-packages/kicost/distributors/api_partinfo_kitspace.py", line 151, in query
raise Exception('One of the internal Kitspace services may experiencing problems. Contact the Kitspace support.')
Exception: One of the internal Kitspace services may experiencing problems. Contact the Kitspace support.
Progress: 0%| | 0/12 [01:00<?, ?part/s]
I am able to get BOMs without prices using --no_price
as an option.
I have the same issue and get no response while pinging dev-partinfo.kitspace.org. Kitspace says they're in a "closed beta phase" for their Bom-Builder. Did they take the API offline?
partinfo.kitspace.org is pingable - maybe we need to remove the "dev-" part!
Well, that worked!
Just following the discussion. Please, test the last code version on Git.
@hidogjr Updated several times to the last code version before, but this time it is fine!
There was several updates from @set-soft to pass on all automated tests and better internal structures.
I need some revision and tests before release at PyPI.
test.csv.zip
I am not sure if this is an issue with my end or kitspace, it used to work when I last tried it but that was over a year ago now.
I am getting a 504 error when attempting to get the prices for the attached csv BoM. If anyone could help it would be much appreciated please see the debug output below.
kicost 1.1.4