renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

Generating HTML output is broken? #46

Closed kpietak closed 12 years ago

kpietak commented 12 years ago

I've followed the instruction from the home page (i.e. I've opened sample.org file and executed org-publish-blog command), but no html files have been generated (only a tips directory which contains two png images in subdirectories).

I use Emacs 24 on Ubuntu 12.04. O-blog has been fetched using el-get.

The command output is listed below (the last message suggests that something is wrong..):

OVERVIEW [2 times]
Exporting...
org-babel-exp processing... [2 times]
htmlize.el 1.34 or later is needed for source code formatting [2 times]
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting... [2 times]
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting... [2 times]
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting... [2 times]
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting... [2 times]
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting...
org-babel-exp processing... [2 times]
htmlize.el 1.34 or later is needed for source code formatting [2 times]
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting...
org-babel-exp processing... [3 times]
htmlize.el 1.34 or later is needed for source code formatting [3 times]
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting...
org-babel-exp processing... [9 times]
htmlize.el 1.34 or later is needed for source code formatting [9 times]
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting...
org-babel-exp processing... [2 times]
htmlize.el 1.34 or later is needed for source code formatting [2 times]
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting... [2 times]
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting... [2 times]
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting...
org-babel-exp processing... [3 times]
htmlize.el 1.34 or later is needed for source code formatting [3 times]
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting...
org-babel-exp processing...
htmlize.el 1.34 or later is needed for source code formatting
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting... [2 times]
HTML export done, pushed to kill ring and clipboard
OVERVIEW [4 times]
Exporting... [2 times]
HTML export done, pushed to kill ring and clipboard
OVERVIEW
Exporting...
org-babel-exp processing... [2 times]
htmlize.el 1.34 or later is needed for source code formatting [2 times]
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting...
org-babel-exp processing...
htmlize.el 1.34 or later is needed for source code formatting
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW [2 times]
Exporting...
org-babel-exp processing...
htmlize.el 1.34 or later is needed for source code formatting
Exporting...
HTML export done, pushed to kill ring and clipboard
OVERVIEW
o-blog-publish-source: Symbol's function definition is void: htmlize-region-for-paste
renard commented 12 years ago

It seems that you don't have the htmlize-region-for-paste which is included in the htmlize package.

In o-blog the htmlize package is required as this (require 'htmlize nil t) thus it wont notify you on failure.

Can you run (require 'htmlize) to check if you do have that package installed correctly.

kpietak commented 12 years ago

That was the case - I've installed the htmlize package and everything went fine.

Thanks for quick reply!!

renard commented 12 years ago

Ok you're welcome

commandodev commented 12 years ago

This just bit me too - can I suggest that you put this somewhere in the documentation as a requirement? I installed with elpa (i.e. The version in M-x package-list-packages) first and then I've installed it as a submodule in my .emacs.d/vendor directory.

balajis commented 11 years ago

I would add a vote for adding this to the setup instructions. With M-x el-get-install<RET>htmlize followed by M-x el-get-install<RET>o-blog, everything works.

yyr commented 11 years ago

@balajis No need to do that. el-get must install htmlize automatically, since o-blog recipe says it depends on htmlize. If el-get failed to install o-blog, then its a bug in el-get.