René's URL Explorer Experiment


Title: InsertPhotoSimple - [Errno 32] Broken Pipe · Issue #53 · google/gdata-python-client · GitHub

Open Graph Title: InsertPhotoSimple - [Errno 32] Broken Pipe · Issue #53 · google/gdata-python-client

X Title: InsertPhotoSimple - [Errno 32] Broken Pipe · Issue #53 · google/gdata-python-client

Description: I am using TouchSelfie to create a simple photobooth. It should allow me to upload photos to a Google photos album, and was working yesterday. Today the uploading feature seemed to stop. I can query my photo albums successfully using the...

Open Graph Description: I am using TouchSelfie to create a simple photobooth. It should allow me to upload photos to a Google photos album, and was working yesterday. Today the uploading feature seemed to stop. I can quer...

X Description: I am using TouchSelfie to create a simple photobooth. It should allow me to upload photos to a Google photos album, and was working yesterday. Today the uploading feature seemed to stop. I can quer...

Opengraph URL: https://github.com/google/gdata-python-client/issues/53

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"InsertPhotoSimple - [Errno 32] Broken Pipe","articleBody":"I am using [TouchSelfie](https://github.com/wyolum/TouchSelfie) to create a simple photobooth. It should allow me to upload photos to a Google photos album, and was working yesterday. Today the uploading feature seemed to stop. \r\n\r\nI can query my photo albums successfully using the following example code:\r\n```\r\nphotos = client.GetFeed(album_url)\r\nfor photo in photos.entry:\r\n    print 'Photo title:', photo.title.text\r\n```\r\nSince the photos in that album get printed, I presume my credentials are working fine. \r\n\r\nBut if I try to upload a photo using the `InsertPhotoSimple` function I get `error: [Errno 32] Broken pipe` The InsertPhotoSimple code I am using is straight from the [API Documentation](https://developers.google.com/picasa-web/docs/1.0/developers_guide_python) \r\n```\r\nclient.InsertPhotoSimple(album_url, 'Test Photo', 'Testing API', \"myphoto.png\", content_type='image/png')\r\n```\r\n\r\nI can't figure it out what happened! My codebase didn't change, but now I am getting errors. Any help is appreciated!\r\n \r\nThe full stack trace: \r\n```\r\nclient.InsertPhotoSimple(album_url, 'AYYY', 'Test API', \"logo.png\", content_type='image/png')\r\n---------------------------------------------------------------------------\r\nerror                                     Traceback (most recent call last)\r\n\u003cipython-input-72-ffbac228ff15\u003e in \u003cmodule\u003e()\r\n----\u003e 1 client.InsertPhotoSimple(album_url, 'AYYY', 'Test API', \"logo.png\", content_type='image/png')\r\n\r\n/usr/lib/python2.7/dist-packages/gdata/photos/service.pyc in InsertPhotoSimple(self, album_or_uri, title, summary, filename_or_handle, content_type, keywords)\r\n    468       metadata.media.keywords = gdata.media.Keywords(text=keywords)\r\n    469     return self.InsertPhoto(album_or_uri, metadata, filename_or_handle,\r\n--\u003e 470       content_type)\r\n    471\r\n    472   def UpdatePhotoMetadata(self, photo):\r\n\r\n/usr/lib/python2.7/dist-packages/gdata/photos/service.pyc in InsertPhoto(self, album_or_uri, photo, filename_or_handle, content_type)\r\n    424     try:\r\n    425       return self.Post(photo, uri=feed_uri, media_source=mediasource,\r\n--\u003e 426         converter=gdata.photos.PhotoEntryFromString)\r\n    427     except gdata.service.RequestError, e:\r\n    428       raise GooglePhotosException(e.args[0])\r\n\r\n/usr/lib/python2.7/dist-packages/gdata/service.pyc in Post(self, data, uri, extra_headers, url_params, escape_params, redirects_remaining, media_source, converter)\r\n   1233         extra_headers=extra_headers, url_params=url_params,\r\n   1234         escape_params=escape_params, redirects_remaining=redirects_remaining,\r\n-\u003e 1235         media_source=media_source, converter=converter)\r\n   1236\r\n   1237   def PostOrPut(self, verb, data, uri, extra_headers=None, url_params=None,\r\n\r\n/usr/lib/python2.7/dist-packages/gdata/service.pyc in PostOrPut(self, verb, data, uri, extra_headers, url_params, escape_params, redirects_remaining, media_source, converter)\r\n   1300       server_response = self.request(verb, uri,\r\n   1301           data=[multipart[0], data_str, multipart[1], media_source.file_handle,\r\n-\u003e 1302               multipart[2]], headers=extra_headers, url_params=url_params)\r\n   1303       result_body = server_response.read()\r\n   1304\r\n\r\n/usr/lib/python2.7/dist-packages/atom/__init__.pyc in optional_warn_function(*args, **kwargs)\r\n     90       if ENABLE_V1_WARNINGS:\r\n     91         warnings.warn(warning, DeprecationWarning, stacklevel=2)\r\n---\u003e 92       return f(*args, **kwargs)\r\n     93     # Preserve the original name to avoid masking all decorated functions as\r\n     94     # 'deprecated_function'\r\n\r\n/usr/lib/python2.7/dist-packages/atom/service.pyc in request(self, operation, url, data, headers, url_params)\r\n    183       auth_token = self.token_store.find_token(url)\r\n    184     return auth_token.perform_request(self.http_client, operation, url,\r\n--\u003e 185         data=data, headers=all_headers)\r\n    186\r\n    187   request = atom.v1_deprecated(\r\n\r\n/usr/lib/python2.7/dist-packages/atom/http_interface.pyc in perform_request(self, http_client, operation, url, data, headers)\r\n    146                       headers=None):\r\n    147     \"\"\"For the GenericToken, no Authorization token is set.\"\"\"\r\n--\u003e 148     return http_client.request(operation, url, data=data, headers=headers)\r\n    149\r\n    150   def valid_for_scope(self, url):\r\n\r\n/usr/lib/python2.7/dist-packages/atom/http.pyc in request(self, operation, url, data, headers)\r\n    167       if isinstance(data, list):\r\n    168         for data_part in data:\r\n--\u003e 169           _send_data_part(data_part, connection)\r\n    170       else:\r\n    171         _send_data_part(data, connection)\r\n\r\n/usr/lib/python2.7/dist-packages/atom/http.pyc in _send_data_part(data, connection)\r\n    353       binarydata = data.read(100000)\r\n    354       if binarydata == '': break\r\n--\u003e 355       connection.send(binarydata)\r\n    356     return\r\n    357   else:\r\n\r\n/usr/lib/python2.7/httplib.pyc in send(self, data)\r\n    853                 datablock = data.read(blocksize)\r\n    854         else:\r\n--\u003e 855             self.sock.sendall(data)\r\n    856\r\n    857     def _output(self, s):\r\n\r\n/usr/lib/python2.7/ssl.pyc in sendall(self, data, flags)\r\n    699             count = 0\r\n    700             while (count \u003c amount):\r\n--\u003e 701                 v = self.send(data[count:])\r\n    702                 count += v\r\n    703             return amount\r\n\r\n/usr/lib/python2.7/ssl.pyc in send(self, data, flags)\r\n    665                     self.__class__)\r\n    666             try:\r\n--\u003e 667                 v = self._sslobj.write(data)\r\n    668             except SSLError as x:\r\n    669                 if x.args[0] == SSL_ERROR_WANT_READ:\r\n\r\nerror: [Errno 32] Broken pipe\r\n```\r\n","author":{"url":"https://github.com/gblanchard4","@type":"Person","name":"gblanchard4"},"datePublished":"2017-01-28T07:49:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/53/gdata-python-client/issues/53"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:41828b9c-4957-57f5-cce5-2124b06ab222
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A94:357B25:107A44B:17338E6:6A606CBB
html-safe-nonce44bdcac8657a263894817350c8839d2afe8c06f8e8d90d015768ea685e6f1fd2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTk0OjM1N0IyNToxMDdBNDRCOjE3MzM4RTY6NkE2MDZDQkIiLCJ2aXNpdG9yX2lkIjoiNDg3MTc0MjMwODU1MDIwODY5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac049d5938e22ff8de938c2ac7156807ba78082d56c3897c88790cf2b63032ea2d
hovercard-subject-tagissue:203794038
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/google/gdata-python-client/53/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1c49414967c96faac922417db9f8165e12dcafe6123c222ab4d3791534b84b6c/google/gdata-python-client/issues/53
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1c49414967c96faac922417db9f8165e12dcafe6123c222ab4d3791534b84b6c/google/gdata-python-client/issues/53
og:image:altI am using TouchSelfie to create a simple photobooth. It should allow me to upload photos to a Google photos album, and was working yesterday. Today the uploading feature seemed to stop. I can quer...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegblanchard4
hostnamegithub.com
expected-hostnamegithub.com
None60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0
turbo-cache-controlno-preview
go-importgithub.com/google/gdata-python-client git https://github.com/google/gdata-python-client.git
octolytics-dimension-user_id1342004
octolytics-dimension-user_logingoogle
octolytics-dimension-repository_id28202851
octolytics-dimension-repository_nwogoogle/gdata-python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id28202851
octolytics-dimension-repository_network_root_nwogoogle/gdata-python-client
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9824515e740d83d5eb82168a089b806ab0fe04a1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/google/gdata-python-client/issues/53#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgdata-python-client%2Fissues%2F53
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fgdata-python-client%2Fissues%2F53
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=google%2Fgdata-python-client
Reloadhttps://github.com/google/gdata-python-client/issues/53
Reloadhttps://github.com/google/gdata-python-client/issues/53
Reloadhttps://github.com/google/gdata-python-client/issues/53
Please reload this pagehttps://github.com/google/gdata-python-client/issues/53
google https://github.com/google
gdata-python-clienthttps://github.com/google/gdata-python-client
Notifications https://github.com/login?return_to=%2Fgoogle%2Fgdata-python-client
Fork 223 https://github.com/login?return_to=%2Fgoogle%2Fgdata-python-client
Star 449 https://github.com/login?return_to=%2Fgoogle%2Fgdata-python-client
Code https://github.com/google/gdata-python-client
Issues 39 https://github.com/google/gdata-python-client/issues
Pull requests 10 https://github.com/google/gdata-python-client/pulls
Actions https://github.com/google/gdata-python-client/actions
Projects https://github.com/google/gdata-python-client/projects
Security and quality 0 https://github.com/google/gdata-python-client/security
Insights https://github.com/google/gdata-python-client/pulse
Code https://github.com/google/gdata-python-client
Issues https://github.com/google/gdata-python-client/issues
Pull requests https://github.com/google/gdata-python-client/pulls
Actions https://github.com/google/gdata-python-client/actions
Projects https://github.com/google/gdata-python-client/projects
Security and quality https://github.com/google/gdata-python-client/security
Insights https://github.com/google/gdata-python-client/pulse
InsertPhotoSimple - [Errno 32] Broken Pipehttps://github.com/google/gdata-python-client/issues/53#top
https://github.com/gblanchard4
gblanchard4https://github.com/gblanchard4
on Jan 28, 2017https://github.com/google/gdata-python-client/issues/53#issue-203794038
TouchSelfiehttps://github.com/wyolum/TouchSelfie
API Documentationhttps://developers.google.com/picasa-web/docs/1.0/developers_guide_python
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.