Coder Social home page Coder Social logo

Comments (3)

wdv4758h avatar wdv4758h commented on June 24, 2024

The keyword "moe" will make howdoi get some urls like this regex format : "http://stackoverflow.com/users/\d+/moe" by get_links function, that is the problem

from howdoi.

rahulsundaram avatar rahulsundaram commented on June 24, 2024

It fails with other words like "mel" as well.

from howdoi.

bfontaine avatar bfontaine commented on June 24, 2024

I get this error with "help" as well:

$ howdoi help
Traceback (most recent call last):
  File "/usr/local/bin/howdoi", line 9, in <module>
    load_entry_point('howdoi==1.1.6', 'console_scripts', 'howdoi')()
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/howdoi/howdoi.py", line 241, in command_line_runner
    print(howdoi(args).encode('utf-8', 'ignore'))
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/howdoi/howdoi.py", line 201, in howdoi
    return get_instructions(args) or 'Sorry, couldn\'t find any help with that topic\n'
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/howdoi/howdoi.py", line 177, in get_instructions
    answer = get_answer(args, links)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/howdoi/howdoi.py", line 136, in get_answer
    link = get_link_at_pos(links, args['pos'])
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/howdoi/howdoi.py", line 108, in get_link_at_pos
    link = links[-1]
IndexError: list index out of range

from howdoi.

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.