René's URL Explorer Experiment


Title: Convert Python stack trace to Java stack trace · Issue #10 · GateNLP/gateplugin-Python · GitHub

Open Graph Title: Convert Python stack trace to Java stack trace · Issue #10 · GateNLP/gateplugin-Python

X Title: Convert Python stack trace to Java stack trace · Issue #10 · GateNLP/gateplugin-Python

Description: If the Python code raises an Exception then this GATE plugin handles this by noting that it couldn't read JSON from the Python process and closing the pipeline. In some sense this works, in that processing is halted, but it's not very cl...

Open Graph Description: If the Python code raises an Exception then this GATE plugin handles this by noting that it couldn't read JSON from the Python process and closing the pipeline. In some sense this works, in that pr...

X Description: If the Python code raises an Exception then this GATE plugin handles this by noting that it couldn't read JSON from the Python process and closing the pipeline. In some sense this works, in tha...

Opengraph URL: https://github.com/GateNLP/gateplugin-Python/issues/10

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Convert Python stack trace to Java stack trace ","articleBody":"If the Python code raises an Exception then this GATE plugin handles this by noting that it couldn't read JSON from the Python process and closing the pipeline.\r\n\r\nIn some sense this works, in that processing is halted, but it's not very clean and the plugin couldn't be more intelligent about catching the Exception (on the Python side) and reporting it via a particular JSON message.\r\n\r\nHere's an example from a (accidentally misconfigured) rumourVeracity Python code:\r\n\r\n```\r\nUsing Theano backend.\r\nTraceback (most recent call last):\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/veracity_gate.py\", line 4, in \u003cmodule>\r\n    from innerAttentionModel import InnerAttentionModel\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/innerAttentionModel.py\", line 5, in \u003cmodule>\r\n    from keras import backend as K\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/__init__.py\", line 3, in \u003cmodule>\r\n    from . import utils\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/utils/__init__.py\", line 6, in \u003cmodule>\r\n    from . import conv_utils\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/utils/conv_utils.py\", line 9, in \u003cmodule>\r\n    from .. import backend as K\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/backend/__init__.py\", line 86, in \u003cmodule>\r\n    from .theano_backend import *\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/backend/theano_backend.py\", line 7, in \u003cmodule>\r\n    import theano\r\nImportError: No module named theano\r\nUnable to read JSON from python process, closing pipeline\r\ncom.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input\r\n at [Source: java.io.BufferedReader@69946c29; line: 1, column: 1]\r\n\tat com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3036)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2978)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2128)\r\n\tat gate.python.PythonPR.execute(PythonPR.java:158)\r\n\tat gate.util.Benchmark.executeWithBenchmarking(Benchmark.java:291)\r\n\tat gate.creole.SerialController.runComponent(SerialController.java:225)\r\n\tat gate.creole.SerialController.executeImpl(SerialController.java:157)\r\n\tat gate.creole.AbstractController.execute(AbstractController.java:78)\r\n\tat gate.util.Benchmark.executeWithBenchmarking(Benchmark.java:291)\r\n\tat gate.gui.SerialControllerEditor$RunAction$1.run(SerialControllerEditor.java:1759)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\ngate.creole.ExecutionException: Unable to read JSON from python process - perhaps process printed to stdout? (use stderr instead)\r\n\tat gate.python.PythonPR.execute(PythonPR.java:165)\r\n\tat gate.util.Benchmark.executeWithBenchmarking(Benchmark.java:291)\r\n\tat gate.creole.SerialController.runComponent(SerialController.java:225)\r\n\tat gate.creole.SerialController.executeImpl(SerialController.java:157)\r\n\tat gate.creole.AbstractController.execute(AbstractController.java:78)\r\n\tat gate.util.Benchmark.executeWithBenchmarking(Benchmark.java:291)\r\n\tat gate.gui.SerialControllerEditor$RunAction$1.run(SerialControllerEditor.java:1759)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\nCaused by: com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input\r\n at [Source: java.io.BufferedReader@69946c29; line: 1, column: 1]\r\n\tat com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3036)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2978)\r\n\tat com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2128)\r\n\tat gate.python.PythonPR.execute(PythonPR.java:158)\r\n\t... 7 more\r\nUsing Theano backend.\r\nTraceback (most recent call last):\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/veracity_gate.py\", line 4, in \u003cmodule>\r\n    from innerAttentionModel import InnerAttentionModel\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/innerAttentionModel.py\", line 5, in \u003cmodule>\r\n    from keras import backend as K\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/__init__.py\", line 3, in \u003cmodule>\r\n    from . import utils\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/utils/__init__.py\", line 6, in \u003cmodule>\r\n    from . import conv_utils\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/utils/conv_utils.py\", line 9, in \u003cmodule>\r\n    from .. import backend as K\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/backend/__init__.py\", line 86, in \u003cmodule>\r\n    from .theano_backend import *\r\n  File \"/home/ac1xdrj/prj/models/rumourVeracity/venv/local/lib/python2.7/site-packages/keras/backend/theano_backend.py\", line 7, in \u003cmodule>\r\n    import theano\r\nImportError: No module named theano\r\n```","author":{"url":"https://github.com/drj11","@type":"Person","name":"drj11"},"datePublished":"2019-05-02T12:55:22Z","url":"https://github.com/GateNLP/gateplugin-Python/issues/10"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a0fe3f80-8c8d-7200-4552-8e27b91df499
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A9C:E9D16:FDCA1F:1414632:6B0149F6
html-safe-nonce77ef0be2fae07f3ce2793b78dcacacdcdde6a4f5fb0361d7aa9af44746c36952
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTlDOkU5RDE2OkZEQ0ExRjoxNDE0NjMyOjZCMDE0OUY2IiwidmlzaXRvcl9pZCI6IjE5NTYxNTc5MzYzODg2MjI4MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4de56eb58794c876477bf2b1bacdfca5aeea70d40078fa1b9ad6b78add27ebe4
hovercard-subject-tagissue:439575974
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/GateNLP/gateplugin-Python/10/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f413c245b24e70fac119b0096d0edc2a6fe8637ceda75a7d6b3e0b1f42734270/GateNLP/gateplugin-Python/issues/10
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f413c245b24e70fac119b0096d0edc2a6fe8637ceda75a7d6b3e0b1f42734270/GateNLP/gateplugin-Python/issues/10
og:image:altIf the Python code raises an Exception then this GATE plugin handles this by noting that it couldn't read JSON from the Python process and closing the pipeline. In some sense this works, in that pr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedrj11
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/GateNLP/gateplugin-Python git https://github.com/GateNLP/gateplugin-Python.git
octolytics-dimension-user_id14233746
octolytics-dimension-user_loginGateNLP
octolytics-dimension-repository_id49946268
octolytics-dimension-repository_nwoGateNLP/gateplugin-Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49946268
octolytics-dimension-repository_network_root_nwoGateNLP/gateplugin-Python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/GateNLP/gateplugin-Python/issues/10#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGateNLP%2Fgateplugin-Python%2Fissues%2F10
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGateNLP%2Fgateplugin-Python%2Fissues%2F10
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=GateNLP%2Fgateplugin-Python
Reloadhttps://github.com/GateNLP/gateplugin-Python/issues/10
Reloadhttps://github.com/GateNLP/gateplugin-Python/issues/10
Reloadhttps://github.com/GateNLP/gateplugin-Python/issues/10
GateNLPhttps://github.com/GateNLP
gateplugin-Pythonhttps://github.com/GateNLP/gateplugin-Python
Codehttps://github.com/GateNLP/gateplugin-Python
Issues6 (6)https://github.com/GateNLP/gateplugin-Python/issues
Pull requests1 (1)https://github.com/GateNLP/gateplugin-Python/pulls
Actionshttps://github.com/GateNLP/gateplugin-Python/actions
Projectshttps://github.com/GateNLP/gateplugin-Python/projects
Security and qualityhttps://github.com/GateNLP/gateplugin-Python/security
Insightshttps://github.com/GateNLP/gateplugin-Python/insights
https://github.com/GateNLP/gateplugin-Python
New issuehttps://github.com/login?return_to=https://github.com/GateNLP/gateplugin-Python/issues/10
New issuehttps://github.com/login?return_to=https://github.com/GateNLP/gateplugin-Python/issues/10
Convert Python stack trace to Java stack trace https://github.com/GateNLP/gateplugin-Python/issues/10#top
enhancementhttps://github.com/GateNLP/gateplugin-Python/issues?q=state%3Aopen%20label%3A%22enhancement%22
laterhttps://github.com/GateNLP/gateplugin-Python/issues?q=state%3Aopen%20label%3A%22later%22
https://github.com/drj11
drj11https://github.com/drj11
on May 2, 2019https://github.com/GateNLP/gateplugin-Python/issues/10#issue-439575974
https://github.com/drj11
drj11https://github.com/drj11
on May 2, 2019https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-488663180
https://github.com/ianroberts
ianrobertshttps://github.com/ianroberts
on May 2, 2019https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-488700124
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Dec 17, 2019https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-566801602
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Dec 19, 2019https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-567272540
@ianrobertshttps://github.com/ianroberts
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-576595217
johann-petrakhttps://github.com/johann-petrak
completedhttps://github.com/GateNLP/gateplugin-Python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#event-2965450119
https://github.com/greenwoodma
greenwoodmahttps://github.com/greenwoodma
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-576597370
https://github.com/GateNLP/gateplugin-ANNIE/blob/fea2e875a5aedb1b8f602f65d9902a9d5078c6ae/src/main/java/gate/jape/SourceInfo.java#L92https://github.com/GateNLP/gateplugin-ANNIE/blob/fea2e875a5aedb1b8f602f65d9902a9d5078c6ae/src/main/java/gate/jape/SourceInfo.java#L92
https://github.com/greenwoodma
greenwoodmahttps://github.com/greenwoodma
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-576597687
johann-petrakhttps://github.com/johann-petrak
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#event-2965712161
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-576627629
@ianrobertshttps://github.com/ianroberts
johann-petrakhttps://github.com/johann-petrak
enhancementhttps://github.com/GateNLP/gateplugin-Python/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#event-2965731073
https://github.com/ianroberts
ianrobertshttps://github.com/ianroberts
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-576677777
@ianrobertshttps://github.com/ianroberts
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Jan 21, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-576796656
johann-petrakhttps://github.com/johann-petrak
completedhttps://github.com/GateNLP/gateplugin-Python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 23, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#event-2972641656
https://github.com/greenwoodma
greenwoodmahttps://github.com/greenwoodma
on Jan 27, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-578880797
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Jan 27, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-578985034
https://github.com/ianroberts
ianrobertshttps://github.com/ianroberts
on Jan 27, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-578995950
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Jan 27, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-579008371
https://github.com/greenwoodma
greenwoodmahttps://github.com/greenwoodma
on Jan 28, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-579085805
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Jan 28, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-579165171
johann-petrakhttps://github.com/johann-petrak
on Jan 28, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#event-2984948862
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Jan 28, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-579171923
#29https://github.com/GateNLP/gateplugin-Python/issues/29
https://github.com/greenwoodma
greenwoodmahttps://github.com/greenwoodma
on Jan 28, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-579174678
https://github.com/johann-petrak
johann-petrakhttps://github.com/johann-petrak
on Jan 28, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#issuecomment-579193571
johann-petrakhttps://github.com/johann-petrak
on Oct 20, 2020https://github.com/GateNLP/gateplugin-Python/issues/10#event-3896908401
johann-petrakhttps://github.com/johann-petrak
laterhttps://github.com/GateNLP/gateplugin-Python/issues?q=state%3Aopen%20label%3A%22later%22
on Jan 22, 2021https://github.com/GateNLP/gateplugin-Python/issues/10#event-4238353581
Sign up for freehttps://github.com/signup?return_to=https://github.com/GateNLP/gateplugin-Python/issues/10
Sign in to commenthttps://github.com/login?return_to=https://github.com/GateNLP/gateplugin-Python/issues/10
enhancementhttps://github.com/GateNLP/gateplugin-Python/issues?q=state%3Aopen%20label%3A%22enhancement%22
laterhttps://github.com/GateNLP/gateplugin-Python/issues?q=state%3Aopen%20label%3A%22later%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.