Skip to content
This repository

This is not valid theme file #106

simonsunx opened this Issue · 11 comments

9 participants

simonsunx Roger Dudler Jaroslav Janukevic Christopher Najewicz Art Skvira Mike Henke Daniel Harper Neverminder Dāvis

I installed eclipse 4.2, pdt 3.1.1, rse 3.4 and eclipse-color-themes 0.12.
Then i downloaded some xml-themes from
I tried to import themes using Window -> Preferences -> General -> Appearance -> Color Theme.
Every time i saw 'This is not valid theme file'.

Why did it happend? What can i do?

Jaroslav Janukevic

I have the same issue. Running eclipse 4.2 classic on ubuntu 12.04 64bit

P.S Had to install libwebkitgtk1.0 because the plugin didn't work.

Christopher Najewicz


Eclipse Standard
Version: 4.2.0
Build id: I20120608-1400

Installed Plugin via update method.
Eclipse Color Theme com.github.eclipsecolortheme.feature.feature.grouo


Every XML I downloaded has empty first line :)

So, the problem is in the site scenario. It generates invalid xml-file

Deleting empty line solves the problem

Jaroslav Janukevic

I confirm, deleting the line solved the problem.

Art Skvira
ArtS commented

To me that's still an issue - while site's somewhat wrong for putting that extra line in, there's no reason for XML parser should fail because of whitespace.

Jaroslav Janukevic

Here is Solarized theme I removed the first line and it imported successfully. Try it ;)

Mike Henke

removing first line works. pain in the butt!

Daniel Harper

same issue here, removing the first line in the file worked.

Roger Dudler

thanks for your feedback. we've fixed the problem.

Roger Dudler rogerdudler closed this

I still have this problem. Eclipse 4.3 Kepler, Ubuntu 13.10 Saucy Salamander, Eclipse Color Theme plugin freshly installed from marketplace.


one reason this might be caused could be because of encoding, I submitted PR #142 but it's not merged yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.