question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

i got some errors after update

See original GitHub issue
:~/packtpub-crawler/script# python spider.py --config config/prod.cfg
Traceback (most recent call last):
  File "spider.py", line 9, in <module>
    from upload import Upload, SERVICE_DRIVE, SERVICE_DROPBOX, SERVICE_SCP
  File "/root/packtpub-crawler/script/upload.py", line 2, in <module>
    from scpUpload import ScpUpload
  File "/root/packtpub-crawler/script/scpUpload.py", line 5, in <module>
    import paramiko
ImportError: No module named paramiko

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
avenantsoftwarecommented, Jan 25, 2017

I was using relative path for config file, this is what caused errors… it works again by not using relative path for example: Not working:

python /home/xxx/packtpub-crawler/script/spider.py --config /home/xxx/packtpub-crawler/config/prod.cfg -t epub

Working:

python /home/xxx/packtpub-crawler/script/spider.py --config config/prod.cfg -t epub

and for missing dependencies

 sudo pip install -r requirements.txt

every day at midnight:

sudo crontab -e

add:

0 0 * * * python /home/xxx/packtpub-crawler/script/spider.py --config config/prod.cfg -t epub

also in the prod.cfg the [path[ to your books location doesn’t work if you use relative path, it will just add the directory to the folder where packtpub-crawler is located… I had to add … in front of the path to go 1 directory back from the packtpub-crawler directory, or use …/…/ to go 2 directories back, etc…

0reactions
niqdevcommented, Jan 26, 2017

I will close the issue, if you have any other problems, fill free to re-open it. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix All Windows 10 Update Errors - YouTube
How To Fix All Windows 10 Update Errors | Fix Error Encountered · 1. Restart - A simple way to check. · 2....
Read more >
How to fix Windows 11 errors after update - YouTube
Interested in how to fix Windows 11 errors after update ?This video will show you how to do it!While updating your PC is...
Read more >
Fix Windows Update errors - Microsoft Support
The steps in this guided walk-through should help with all Windows Update errors and other issues—you don't need to search for the specific...
Read more >
7 Ways To Fix Windows Update Errors If They Failed - Action1
How to Fix Update Error · 1. Restart the Computer and Run Windows Update Again · 2. Check for Driver or Hardware Conflict...
Read more >
What to Do When Windows Update Keeps Failing on ...
Methods to fix Windows Update failing errors · Run the Windows Update Troubleshooter tool · Restart Windows Update related services · Run the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found