TheDutchCoder / ColorConvert

A Sublime Text 2 plugin that converts CSS colors from hex to rgb and back
MIT License
55 stars 6 forks source link

ValueError: zero length field name in format #9

Closed gloparco closed 10 years ago

gloparco commented 10 years ago

Not sure if this is an issue with this plugin or something else. Everything was working fine, then I think it coincided when I updated to Sublime v2.0.2, Build 2221 (but I'm not sure if that is the impetus). Anyway, when I invoke ColorConvert using Cmd+Shift+C on my Mac, I get the following in Sublime's console:

Traceback (most recent call last): File "./sublimeplugin.py", line 362, in run File "./colorconvert.py", line 280, in run ValueError: zero length field name in format

All other packages and their keyboard mappings seem to be working just fine.

Any help would be appreciated...

TheDutchCoder commented 10 years ago

Hi I can confirm the error, let me look into it!

Edit: it looks like the way it's formatted is not supported by older Python versions. This was changed in someone else's commit, so I'll try to get it back to work again for older versions as well.

TheDutchCoder commented 10 years ago

This should be fixed now, can you confirm?

gloparco commented 10 years ago

Confirmed fixed - thanks for such a prompt turnaround!