Title: Python sketches that are not in Examples fail to load in the IDE · Issue #793 · processing/processing4 · GitHub
Open Graph Title: Python sketches that are not in Examples fail to load in the IDE · Issue #793 · processing/processing4
X Title: Python sketches that are not in Examples fail to load in the IDE · Issue #793 · processing/processing4
Description: In GitLab by @Zishan-Rahman on Oct 8, 2023, 15:34 Description Whenever I try to load a Processing sketch in Python, other than an example sketch via the "Examples" selection dialog, the IDE crashes and closes by itself. I tried opening t...
Open Graph Description: In GitLab by @Zishan-Rahman on Oct 8, 2023, 15:34 Description Whenever I try to load a Processing sketch in Python, other than an example sketch via the "Examples" selection dialog, the IDE crashes...
X Description: In GitLab by @Zishan-Rahman on Oct 8, 2023, 15:34 Description Whenever I try to load a Processing sketch in Python, other than an example sketch via the "Examples" selection dialog, the I...
Opengraph URL: https://github.com/processing/processing4/issues/793
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python sketches that are not in Examples fail to load in the IDE","articleBody":"In GitLab by @Zishan-Rahman on Oct 8, 2023, 15:34\n\n\u003c!--- ** For coding questions, ask the forum: https://discourse.processing.org ** -->\r\n\u003c!--- ** This page is only for bugs in the software & feature requests ** -->\r\n\r\n\u003c!--- ** If your code won't start, that's a better question for the forum. ** -->\r\n\u003c!--- ** If Processing won't start, post on the forum where you can get help. ** -->\r\n\r\n\u003c!--- ** Also be sure to read the troubleshooting page first: ** -->\r\n\u003c!--- ** https://github.com/processing/processing/wiki/Troubleshooting ** -->\r\n\r\n\u003c!--- ** Before posting, please search Issues for duplicates ** --> \r\n\r\n## Description\r\n\u003c!--- Use a title that describes what is happening. -->\r\n\u003c!--- Give a description of the proposed change. -->\r\n\r\nWhenever I try to load a Processing sketch in Python, other than an example sketch via the \"Examples\" selection dialog, the IDE crashes and closes by itself. I tried opening the sketch via \"Open Recent\", \"Open\" and even the \"Sketchbook\" selection dialog, but still the sketch fails to load. Java mode does not have this issue. \r\n\r\n## Expected Behavior\r\n\u003c!--- Bug? Tell us what you were expecting. -->\r\n\u003c!--- Improvement? Tell us how you’d like it to work. -->\r\n\r\nThe Python sketch _should_ load without further issues, just as a Java sketch would (and does).\r\n\r\n## Current Behavior\r\n\u003c!--- Explain the difference from current behavior. -->\r\n\r\nWhen I try to load the sketch, I get this error:\r\n\r\n\r\n\r\n## Steps to Reproduce\r\n\u003c!--- Provide an unambiguous set of steps to reproduce. -->\r\n\u003c!--- Including code will make it more likely to be fixed. -->\r\n1. Install Python Mode for Processing 4 via Contribution Manager (version 4001)\r\n2. Load a sketch via the aforementioned methods (any method other than the \"Examples\" dialog). I usually load an example sketch, save it in a different folder (using \"Save As\", of course), then close the IDE and try to open the same sketch from its new location. \r\n3. Wait for the error message to show up.\r\n\r\n## Your Environment\r\n\u003c!--- Include details about your environment. -->\r\n\u003c!--- Thousands of people use Processing every day and may not have this issue, --> \r\n\u003c!--- so this gives us clues about why you’re running into a problem. -->\r\n* Processing version: 4.3\r\n* Operating System and OS version: Linux Mint 21.2\r\n* Other information: Python Mode for Processing 4 version 4001\r\n\r\n## Possible Causes / Solutions\r\n\u003c!--- Optionally, if you have a diagnosis or fix in mind, please share. -->\r\nHopefully it's just a fixable bug in file handling somewhere. I don't know for sure yet, though.","author":{"url":"https://github.com/processing-bot","@type":"Person","name":"processing-bot"},"datePublished":"2023-10-08T13:34:10Z","url":"https://github.com/processing/processing4/issues/793"}
| 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:db597008-ef77-31cd-9134-7f158257a94f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1FA:17C530:8E4A99:B810D5:6B062EC3 |
| html-safe-nonce | c766b4e20911623e2965781933ef296ad9abe689e89ec99d8d61d774e81d8c2d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUZBOjE3QzUzMDo4RTRBOTk6QjgxMEQ1OjZCMDYyRUMzIiwidmlzaXRvcl9pZCI6IjE2MTE0NDA3MDQ0MTEwMjA5OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 841da97e3483463ffd8a665f288f99e0eb413593bfa5b1e873a117b7cbe18f96 |
| hovercard-subject-tag | issue:2472652732 |
| 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/processing/processing4/793/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f3a51d004b59d0d09e00df1964f9a42499e76289ed88fd62f2c399db3425d6c1/processing/processing4/issues/793 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f3a51d004b59d0d09e00df1964f9a42499e76289ed88fd62f2c399db3425d6c1/processing/processing4/issues/793 |
| og:image:alt | In GitLab by @Zishan-Rahman on Oct 8, 2023, 15:34 Description Whenever I try to load a Processing sketch in Python, other than an example sketch via the "Examples" selection dialog, the IDE crashes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | processing-bot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| 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 | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width