Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`block in run': undefined method #2

Open
sergiopvilar opened this issue Jul 27, 2013 · 4 comments
Open

`block in run': undefined method #2

sergiopvilar opened this issue Jul 27, 2013 · 4 comments

Comments

@sergiopvilar
Copy link

Hello, I'm trying to create a new .mobi file with kindlerb but I get the following error with this file tree:

File tree

/Users/sergiovilar/.rvm/gems/ruby-1.9.3-p362/gems/kindlerb-0.1.1/lib/kindlerb.rb:112:in `block in run': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/sergiovilar/.rvm/gems/ruby-1.9.3-p362/gems/kindlerb-0.1.1/lib/kindlerb.rb:37:in `chdir'
from /Users/sergiovilar/.rvm/gems/ruby-1.9.3-p362/gems/kindlerb-0.1.1/lib/kindlerb.rb:37:in `run'
from /Users/sergiovilar/.rvm/gems/ruby-1.9.3-p362/gems/kindlerb-0.1.1/bin/kindlerb:8:in `<top (required)>'
from /Users/sergiovilar/.rvm/rubies/ruby-1.9.3-p362/bin/kindlerb:23:in `load'
from /Users/sergiovilar/.rvm/rubies/ruby-1.9.3-p362/bin/kindlerb:23:in `<main>'
@danchoi
Copy link
Owner

danchoi commented Jul 9, 2015

Sorry I don't have time to address this issue now. Volunteer patches would
be welcome, as would anyone who would like to take over this project as
maintainer.

On Thursday, July 9, 2015, MoOmEeN [email protected] wrote:

That was long long tme ago, but: did you solve the issue? I am facing
similar


Reply to this email directly or view it on GitHub
#2 (comment).

@MoOmEeN
Copy link

MoOmEeN commented Jul 9, 2015

thanks for the reply, but the issue was really silly, that silly that I removed my comment ;)
I was missing 'sections' directory (same as @sergiovilar), once I added it, everything worked.
thanks

@sergiopvilar
Copy link
Author

@MoOmEeN I wrote a library in PHP, maybe you can use https://github.com/sergiovilar/Kindle-Periodical

@MoOmEeN
Copy link

MoOmEeN commented Jul 10, 2015

@sergiovilar thanks, I made kindlerb working, but I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants