Title: UnboundLocalError: local variable 'success' referenced before assignment · Issue #10 · naksyn/PythonMemoryModule · GitHub
Open Graph Title: UnboundLocalError: local variable 'success' referenced before assignment · Issue #10 · naksyn/PythonMemoryModule
X Title: UnboundLocalError: local variable 'success' referenced before assignment · Issue #10 · naksyn/PythonMemoryModule
Description: I'm trying to run a DLL that I wrote in Visual Studio for windows through memory but am running into this error when I try to initialize it. I am running Python 3.10.11, I followed the readme's example to set up a basic test but am runni...
Open Graph Description: I'm trying to run a DLL that I wrote in Visual Studio for windows through memory but am running into this error when I try to initialize it. I am running Python 3.10.11, I followed the readme's exa...
X Description: I'm trying to run a DLL that I wrote in Visual Studio for windows through memory but am running into this error when I try to initialize it. I am running Python 3.10.11, I followed the readme...
Opengraph URL: https://github.com/naksyn/PythonMemoryModule/issues/10
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UnboundLocalError: local variable 'success' referenced before assignment","articleBody":"I'm trying to run a DLL that I wrote in Visual Studio for windows through memory but am running into this error when I try to initialize it. I am running Python 3.10.11, I followed the readme's example to set up a basic test but am running into this issue. Any Ideas?\r\n\r\n```\r\nAfter resolving many imports it reaches this point \r\n...\r\n\r\nDEBUG: Executing TLS.\r\nDEBUG: no TLS address found\r\nDEBUG: Starting new thread to execute PE\r\nDEBUG: Checking for entry point.\r\nDEBUG: Calling dll entrypoint 0x18006f0ff with DLL_PROCESS_ATTACH\r\nexception: access violation writing 0x000000018006F0FF\r\nException in thread Thread-1 (execPE):\r\nTraceback (most recent call last):\r\n File \"C:\\Program Files\\Python310\\lib\\threading.py\", line 1016, in _bootstrap_inner\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\Administrator\\Desktop\\PythonMemoryModule\\s.py\", line 833, in \u003cmodule\u003e\r\n main()\r\n File \"C:\\Users\\Administrator\\Desktop\\PythonMemoryModule\\s.py\", line 807, in main\r\n startDll(w,h)\r\nOSError: exception: access violation writing 0x000000018006F8B1\r\n self.run()\r\n File \"C:\\Program Files\\Python310\\lib\\threading.py\", line 953, in run\r\n self._target(*self._args, **self._kwargs)\r\n File \"C:\\Users\\Administrator\\Desktop\\PythonMemoryModule\\pythonmemorymodule\\__init__.py\", line 556, in execPE\r\n if not bool(success):\r\nUnboundLocalError: local variable 'success' referenced before assignment```\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/gokurosaki","@type":"Person","name":"gokurosaki"},"datePublished":"2024-11-15T00:41:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/PythonMemoryModule/issues/10"}
| 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:b2b006f2-f90d-17e7-69a4-dc69b3bfb873 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9618:173201:82A257:8DE98B:698FA52A |
| html-safe-nonce | 554a32f09c4c8e92c01bd138a2e7f28cf4c1184ffc5662f3b826eddcd1a8396a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjE4OjE3MzIwMTo4MkEyNTc6OERFOThCOjY5OEZBNTJBIiwidmlzaXRvcl9pZCI6IjUzNTM3NzM3OTM5MDU5NzY2MTgiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | 6a511c2942062ecc54528c95825696e446fe7221d645b37f588456a25e60b139 |
| hovercard-subject-tag | issue:2660433140 |
| 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/naksyn/PythonMemoryModule/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d47a0d226cb046bfe9968a6969a2d2dad679cc8517c25bddb1a97e363c29c47c/naksyn/PythonMemoryModule/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d47a0d226cb046bfe9968a6969a2d2dad679cc8517c25bddb1a97e363c29c47c/naksyn/PythonMemoryModule/issues/10 |
| og:image:alt | I'm trying to run a DLL that I wrote in Visual Studio for windows through memory but am running into this error when I try to initialize it. I am running Python 3.10.11, I followed the readme's exa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gokurosaki |
| hostname | github.com |
| expected-hostname | github.com |
| None | ff0b5286b4f7cd2eb22d357a0ae8fb9a0ae1eaf6abfbae7410c3b315d16414e1 |
| turbo-cache-control | no-preview |
| go-import | github.com/naksyn/PythonMemoryModule git https://github.com/naksyn/PythonMemoryModule.git |
| octolytics-dimension-user_id | 59816245 |
| octolytics-dimension-user_login | naksyn |
| octolytics-dimension-repository_id | 585501613 |
| octolytics-dimension-repository_nwo | naksyn/PythonMemoryModule |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 585501613 |
| octolytics-dimension-repository_network_root_nwo | naksyn/PythonMemoryModule |
| 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 | 5268d66f533eb3b2e65a6a398a739f35827fd64a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width