René's URL Explorer Experiment


Title: Javascript function in React doesn't work after build in Prod. · Issue #732 · python-eel/Eel · GitHub

Open Graph Title: Javascript function in React doesn't work after build in Prod. · Issue #732 · python-eel/Eel

X Title: Javascript function in React doesn't work after build in Prod. · Issue #732 · python-eel/Eel

Description: Eel version Please state the version of Eel you're using. 0.16.0 Describe the bug A clear and concise description of what the bug is. AttributeError: module 'eel' has no attribute 'getEmailsPortal' eel.expose(getEmailsPortal) function ge...

Open Graph Description: Eel version Please state the version of Eel you're using. 0.16.0 Describe the bug A clear and concise description of what the bug is. AttributeError: module 'eel' has no attribute 'getEmailsPortal'...

X Description: Eel version Please state the version of Eel you're using. 0.16.0 Describe the bug A clear and concise description of what the bug is. AttributeError: module 'eel' has no attribute '...

Opengraph URL: https://github.com/python-eel/Eel/issues/732

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Javascript function in React doesn't work after build in Prod.","articleBody":"**Eel version**\r\nPlease state the version of Eel you're using.\r\n0.16.0\r\n\r\n**Describe the bug**\r\nA clear and concise description of what the bug is.\r\n\r\nAttributeError: module 'eel' has no attribute 'getEmailsPortal'\r\neel.expose(getEmailsPortal)\r\nfunction getEmailsPortal(){\r\n  getEmails()\r\n}\r\nWorks fine in debug mode with this config:\r\neel.init('client/src/api', allowed_extensions=['.ts'])\r\neel_kwargs = dict(\r\n     host='localhost',\r\n     port=8899,\r\n)\r\neel.start({'port': 3000}, geometry={'size': (1280, 800), 'position': (50, 50)}, **eel_kwargs)\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Go to '...'\r\n2. Click on '....'\r\n3. Scroll down to '....'\r\n4. See error\r\n\r\nnpm run build on application and package with pyinstaller\r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen.\r\n\r\nAbility to run javascript function from python in production like how it works in debug.\r\n\r\n**System Information**\r\n - OS: [e.g. Windows 10 x64, Linux Ubuntu, macOS 12]\r\nMacOS Sonoma 14\r\n - Browser: [e.g. Chrome 108.0.5359.99 (Official Build) (64-bit), Safari 16, Firefox 107.0.1]\r\n Chrome \r\n - Python Distribution: [e.g. Python.org 3.9, Anaconda3 2021.11 3.9, ActivePython 3.9]\r\n Python 3.12.3\r\n\r\n**Screenshots**\r\nIf applicable, add screenshots to help explain your problem.\r\n\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n","author":{"url":"https://github.com/kinga112","@type":"Person","name":"kinga112"},"datePublished":"2024-06-02T15:58:38Z","url":"https://github.com/python-eel/Eel/issues/732"}

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:1da342af-f0d0-f6d7-01f5-4b02b5268eff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id81B6:5C152:3B1E:49F6:6AFDF941
html-safe-nonce9a6a95b24fc74010ec93cebcac1d56bda817510c000150b9c6828da9506f8a62
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUI2OjVDMTUyOjNCMUU6NDlGNjo2QUZERjk0MSIsInZpc2l0b3JfaWQiOiI0MTUxODMwMjA2OTE2NDU4ODE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5e0111d465355999092bcfbeafae39f2035c615451e3c428e88eaaa979cd59c0
hovercard-subject-tagissue:2329732037
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/python-eel/Eel/732/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2ae218567bd9ec0005bce6102fd294d5aa52283d03d68eb4b7338dcd02920555/python-eel/Eel/issues/732
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2ae218567bd9ec0005bce6102fd294d5aa52283d03d68eb4b7338dcd02920555/python-eel/Eel/issues/732
og:image:altEel version Please state the version of Eel you're using. 0.16.0 Describe the bug A clear and concise description of what the bug is. AttributeError: module 'eel' has no attribute 'getEmailsPortal'...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekinga112
hostnamegithub.com
expected-hostnamegithub.com
Noneee3343385a977757dd145b28fabf4a119780f2615a5a36c5a89f66c9b3b5616d
turbo-cache-controlno-preview
go-importgithub.com/python-eel/Eel git https://github.com/python-eel/Eel.git
octolytics-dimension-user_id114726397
octolytics-dimension-user_loginpython-eel
octolytics-dimension-repository_id115559503
octolytics-dimension-repository_nwopython-eel/Eel
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id115559503
octolytics-dimension-repository_network_root_nwopython-eel/Eel
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
release43ae91995f6e2d5ff7a491f3de438f1f723adeaa
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-eel/Eel/issues/732#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-eel%2FEel%2Fissues%2F732
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%2Fpython-eel%2FEel%2Fissues%2F732
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=python-eel%2FEel
Reloadhttps://github.com/python-eel/Eel/issues/732
Reloadhttps://github.com/python-eel/Eel/issues/732
Reloadhttps://github.com/python-eel/Eel/issues/732
python-eelhttps://github.com/python-eel
Eelhttps://github.com/python-eel/Eel
Codehttps://github.com/python-eel/Eel
Issues191 (191)https://github.com/python-eel/Eel/issues
Pull requests22 (22)https://github.com/python-eel/Eel/pulls
Actionshttps://github.com/python-eel/Eel/actions
Projectshttps://github.com/python-eel/Eel/projects
Security and qualityhttps://github.com/python-eel/Eel/security
Insightshttps://github.com/python-eel/Eel/insights
https://github.com/python-eel/Eel
Javascript function in React doesn't work after build in Prod.https://github.com/python-eel/Eel/issues/732#top
bughttps://github.com/python-eel/Eel/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/kinga112
kinga112https://github.com/kinga112
on Jun 2, 2024https://github.com/python-eel/Eel/issues/732#issue-2329732037
kinga112https://github.com/kinga112
bughttps://github.com/python-eel/Eel/issues?q=state%3Aopen%20label%3A%22bug%22
on Jun 2, 2024https://github.com/python-eel/Eel/issues/732#event-13012199158
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-eel/Eel/issues/732
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-eel/Eel/issues/732
bughttps://github.com/python-eel/Eel/issues?q=state%3Aopen%20label%3A%22bug%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.