- *sorted(…) results in invalid syntax
print('{} = '.format(f), end=' ')
gives invalid syntax (line 231, kicost.py) on th e"=" symbol for end => replaced withprint '{} = '.format(f),
from urllib.parse import quote_plus as urlquote
ImportError: No module named parse
Replace with
try:
from urllib.parse import quote_plus as urlquote
except ImportError:
from urllib import quote_plus as urlquote
from .dist_local_template import dist_local_templates
replace with
from .dist_local_template import dist_local_template
-
kicost_gui.py
from .distributors import init_distributor_dic
-> commented
from .kicost_gui import *
etc. as I am not using the gui.
dist_list.remove(d) ValueError: list.remove(x): x not in list
I had an invalid distributor in the exception list - I added a try: except: pass arround the remove.
File "kicost.py", line 215, in kicost dist_local_template.query_part_info(parts, distributor_dict, currency) TypeError: unbound method query_part_info() must be called with dist_local_template instance as first argument (got list instance instead)
Stuck here.
Moved to python3:
if len(octopart_query) == OCTOPART_MAX_PARTBYQUERY:
NameError: name 'OCTOPART_MAX_PARTBYQUERY' is not defined
My workaround: Added OCTOPART_MAX_PARTBYQUERY = 16
to head.
partinfo_kitspace.py", line 285, in get_part_info
results = dist_octopart.query(query, apiKey)
NameError: name 'dist_octopart' is not defined
-> Stuck here (no “def dist_octopart” found)
Final solution
Rolled back to git checkout b567f40
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (15 by maintainers)
Top GitHub Comments
I think that the two horizontal bars are a good suggestion of the other currency symbols - there is no need to overload the logo/icon. I only now understand the suggestion of the € in the flat logo - I think this can be reminded in the same way by having a darker border/background to represent the € symbol.
Hi
I made some time to work on the logo.
These are the 24x24 and 512x512 versions. I think that the 24x24 version is acceptable.
This is the SVG in a ZIP file: Kicost_Dime.zip