Title: Creating an exe with pyinstaller issue · Issue #157 · Pokemon-PythonRed/Pokemon-PythonRed · GitHub
Open Graph Title: Creating an exe with pyinstaller issue · Issue #157 · Pokemon-PythonRed/Pokemon-PythonRed
X Title: Creating an exe with pyinstaller issue · Issue #157 · Pokemon-PythonRed/Pokemon-PythonRed
Description: I'm currently trying to make an exe of the program but I'm running into errors with the data file that has all of the json files. here is the current pyinstaller command " pyinstaller main.py --clean -F --icon=pokemon.ico --add-data "dat...
Open Graph Description: I'm currently trying to make an exe of the program but I'm running into errors with the data file that has all of the json files. here is the current pyinstaller command " pyinstaller main.py --cle...
X Description: I'm currently trying to make an exe of the program but I'm running into errors with the data file that has all of the json files. here is the current pyinstaller command " pyinstaller ...
Opengraph URL: https://github.com/Pokemon-PythonRed/Pokemon-PythonRed/issues/157
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Creating an exe with pyinstaller issue","articleBody":"I'm currently trying to make an exe of the program but I'm running into errors with the data file that has all of the json files.\r\nhere is the current pyinstaller command \" pyinstaller main.py --clean -F --icon=pokemon.ico --add-data \"data;data\" \". \r\nit creates the game with no problem but after the title screen loads the error \r\n- - - INTERNAL ERROR - - -\r\n\r\nERROR MESSAGE: Failed to load dex.json!\r\n\r\nIf you have not edited any files, feel free to create an issue on the repository by going to the link below.\r\n\r\nNote: your save file will be preserved in the program folder. Any unsaved progress will be lost (sorry).\r\n\r\n[https://github.com/Pokemon-PythonRed/Pokemon-PythonRed/issues/new/choose]\r\n\r\nPress Enter to exit.\r\n\r\nI have a feeling that the way the main code imports the json files cant after combining the jsons with the main.py in an exe.\r\nAny input would be apricated.\r\n\r\nRespectfully,\r\nAKABigDinner","author":{"url":"https://github.com/AKABigDinner","@type":"Person","name":"AKABigDinner"},"datePublished":"2024-07-30T15:30:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/157/Pokemon-PythonRed/issues/157"}
| 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:e0d696f9-1f2e-2a31-7f22-8d500433108e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3F2:6D260:13B48E4:1AE36FC:6A4D7294 |
| html-safe-nonce | 69e7f94eb53ce74b48bf4f28c249aa22f620e79060eea0eb6e410c8c1520d0eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0YyOjZEMjYwOjEzQjQ4RTQ6MUFFMzZGQzo2QTRENzI5NCIsInZpc2l0b3JfaWQiOiI4OTA4NjExODYzMTE4NzcyNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f0cf17e23e896c8d84874535f0911cc2f18694f4483c64077b8ea2c1801402c9 |
| hovercard-subject-tag | issue:2438121076 |
| 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/Pokemon-PythonRed/Pokemon-PythonRed/157/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6037156a2f20f27e12790a69d3881edc670b8eb307669d8f71502b64a36e2bab/Pokemon-PythonRed/Pokemon-PythonRed/issues/157 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6037156a2f20f27e12790a69d3881edc670b8eb307669d8f71502b64a36e2bab/Pokemon-PythonRed/Pokemon-PythonRed/issues/157 |
| og:image:alt | I'm currently trying to make an exe of the program but I'm running into errors with the data file that has all of the json files. here is the current pyinstaller command " pyinstaller main.py --cle... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AKABigDinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| turbo-cache-control | no-preview |
| go-import | github.com/Pokemon-PythonRed/Pokemon-PythonRed git https://github.com/Pokemon-PythonRed/Pokemon-PythonRed.git |
| octolytics-dimension-user_id | 95989949 |
| octolytics-dimension-user_login | Pokemon-PythonRed |
| octolytics-dimension-repository_id | 333631383 |
| octolytics-dimension-repository_nwo | Pokemon-PythonRed/Pokemon-PythonRed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 333631383 |
| octolytics-dimension-repository_network_root_nwo | Pokemon-PythonRed/Pokemon-PythonRed |
| 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 | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width