Title: Guide users to Python options when trying to run scyjava python scripts · Issue #13 · scijava/scripting-python · GitHub
Open Graph Title: Guide users to Python options when trying to run scyjava python scripts · Issue #13 · scijava/scripting-python
X Title: Guide users to Python options when trying to run scyjava python scripts · Issue #13 · scijava/scripting-python
Description: If we are not in python mode but select Python (scyjava) from the script language list, or try to actually run a Python (scyjava) script, we should inform the user that they need to restart in Python mode and perhaps even open the Python...
Open Graph Description: If we are not in python mode but select Python (scyjava) from the script language list, or try to actually run a Python (scyjava) script, we should inform the user that they need to restart in Pyth...
X Description: If we are not in python mode but select Python (scyjava) from the script language list, or try to actually run a Python (scyjava) script, we should inform the user that they need to restart in Pyth...
Opengraph URL: https://github.com/scijava/scripting-python/issues/13
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Guide users to Python options when trying to run scyjava python scripts","articleBody":"If we are not in python mode but select `Python (scyjava)` from the script language list, or try to actually run a `Python (scyjava)` script, we should inform the user that they need to restart in Python mode and perhaps even open the Python settings for them.\n\nCurrently we just get an error when we run:\n```\nStarted New_.py at Sat Aug 23 14:18:16 CDT 2025\njava.lang.IllegalStateException: The PythonScriptRunner could not be found in the ObjectService. To use the\nPython script engine, you must call scyjava.enable_scijava_scripting(context)\nwith this script engine's associated SciJava context before using it.\n\tat org.scijava.plugins.scripting.python.PythonScriptEngine.eval(PythonScriptEngine.java:81)\n\tat org.scijava.script.ScriptModule.run(ScriptModule.java:173)\n\tat org.scijava.module.ModuleRunner.run(ModuleRunner.java:165)\n\tat org.scijava.module.ModuleRunner.call(ModuleRunner.java:125)\n\tat org.scijava.module.ModuleRunner.call(ModuleRunner.java:64)\n\tat org.scijava.thread.DefaultThreadService.lambda$wrap$2(DefaultThreadService.java:247)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\n```","author":{"url":"https://github.com/hinerm","@type":"Person","name":"hinerm"},"datePublished":"2025-08-23T19:20:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/13/scripting-python/issues/13"}
| 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:c43f8e3c-8402-0ab0-f63e-a5ed59658d09 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B770:3410DA:8A6575F:B4D8A10:696CCBB9 |
| html-safe-nonce | f4c9ffcb7137adb9704801e27ee797d76ab9cc451ff5f21c7a629fa808aab4a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzcwOjM0MTBEQTo4QTY1NzVGOkI0RDhBMTA6Njk2Q0NCQjkiLCJ2aXNpdG9yX2lkIjoiMjQ2NTI2NDg0NDAyNTk0MDkyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a7c1af9fa8cc339fdde0ea6f7200b48c9883457c32b6ce08e9b29c02fbaedde6 |
| hovercard-subject-tag | issue:3348684388 |
| 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/scijava/scripting-python/13/issue_layout |
| twitter:image | https://opengraph.githubassets.com/77bd94b9eca61cca06b3a10616082c5f7ea926ced6fc1eb01cdaafad0c58f1d9/scijava/scripting-python/issues/13 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/77bd94b9eca61cca06b3a10616082c5f7ea926ced6fc1eb01cdaafad0c58f1d9/scijava/scripting-python/issues/13 |
| og:image:alt | If we are not in python mode but select Python (scyjava) from the script language list, or try to actually run a Python (scyjava) script, we should inform the user that they need to restart in Pyth... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hinerm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31994babd8463b50f2371f63aab0826561f4efe3981ac0ebc4c33e6c41032dbd |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scripting-python git https://github.com/scijava/scripting-python.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 439661642 |
| octolytics-dimension-repository_nwo | scijava/scripting-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 439661642 |
| octolytics-dimension-repository_network_root_nwo | scijava/scripting-python |
| 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 | f5a202c3c4aefc9cf00c8c78951a1e72eaebebeb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width