Code Monkey home page Code Monkey logo

trebekbot's People

Contributors

nickg123 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

aksh-theflash

trebekbot's Issues

Crash Report

Traceback (most recent call last):
  File "/home/nick/Telegram/telegram.py", line 191, in get_updates
    return command_dict[command](chat_id=chat_id, name=name, parameters=parameters, message_id=message_id)
  File "/home/nick/Telegram/telegram.py", line 95, in jeopardy
    return format_message(chat_id, format_question(current_question[chat_id], last_answer))
  File "/home/nick/Telegram/telegram.py", line 67, in format_question
    return "{5}{0} ${1}:\nCategory: {2}\n{3}\n{4}".format(json["round"], json["value"], json["category"], json["date"], json["question"], "Last Answer: {0}\n".format(last_answer) if last_answer is not None else "")
UnicodeEncodeError: 'ascii' codec can't encode character u'\x93' in position 72: ordinal not in range(128)

Crash Report

Traceback (most recent call last):
  File "/home/nick/Telegram/telegram.py", line 191, in get_updates
    return command_dict[command](chat_id=chat_id, name=name, parameters=parameters, message_id=message_id)
  File "/home/nick/Telegram/telegram.py", line 152, in flag_error
    if resp.status_code == 201:
NameError: global name 'resp' is not defined

Picture?

Reported by: Alex Bumstead
Raw Data:
{
"category": "FAMOUS ART",
"question": "Season represented in the masterpiece seen here:",
"value": 1000,
"date": "Wednesday, November 24, 1999",
"answer": "Spring",
"round": "Jeopardy"
}

Crash Report

Traceback (most recent call last):
  File "/home/nick/Telegram/telegram.py", line 207, in get_updates
    return command_dict[command](chat_id=chat_id, name=name, parameters=parameters, message_id=message_id)
  File "/home/nick/Telegram/telegram.py", line 111, in jeopardy
    return format_message(chat_id, format_question(current_question[chat_id], last_answer))
  File "/home/nick/Telegram/telegram.py", line 68, in format_question
    return u"{5}{0} ${1}:\nCategory: {2}\n{3}\n{4}".format(json["round"], json["value"], json["category"], json["date"], json["question"], "Last Answer: {0}\n".format(last_answer) if last_answer is not None else "")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 9: ordinal not in range(128)

Crash Report

Traceback (most recent call last):
  File "/home/nick/Telegram/telegram.py", line 207, in get_updates
    return command_dict[command](chat_id=chat_id, name=name, parameters=parameters, message_id=message_id)
  File "/home/nick/Telegram/telegram.py", line 111, in jeopardy
    return format_message(chat_id, format_question(current_question[chat_id], last_answer))
  File "/home/nick/Telegram/telegram.py", line 68, in format_question
    return u"{5}{0} ${1}:\nCategory: {2}\n{3}\n{4}".format(json["round"], json["value"], json["category"], json["date"], json["question"], "Last Answer: {0}\n".format(last_answer) if last_answer is not None else "")
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 5: ordinal not in range(128)

This Question Is Too Hard

Reported by: Nick Gerow
Raw Data:
{
"category": "MOVIE MUSIC",
"question": ""2001: A Space Odyssey" memorably used the Strauss piece called "Thus Spake" this guy",
"value": 1000,
"date": "Friday, July 9, 2004",
"answer": "Zarathustra",
"round": "Jeopardy"
}

Bracketed Parts Should Be Ignored?

Reported by: Alex Bumstead
Raw Data:
{
"category": "COLLEGE COURSES",
"question": "In the Oregon State course ENT 300, "Plagues, Pests & Politics", ENT stands for this field of study",
"value": 1000,
"date": "Monday, February 13, 2012",
"answer": "entomology",
"round": "Jeopardy"
}

Boo At Spacing

Reported by: Alex Bumstead
Raw Data:
{
"category": "SAME FIRST & LAST LETTER",
"question": "Food bought in a restaurant to be eaten at home",
"value": 200,
"date": "Friday, April 16, 2010",
"answer": "takeout",
"round": "Jeopardy"
}

Supposed To Be An Image???

Reported by: Alex Bumstead
Raw Data:
{
"category": "THE IMAGE AWARDS",
"question": "She won for Outstanding News, Talk or Information Show in 1993--& '94, '96, '98...",
"value": 400,
"date": "Monday, February 22, 2016",
"answer": "Oprah Winfrey",
"round": "Jeopardy"
}

test issue

Reported by: Nick Gerow
Raw Data:
{
"category": "I'LL BE YOUR WAITER",
"question": "No the pork loin doesn't come with a vegetable, or with anything else--that's what this French phrase on the menu means",
"value": 800,
"date": "Friday, June 21, 2002",
"answer": "\u00e0 la carte",
"round": "Double Jeopardy"
}

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.