René's URL Explorer Experiment


Title: IRkernel does not handle interrupt_message control message · Issue #727 · IRkernel/IRkernel · GitHub

Open Graph Title: IRkernel does not handle interrupt_message control message · Issue #727 · IRkernel/IRkernel

X Title: IRkernel does not handle interrupt_message control message · Issue #727 · IRkernel/IRkernel

Description: I followed the official installation instructions I reproduced the error with the newest versions of IRkernel, IRdisplay, and repr I included a minimal reproducible example This the right repository: I think the issue is with IRkernel, n...

Open Graph Description: I followed the official installation instructions I reproduced the error with the newest versions of IRkernel, IRdisplay, and repr I included a minimal reproducible example This the right repositor...

X Description: I followed the official installation instructions I reproduced the error with the newest versions of IRkernel, IRdisplay, and repr I included a minimal reproducible example This the right repositor...

Opengraph URL: https://github.com/IRkernel/IRkernel/issues/727

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IRkernel does not handle interrupt_message control message","articleBody":"\u003c!--Before submitting an issue please be sure you can check these boxes (`[ ]` → `[x]`):--\u003e\r\n\r\n- [x] I followed the [official installation instructions](https://irkernel.github.io/installation/)\r\n  \u003c!--If you have an installation problem, a segfault, `caught illegal operation`, `cannot open shared object file`,  …\r\n      and installed IRkernel using Anaconda, please report your issue to them instead.--\u003e\r\n- [x] I reproduced the error with the newest versions of `IRkernel`, `IRdisplay`, and `repr`\r\n  \u003c!--If the following code installs packages, you didn’t yet:\r\n      old_pkgs \u003c- intersect(old.packages()[, 'Package'], c('IRkernel', 'IRdisplay', 'repr'))\r\n      if (length(old_pkgs) \u003e 0) install.packages(old_pkgs)\r\n  --\u003e\r\n- [ ] I included a [minimal reproducible example](https://stackoverflow.com/a/5963610/247482)\r\n- [x] This the right repository: I think the issue is with IRkernel, not\r\n      [IRkernel/repr](https://github.com/IRkernel/repr/issues/new) or a third party repository\r\n  \u003c!--If the way a value is displayed is ugly or you got `ERROR while rich displaying an object`, it’s a `repr` problem.\r\n      If an error stack trace or the install log shows a problem in another package, go to its issue tracker.--\u003e\r\n\r\nMy team deploys IRkernel 1.3.1 as remote kernels for a Jupyter-compatible notebook webapp.\r\n\r\nWe install it in a Docker image with ```IRkernel::installspec(user = FALSE)```.\r\n\r\nOur architecture implements implements the [Messaging protocol here](https://jupyter-client.readthedocs.io/en/stable/messaging.html#) for communicating with Jupyter kernels.\r\n\r\nThe issue we encounter is in interrupting the kernels. We send [the `interrupt_request` message type to the remote kernel via the CONTROL channel](https://jupyter-client.readthedocs.io/en/stable/messaging.html#kernel-interrupt). This works well for [ipykernel](https://github.com/ipython/ipykernel/blob/v6.20.1/ipykernel/kernelbase.py#L910-L915), but not at all for IRkernel.\r\n\r\nDigging into the code for v1.3.1 I see that the kernel [handles only one message in the CONTROL channel](https://github.com/IRkernel/IRkernel/blob/1.3.1/R/kernel.r#L329-L340), `shutdown_request`.\r\n\r\nIt would be nice if IRkernel could handle the `interrupt_request` message type the same way it does with SIGINT.\r\n\r\n## Related\r\n\r\nThis might be related to this issue with Jupyter Notebook https://github.com/IRkernel/IRkernel/issues/677\r\n\r\nAnd implementation could be similar to https://github.com/IRkernel/IRkernel/pull/704 for `kernel_info_request`.\r\n","author":{"url":"https://github.com/ahjota","@type":"Person","name":"ahjota"},"datePublished":"2023-01-12T19:29:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/727/IRkernel/issues/727"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bbd03e2a-70f1-59c5-f957-f90f6b3394fa
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE75C:331A8B:22015:30FB6:6978A6BD
html-safe-noncee2a61c5ef793f7516bb7f2fc4604509c6f6437dc54ec7e31bc700cfbe9d9b872
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzVDOjMzMUE4QjoyMjAxNTozMEZCNjo2OTc4QTZCRCIsInZpc2l0b3JfaWQiOiI3Mjg2ODA0NjM4MzE5Njc0MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd0d9fb7aeb891700a63beecc787aaeab7278a5e8ca8d11b2296d6ae2b368bc01
hovercard-subject-tagissue:1531246570
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/IRkernel/IRkernel/727/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9f4a2cd7d1c165df4c5d6289b6f21374b6ce6cbed21702fa2942d74ed8cc7caf/IRkernel/IRkernel/issues/727
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f4a2cd7d1c165df4c5d6289b6f21374b6ce6cbed21702fa2942d74ed8cc7caf/IRkernel/IRkernel/issues/727
og:image:altI followed the official installation instructions I reproduced the error with the newest versions of IRkernel, IRdisplay, and repr I included a minimal reproducible example This the right repositor...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahjota
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/IRkernel/IRkernel git https://github.com/IRkernel/IRkernel.git
octolytics-dimension-user_id11616939
octolytics-dimension-user_loginIRkernel
octolytics-dimension-repository_id17196838
octolytics-dimension-repository_nwoIRkernel/IRkernel
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17196838
octolytics-dimension-repository_network_root_nwoIRkernel/IRkernel
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
releasef8aa86d87c47054170094daaf9699b27a28a8448
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/IRkernel/IRkernel/issues/727#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FIRkernel%2FIRkernel%2Fissues%2F727
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FIRkernel%2FIRkernel%2Fissues%2F727
Sign up https://patch-diff.githubusercontent.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=IRkernel%2FIRkernel
Reloadhttps://patch-diff.githubusercontent.com/IRkernel/IRkernel/issues/727
Reloadhttps://patch-diff.githubusercontent.com/IRkernel/IRkernel/issues/727
Reloadhttps://patch-diff.githubusercontent.com/IRkernel/IRkernel/issues/727
IRkernel https://patch-diff.githubusercontent.com/IRkernel
IRkernelhttps://patch-diff.githubusercontent.com/IRkernel/IRkernel
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FIRkernel%2FIRkernel
Fork 298 https://patch-diff.githubusercontent.com/login?return_to=%2FIRkernel%2FIRkernel
Star 1.7k https://patch-diff.githubusercontent.com/login?return_to=%2FIRkernel%2FIRkernel
Code https://patch-diff.githubusercontent.com/IRkernel/IRkernel
Issues 63 https://patch-diff.githubusercontent.com/IRkernel/IRkernel/issues
Pull requests 8 https://patch-diff.githubusercontent.com/IRkernel/IRkernel/pulls
Actions https://patch-diff.githubusercontent.com/IRkernel/IRkernel/actions
Security 0 https://patch-diff.githubusercontent.com/IRkernel/IRkernel/security
Insights https://patch-diff.githubusercontent.com/IRkernel/IRkernel/pulse
Code https://patch-diff.githubusercontent.com/IRkernel/IRkernel
Issues https://patch-diff.githubusercontent.com/IRkernel/IRkernel/issues
Pull requests https://patch-diff.githubusercontent.com/IRkernel/IRkernel/pulls
Actions https://patch-diff.githubusercontent.com/IRkernel/IRkernel/actions
Security https://patch-diff.githubusercontent.com/IRkernel/IRkernel/security
Insights https://patch-diff.githubusercontent.com/IRkernel/IRkernel/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/IRkernel/IRkernel/issues/727
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/IRkernel/IRkernel/issues/727
IRkernel does not handle interrupt_message control messagehttps://patch-diff.githubusercontent.com/IRkernel/IRkernel/issues/727#top
https://github.com/ahjota
https://github.com/ahjota
ahjotahttps://github.com/ahjota
on Jan 12, 2023https://github.com/IRkernel/IRkernel/issues/727#issue-1531246570
official installation instructionshttps://irkernel.github.io/installation/
minimal reproducible examplehttps://stackoverflow.com/a/5963610/247482
IRkernel/reprhttps://github.com/IRkernel/repr/issues/new
Messaging protocol herehttps://jupyter-client.readthedocs.io/en/stable/messaging.html
the interrupt_request message type to the remote kernel via the CONTROL channelhttps://jupyter-client.readthedocs.io/en/stable/messaging.html#kernel-interrupt
ipykernelhttps://github.com/ipython/ipykernel/blob/v6.20.1/ipykernel/kernelbase.py#L910-L915
handles only one message in the CONTROL channelhttps://github.com/IRkernel/IRkernel/blob/1.3.1/R/kernel.r#L329-L340
#677https://github.com/IRkernel/IRkernel/issues/677
#704https://github.com/IRkernel/IRkernel/pull/704
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.