Title: Crash on creating thumbnail from files moved from google drive. · Issue #35 · python-thumbnails/python-thumbnails · GitHub
Open Graph Title: Crash on creating thumbnail from files moved from google drive. · Issue #35 · python-thumbnails/python-thumbnails
X Title: Crash on creating thumbnail from files moved from google drive. · Issue #35 · python-thumbnails/python-thumbnails
Description: I can't explain this, but I copied some files from Google drive, and python-thumbnails is crashing when creating the thumbnail. Traceback (most recent call last): File "/Library/Python/2.7/site-packages/django/core/handlers/exception.py"...
Open Graph Description: I can't explain this, but I copied some files from Google drive, and python-thumbnails is crashing when creating the thumbnail. Traceback (most recent call last): File "/Library/Python/2.7/site-pac...
X Description: I can't explain this, but I copied some files from Google drive, and python-thumbnails is crashing when creating the thumbnail. Traceback (most recent call last): File "/Library/Python/2.7...
Opengraph URL: https://github.com/python-thumbnails/python-thumbnails/issues/35
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash on creating thumbnail from files moved from google drive.","articleBody":"I can't explain this, but I copied some files from Google drive, and python-thumbnails is crashing when creating the thumbnail.\r\n\r\nTraceback (most recent call last):\r\n File \"/Library/Python/2.7/site-packages/django/core/handlers/exception.py\", line 41, in inner\r\n response = get_response(request)\r\n File \"/Library/Python/2.7/site-packages/django/core/handlers/base.py\", line 187, in _get_response\r\n response = self.process_exception_by_middleware(e, request)\r\n File \"/Library/Python/2.7/site-packages/django/core/handlers/base.py\", line 185, in _get_response\r\n response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n File \"/Library/Python/2.7/site-packages/django/views/decorators/vary.py\", line 21, in inner_func\r\n response = func(*args, **kwargs)\r\n File \"/Volumes/4TB_Drive/gallery/quickbbs/frontend/views.py\", line 535, in thumbnails\r\n thumbnailfile = process_images(fs_path, thumb_size)\r\n File \"/Volumes/4TB_Drive/gallery/quickbbs/frontend/views.py\", line 465, in process_images\r\n fext)\r\n File \"/Volumes/4TB_Drive/gallery/quickbbs/frontend/views.py\", line 310, in make_thumbnail\r\n crop=None, force=False)\r\n File \"/Volumes/4TB_Drive/gallery/quickbbs/thumbnails/__init__.py\", line 47, in get_thumbnail\r\n cached = cache.get(thumbnail_name)\r\n File \"/Volumes/4TB_Drive/gallery/quickbbs/thumbnails/cache_backends.py\", line 26, in get\r\n return self._get(thumbnail_name)\r\n File \"/Volumes/4TB_Drive/gallery/quickbbs/thumbnails/cache_backends.py\", line 79, in _get\r\n return self.cache.get(thumbnail_name.replace('/', ''))\r\n File \"/Library/Python/2.7/site-packages/django/core/cache/backends/locmem.py\", line 54, in get\r\n return pickle.loads(pickled)\r\nTypeError: __new__() takes exactly 4 arguments (2 given)\r\n\r\nIf I stop the app, and restart it, it does appear that the thumbnails were created, since they are now visible. But if I advance to a file that didn't get created, the same error occurs.\r\n\r\nthumnail_name in Line 79 in cache backends :650/5c3a06fe95ed05219e85619503f97c8c30b99\r\n\r\nIf I attempt to thumbnail any files other than these files copied from google drive, it works fine. \r\nI've checked permissions, with no obvious issues. \r\n\r\nAny suggestions on where or what to check? This seems very odd!","author":{"url":"https://github.com/bschollnick","@type":"Person","name":"bschollnick"},"datePublished":"2018-01-03T03:56:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/35/python-thumbnails/issues/35"}
| 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:57295abb-1fa1-24ea-c549-3147ab84e159 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF54:2EAB85:9C9583:DD1A59:696A54B7 |
| html-safe-nonce | c131c5c422be01fbd5be9837e0ee194a6936d6bcae99f1e76008463b45a55efd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjU0OjJFQUI4NTo5Qzk1ODM6REQxQTU5OjY5NkE1NEI3IiwidmlzaXRvcl9pZCI6IjU0Mzg5MTAzMTQ5NzcwNTU5MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 82bf134a62d614e60a917d28e9ce0ba9c026499040657384542c40dbc3beac5d |
| hovercard-subject-tag | issue:285594378 |
| 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-thumbnails/python-thumbnails/35/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65124f44a2888dd3107c9e73001b4c5ec13aebd9f6627499d757d4aaf1310548/python-thumbnails/python-thumbnails/issues/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65124f44a2888dd3107c9e73001b4c5ec13aebd9f6627499d757d4aaf1310548/python-thumbnails/python-thumbnails/issues/35 |
| og:image:alt | I can't explain this, but I copied some files from Google drive, and python-thumbnails is crashing when creating the thumbnail. Traceback (most recent call last): File "/Library/Python/2.7/site-pac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bschollnick |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python-thumbnails/python-thumbnails git https://github.com/python-thumbnails/python-thumbnails.git |
| octolytics-dimension-user_id | 16475284 |
| octolytics-dimension-user_login | python-thumbnails |
| octolytics-dimension-repository_id | 32233986 |
| octolytics-dimension-repository_nwo | python-thumbnails/python-thumbnails |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32233986 |
| octolytics-dimension-repository_network_root_nwo | python-thumbnails/python-thumbnails |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width