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: github.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:c04b6953-6226-3c63-8a1c-aaf13d399c21 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8320:42949:18960:1D27A:699118F4 |
| html-safe-nonce | 2d674ed32c6ebb8e678195a6c49f7e98bbfdfe8a15877684007494b0df4e81f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzIwOjQyOTQ5OjE4OTYwOjFEMjdBOjY5OTExOEY0IiwidmlzaXRvcl9pZCI6IjgzNDE1Njc4NjIwODc5NDg1MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7bba90cb1179bac5d79b5b4660693cde05907e6fc279044ce344715175da4a76 |
| 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 | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width