René's URL Explorer Experiment


Title: not JSON serializable error when running flow on a task · Issue #477 · openml/openml-python · GitHub

Open Graph Title: not JSON serializable error when running flow on a task · Issue #477 · openml/openml-python

X Title: not JSON serializable error when running flow on a task · Issue #477 · openml/openml-python

Description: Description I encounter the following error when running a flow (for example 7103) on a task (for example 146607). is not JSON serializable Steps/Code to Reproduce Example: import open...

Open Graph Description: Description I encounter the following error when running a flow (for example 7103) on a task (for example 146607). is not JSON serializable Step...

X Description: Description I encounter the following error when running a flow (for example 7103) on a task (for example 146607). <openml.flows.flow.OpenMLFlow object at 0x11cc43110> is not JSON serializabl...

Opengraph URL: https://github.com/openml/openml-python/issues/477

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"not JSON serializable error when running flow on a task","articleBody":"#### Description\r\nI encounter the following error when running a flow (for example 7103) on a task (for example 146607).\r\n`\u003copenml.flows.flow.OpenMLFlow object at 0x11cc43110\u003e is not JSON serializable`\r\n\r\n#### Steps/Code to Reproduce\r\n\r\nExample:\r\n```python\r\nimport openml\r\nflow = openml.flows.get_flow(7103)\r\ntask = openml.tasks.get_task(146607)\r\nrun = runs.run_flow_on_task(task, flow)\r\n```\r\n\r\n\r\n#### Expected Results\r\nOpenMLRun object\r\n\r\n#### Actual Results\r\n```\r\n---------------------------------------------------------------------------\r\nTypeError                                 Traceback (most recent call last)\r\n\u003cipython-input-102-f7fb112d9304\u003e in \u003cmodule\u003e()\r\n----\u003e 1 run = runs.run_flow_on_task(task, flow)\r\n\r\n/usr/local/lib/python2.7/site-packages/openml-0.7.0-py2.7.egg/openml/runs/functions.pyc in run_flow_on_task(task, flow, avoid_duplicate_runs, flow_tags, seed)\r\n     85     if avoid_duplicate_runs and flow_id:\r\n     86         flow_from_server = get_flow(flow_id)\r\n---\u003e 87         setup_id = setup_exists(flow_from_server, flow.model)\r\n     88         ids = _run_exists(task.task_id, setup_id)\r\n     89         if ids:\r\n\r\n/usr/local/lib/python2.7/site-packages/openml-0.7.0-py2.7.egg/openml/setups/functions.pyc in setup_exists(flow, model)\r\n     44             raise ValueError('This should not happen!')\r\n     45 \r\n---\u003e 46     openml_param_settings = openml.runs.OpenMLRun._parse_parameters(flow, model)\r\n     47     description = xmltodict.unparse(_to_dict(flow.flow_id,\r\n     48                                              openml_param_settings),\r\n\r\n/usr/local/lib/python2.7/site-packages/openml-0.7.0-py2.7.egg/openml/runs/run.pyc in _parse_parameters(flow, model)\r\n    360         flow_dict = get_flow_dict(flow)\r\n    361         parameters = extract_parameters(flow, flow_dict, model,\r\n--\u003e 362                                         True, flow.flow_id)\r\n    363 \r\n    364         return parameters\r\n\r\n/usr/local/lib/python2.7/site-packages/openml-0.7.0-py2.7.egg/openml/runs/run.pyc in extract_parameters(_flow, _flow_dict, component_model, _main_call, main_id)\r\n    340                                 raise e\r\n    341                             elif not isinstance(step, openml.flows.OpenMLFlow):\r\n--\u003e 342                                 raise e\r\n    343                         continue\r\n    344                     else:\r\n\r\nTypeError: \u003copenml.flows.flow.OpenMLFlow object at 0x11cc43110\u003e is not JSON serializable\r\n\r\n```\r\n\r\n#### Versions\r\nDarwin-17.5.0-x86_64-i386-64bit\r\n('Python', '2.7.15 (default, May 28 2018, 14:20:45) \\n[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]')\r\n('NumPy', '1.13.3')\r\n('SciPy', '1.0.0')\r\n('Scikit-Learn', '0.18.1')\r\n('OpenML', '0.7.0')\r\n\r\n\r\n\u003c!-- Thanks for contributing! --\u003e","author":{"url":"https://github.com/dbehrouz","@type":"Person","name":"dbehrouz"},"datePublished":"2018-06-05T09:10:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/477/openml-python/issues/477"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a99ce009-1a09-f77b-243d-779373c74871
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id83EE:2C37E4:112E024:191BBA2:6A4E3951
html-safe-nonceba54a23edcf1b371db22490e4d4337ae23117cc0a6f9897f45b53621c941864f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0VFOjJDMzdFNDoxMTJFMDI0OjE5MUJCQTI6NkE0RTM5NTEiLCJ2aXNpdG9yX2lkIjoiMjU5MDM0MjYzMjUyNjcyMzQwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacafce0991ff8e3ef8ab01f75263139bef9edcd6cdd6544832f2428cf8c7ee5f73
hovercard-subject-tagissue:329366398
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/openml/openml-python/477/issue_layout
twitter:imagehttps://opengraph.githubassets.com/18e797df9640805a76fbc14761618ed1392d2299b1fde51729354befdea7c620/openml/openml-python/issues/477
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/18e797df9640805a76fbc14761618ed1392d2299b1fde51729354befdea7c620/openml/openml-python/issues/477
og:image:altDescription I encounter the following error when running a flow (for example 7103) on a task (for example 146607). is not JSON serializable Step...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedbehrouz
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
go-importgithub.com/openml/openml-python git https://github.com/openml/openml-python.git
octolytics-dimension-user_id4984562
octolytics-dimension-user_loginopenml
octolytics-dimension-repository_id17939040
octolytics-dimension-repository_nwoopenml/openml-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17939040
octolytics-dimension-repository_network_root_nwoopenml/openml-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
release42a6d378d7587a44c93aca255096cd66b7c8eb2d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/openml/openml-python/issues/477#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenml%2Fopenml-python%2Fissues%2F477
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenml%2Fopenml-python%2Fissues%2F477
Sign up https://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=openml%2Fopenml-python
Reloadhttps://github.com/openml/openml-python/issues/477
Reloadhttps://github.com/openml/openml-python/issues/477
Reloadhttps://github.com/openml/openml-python/issues/477
Please reload this pagehttps://github.com/openml/openml-python/issues/477
openml https://github.com/openml
openml-pythonhttps://github.com/openml/openml-python
Please reload this pagehttps://github.com/openml/openml-python/issues/477
Notifications https://github.com/login?return_to=%2Fopenml%2Fopenml-python
Fork 268 https://github.com/login?return_to=%2Fopenml%2Fopenml-python
Star 350 https://github.com/login?return_to=%2Fopenml%2Fopenml-python
Code https://github.com/openml/openml-python
Issues 128 https://github.com/openml/openml-python/issues
Pull requests 135 https://github.com/openml/openml-python/pulls
Discussions https://github.com/openml/openml-python/discussions
Actions https://github.com/openml/openml-python/actions
Projects https://github.com/openml/openml-python/projects
Wiki https://github.com/openml/openml-python/wiki
Security and quality 0 https://github.com/openml/openml-python/security
Insights https://github.com/openml/openml-python/pulse
Code https://github.com/openml/openml-python
Issues https://github.com/openml/openml-python/issues
Pull requests https://github.com/openml/openml-python/pulls
Discussions https://github.com/openml/openml-python/discussions
Actions https://github.com/openml/openml-python/actions
Projects https://github.com/openml/openml-python/projects
Wiki https://github.com/openml/openml-python/wiki
Security and quality https://github.com/openml/openml-python/security
Insights https://github.com/openml/openml-python/pulse
not JSON serializable error when running flow on a taskhttps://github.com/openml/openml-python/issues/477#top
https://github.com/dbehrouz
dbehrouzhttps://github.com/dbehrouz
on Jun 5, 2018https://github.com/openml/openml-python/issues/477#issue-329366398
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.