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.

Invalid commands in example

See original GitHub issue

The quotesbot: https://github.com/scrapy/quotesbot

Says to run: scrapy crawl and scrapy list

However, neither of these are a valid command for me. I only have:

Available commands: bench Run quick benchmark test commands fetch Fetch a URL using the Scrapy downloader genspider Generate new spider using pre-defined templates runspider Run a self-contained spider (without creating a project) settings Get settings values shell Interactive scraping console startproject Create new project version Print Scrapy version view Open URL in browser, as seen by Scrapy

[ more ] More commands available when run from project directory

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
mohmad-nullcommented, Oct 26, 2016

Another possible solution - rather than say Unknown command: crawl when someone tries `scrapy crawl" in the wrong location, how about the command line instead provides a more helpful message:

crawl is not available from this location. It can only be triggered within a project. or something to that effect.

1reaction
kmikecommented, Oct 21, 2016

I think it should be reported to https://github.com/scrapy/quotesbot instead; unlike the tutorial its README doesn’t mention where to run commands from.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid commands how do i fix that - Microsoft Community
I have a problem with the commands in cmd... When i use the command find or ipconfig, i get the error that the...
Read more >
?Invalid Command - UNIX and Linux Forums
Hi, I have this script which gives me output as Invalid null command set recent_file=`grep '^-.*xlsx$' $FTP_LOG |\ sed -e 's/Jan/1/g' \ -e...
Read more >
Invalid SMS Command Error - OutSystems 10 Documentation
The Invalid SMS Command error is issued when the rules of the SMS command pattern language are being violated. Examples of invalid commands:....
Read more >
Invalid Command Behavior - 3.1 English - Xilinx
When an invalid command is given, it does not execute; the status signals do not change nor do the command be echoed back....
Read more >
Invalid data entered on command-line utilities - IBM
If you enter a command that contains invalid data after all required options are specified, you will not receive an error message. For...
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