minad / olelo

Wiki with git backend
MIT License
241 stars 43 forks source link

Mismatched tag #30

Closed NathanNeff closed 14 years ago

NathanNeff commented 14 years ago

Hello, I installed the latest version of olelo, and I presume that the site is running. But, when I go to the home page, I get the error message:

XML Parsing Error: mismatched tag. Expected: . Location: http://jquery.crazynate.com/new/500.shtml Line Number 10, Column 3: --^

The site is here: http://jquery.crazynate.com

There's no data in the git repository, so the error might stem from that.

Can anyone point me in the right direction?

The version of git on the server is 1.7.2.2, and the ruby version is: 1.8.7

Thanks, --Nate

minad commented 14 years ago

which version of haml and nokogiri do you use? this is a duplicate of #28.

minad commented 14 years ago

seems to be a broken libxml version. please confirm:

http://github.com/minad/olelo/commit/6ee25db8d754e75de04781377d835986b54b30f8

NathanNeff commented 14 years ago

Yes, this is the problem. What steps can I take? I'm almost forced to use ruby 1.8.7

minad commented 14 years ago

upgrade libxml2 to 2.7 and reinstall the gem (recompile). it works with both 1.9 and 1.8.7

NathanNeff commented 14 years ago

I tried this, and now it appears that it can't find an xslt parser to convert the xml to html.

http://jquery.crazynate.com/

I tried installing/compiling libxml and libxslt per these instructions: http://wiki.github.com/tenderlove/nokogiri/use-libxml-from-source

But, I'm not very good at compiling 2 C libraries and a ruby gem on top of it.

Am I getting closer?

Thanks for any help. I want to use this software, but I don't know how to debug these types of problems.

minad commented 14 years ago

yes, it is the right thing to install the libraries from source. if you have problems installing nokogiri, please ask on their mailing list.