New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run kicost on windows #339
Comments
@xesscorp, it is needed a Windows user help here. |
Check this answer |
Hi, I am facing the same issue. Tried looking on https://stackoverflow.com/questions/11234843/how-to-set-python-default-locale-on-windows ;but i am not getting it. Please guide me. |
What system language to be set for overcoming the error? I changed US(English) to UK(English) but the error is same. |
On KiCad forum there is this thread |
Ohh, If possible can you test it on my windows system via teamviewer? |
I just ran the latest version of KiCost on my Win7 PC and it completes successfully on the one example I tried. The Digikey, Mouser and Farnell catalog numbers and available quantities were populated. However, for Digikey and Mouser, all the reported prices were $0.00, and for Farnell all the prices were left blank. My question: What needs to be done to issue a new, working release of KiCost? I only see one bug in the list of issues, but it looks like there's more to be fixed than that. |
@xesscorp, could you indicated me the XML used? (if in the examples) For a functional release, despite my road map , it is just missing fix the Windows issues. All others are new functionalities and enhancements. |
I tried it with 300-010.xml. I'll try some others and see what happens. |
I tried it with all my test cases. When KiCost completes successfully, the parts all have quantities, catalog #'s, and links to their pages at the distributor website. But their costs are always either $0.00 (for Digikey & Mouser), or completely blank (for Farnell). A number of my test cases fail to complete. Usually there's an exception for a local variable named I'll check some of these and see if I can find the errors. |
The API can return the currency value in |
The problem with the $0.00 prices was caused by the spreadsheet: I had to type a quantity into the "Board Qty" field and hit return and then all the prices for Digikey and Mouser showed up. The Farnell prices are still missing and aren't being provided by kitspace, but all the other part data is there. I'll have to check that further and also look at the causes of the exceptions. |
I see that like me, you are using LibreOffice. By default it not evaluate the Excel formulas (with xlsx file) in the startup. I discovered this in a forum and can be change in the options. |
You're right! It took me forever to find that option even after you told me about it. |
Something to mention: I just leave the available distributors in PartInfo API |
OK, I have all the errors fixed on my test suite. Now I can start on this problem with the GUI version. |
Would it be possible to link the forum post or to post the way to enable it? |
Thx 😄 |
I've checked in the changes. KiCost now works with both Python 2 & 3 on Windows. |
Nice, @xesscorp . Please, re-add future as requirement in |
Done. |
Following the instructions here for windows: https://xesscorp.github.io/KiCost/docs/_build/singlehtml/index.html
I installed ActivePython-3.5.4.3504-win64-x64-404899.exe then opened a powershell and installed kicost :
Then running it I got the error:
Which I did, and now running kicost returns the following:
Am I missing something?
The text was updated successfully, but these errors were encountered: