3 ms·
Really interesting project! I actually gave it a try and got some mobi files. However, I got this issue when converting to mobi on Ubuntu 18.04: Output saved
by auraham 5y ago
Really interesting project! I actually gave it a try and got some mobi files. However, I got this issue when converting to mobi on Ubuntu 18.04:
Output saved to /home/auraham/Kindle/hn30357788.mobi
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6918d4]
goroutine 1 [running]:
hntoebook/stories/operations.PDFToMobiGenerator(0x0, 0xc00040a080, 0x0, 0xc0001a3c48, 0x11, 0xc0001a3c28, 0x17)
/home/auraham/git/hntoebook/stories/operations/mobi.go:73 +0x2f4
hntoebook/stories/operations.HTMLtoPDFGenerator(0x0, 0xc00040a080, 0x0, 0xc0001a3c48, 0x11, 0xc0001a3c28, 0x17)
/home/auraham/git/hntoebook/stories/operations/pdf.go:78 +0x377
main.main()
/home/auraham/git/hntoebook/main.go:104 +0x9eb
exit status 2
- Abishek_Muthian 5y agoThanks for checking out! It's likely that the trailing slash wasn't included in the .mobi path set by you. Can you try this? ./hntoebook -c /home/auraham/Kindle/hn/ If you still receive any error, Deleting the 'db' folder can help. If it didn't I'd be happy to receive a bug report over GitHub.
- Abishek_Muthian 5y agoI've updated(v0.0.3) the database to from bitcask to badger for lesser CGO dependencies, This should result in lesser cross-platform quirks if any. Please delete the db folder before trying the new version.