Title: Photos can't be printed · Issue #13 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: Photos can't be printed · Issue #13 · python-telegram-bot/python-telegram-bot
X Title: Photos can't be printed · Issue #13 · python-telegram-bot/python-telegram-bot
Description: Trying to stringify a message that contains a photo results in the following exception: Traceback (most recent call last): File "E:\Development\Python\codetalkircbot\codegram.py", line 82, in
Open Graph Description: Trying to stringify a message that contains a photo results in the following exception: Traceback (most recent call last): File "E:\Development\Python\codetalkircbot\codegram.py", line 82, in X Description: Trying to stringify a message that contains a photo results in the following exception: Traceback (most recent call last): File "E:\Development\Python\codetalkircbot\codegram.py", line 82...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/13
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Photos can't be printed","articleBody":"Trying to stringify a message that contains a photo results in the following exception:\n\n```\nTraceback (most recent call last):\n File \"E:\\Development\\Python\\codetalkircbot\\codegram.py\", line 82, in \u003cmodule>\n main()\n File \"E:\\Development\\Python\\codetalkircbot\\codegram.py\", line 78, in main\n bot.poll_loop(SLEEP)\n File \"E:\\Development\\Python\\codetalkircbot\\codegram.py\", line 67, in poll_loop\n self.handle_updates(updates)\n File \"E:\\Development\\Python\\codetalkircbot\\codegram.py\", line 43, in handle_updates\n print(update)\n File \"E:\\Development\\Python\\codetalkircbot\\venv\\lib\\site-packages\\telegram\\update.py\", line 32, in __str__\n return self.to_json()\n File \"E:\\Development\\Python\\codetalkircbot\\venv\\lib\\site-packages\\telegram\\update.py\", line 28, in to_json\n json_data['message'] = self.message.to_json()\n File \"E:\\Development\\Python\\codetalkircbot\\venv\\lib\\site-packages\\telegram\\message.py\", line 184, in to_json\n json_data['photo'] = self.photo.to_json()\nAttributeError: 'list' object has no attribute 'to_json'\n```\n\n`Message.photo` is a list of `PhotoSize` objects. Should be easy to handle along with #12.\n","author":{"url":"https://github.com/FichteFoll","@type":"Person","name":"FichteFoll"},"datePublished":"2015-07-17T22:33:30Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/13"}
react-profiling 0 react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:49b9b082-7496-c3c6-f22a-65d9500a69f5 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id ABA4:148EE1:1DA46D2:252AA82:6B0288B4 html-safe-nonce 0579ed7c58a44b37072f901a1060fd9314134605cfe26f35cc533a0052b55943 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkE0OjE0OEVFMToxREE0NkQyOjI1MkFBODI6NkIwMjg4QjQiLCJ2aXNpdG9yX2lkIjoiMTgzODUxMzkyODgzODIxOTk1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 33d00d970d636d8c7f3116fafc19e3b03de3a2bb3cf774df69029bb4b5664399 hovercard-subject-tag issue:95757754 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/13/issue_layout twitter:image https://opengraph.githubassets.com/039eec97938d8c1705b3127093d1ac5f43417ad9001162f667194a5f90682667/python-telegram-bot/python-telegram-bot/issues/13 twitter:card summary_large_image og:image https://opengraph.githubassets.com/039eec97938d8c1705b3127093d1ac5f43417ad9001162f667194a5f90682667/python-telegram-bot/python-telegram-bot/issues/13 og:image:alt Trying to stringify a message that contains a photo results in the following exception: Traceback (most recent call last): File "E:\Development\Python\codetalkircbot\codegram.py", line 82, in og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username FichteFoll hostname github.com expected-hostname github.com None 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 turbo-cache-control no-preview go-import github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git octolytics-dimension-user_id 16178365 octolytics-dimension-user_login python-telegram-bot octolytics-dimension-repository_id 38696925 octolytics-dimension-repository_nwo python-telegram-bot/python-telegram-bot octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 38696925 octolytics-dimension-repository_network_root_nwo python-telegram-bot/python-telegram-bot turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 423dbb54c5e7bfecc838eb387c1435eb3d0e760d ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
URLs of crawlers that visited me.