ku1ik / coloration

Textmate to Vim, JEdit and Kate/KWrite color scheme converter
MIT License
260 stars 17 forks source link

Error when converting my own tmTheme #22

Open sollymay opened 4 years ago

sollymay commented 4 years ago

Not sure why but I can't seem to convert this theme.

It works correctly on TextMate and SublimeText:

monokay.tmTheme.zip

Traceback (most recent call last):
    14: from /usr/local/bin/tm2jedit:23:in '<main>'
    13: from /usr/local/bin/tm2jedit:23:in 'load'
    12: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/bin/tm2jedit:8:in '<top (required)>'
    11: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/converters/abstract_converter.rb:14:in 'process_cmd_line'
    10: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/converters/abstract_converter.rb:26:in 'process'
     9: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/readers/textmate_theme_reader.rb:31:in 'parse_input'
     8: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/readers/textmate_theme_reader.rb:31:in 'each'
     7: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/readers/textmate_theme_reader.rb:45:in 'block in parse_input'
     6: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/readers/textmate_theme_reader.rb:45:in 
'new'
     5: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/style.rb:13:in 'initialize'
     4: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/style.rb:19:in 'initialize_from_hash'
     3: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/style.rb:19:in 'each'
     2: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/style.rb:27:in 'block in initialize_from_hash'
     1: from /Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/color_rgba.rb:10:in 'from_html'
/Library/Ruby/Gems/2.6.0/gems/coloration-0.4.0/lib/coloration/color/rgb.rb:56:in 'from_html': ArgumentError (ArgumentError)