Giter Club home page Giter Club logo

Comments (2)

ViciousPotato avatar ViciousPotato commented on August 22, 2024

Hi could you paste the whole log here (without your user name and pass), it seems something went wrong downloading the book.

Thanks

from safaribooks.

subashz avatar subashz commented on August 22, 2024

I had install in local user and got this error:
`
Traceback (most recent call last):
File "/home/deadsec/.local/bin/scrapy", line 11, in
sys.exit(execute())
File "/home/deadsec/.local/lib/python3.6/site-packages/scrapy/cmdline.py", line 148, in execute
cmd.crawler_process = CrawlerProcess(settings)
File "/home/deadsec/.local/lib/python3.6/site-packages/scrapy/crawler.py", line 243, in init
super(CrawlerProcess, self).init(settings)
File "/home/deadsec/.local/lib/python3.6/site-packages/scrapy/crawler.py", line 134, in init
self.spider_loader = _get_spider_loader(settings)
File "/home/deadsec/.local/lib/python3.6/site-packages/scrapy/crawler.py", line 330, in _get_spider_loader
return loader_cls.from_settings(settings.frozencopy())
File "/home/deadsec/.local/lib/python3.6/site-packages/scrapy/spiderloader.py", line 61, in from_settings
return cls(settings)
File "/home/deadsec/.local/lib/python3.6/site-packages/scrapy/spiderloader.py", line 25, in init
self._load_all_spiders()
File "/home/deadsec/.local/lib/python3.6/site-packages/scrapy/spiderloader.py", line 47, in _load_all_spiders
for module in walk_modules(name):
File "/home/deadsec/.local/lib/python3.6/site-packages/scrapy/utils/misc.py", line 63, in walk_modules
mod = import_module(path)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/deadsec/temp/safaribooks/safaribook/spiders/init.py", line 6, in
from safaribooks import SafariBooksSpider
ModuleNotFoundError: No module named 'safaribooks'


Amazon kindlegen(Linux) V2.9 build 1028-0897292
A command line e-book compiler
Copyright Amazon.com and its Affiliates 2014


Error(kindlegen):E30005: Could not find file *.epub

Python version:`
$ python --version
Python 3.6.3
$ python python2 --version
Python 2.7.14

File Structure:
├── crawl.sh
├── data
│   ├── META-INF
│   │   └── container.xml
│   ├── mimetype
│   └── OEBPS
│   ├── content.opf
│   └── toc.ncx
├── README.md
├── requirements.txt
├── safaribook
│   ├── init.py
│   ├── items.py
│   ├── pipelines.py
│   ├── pycache
│   │   ├── init.cpython-36.pyc
│   │   └── settings.cpython-36.pyc
│   ├── settings.py
│   └── spiders
│   ├── init.py
│   ├── pycache
│   │   └── init.cpython-36.pyc
│   └── safaribooks.py
└── scrapy.cfg

from safaribooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.