Skip to content
This repository

This is not valid theme file #106

Closed
simonsunx opened this Issue · 11 comments

9 participants

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

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 http://eclipsecolorthemes.org.
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

+1

Eclipse Standard
Version: 4.2.0
Build id: I20120608-1400

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

simonsunx

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 http://ge.tt/4DFwAlL/v/0?c 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
Owner

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

Roger Dudler rogerdudler closed this
Neverminder

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

Dāvis

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.