René's URL Explorer Experiment


Title: UnboundLocalError: local variable 'val' referenced before assignment · Issue #80 · frescobaldi/python-ly · GitHub

Open Graph Title: UnboundLocalError: local variable 'val' referenced before assignment · Issue #80 · frescobaldi/python-ly

X Title: UnboundLocalError: local variable 'val' referenced before assignment · Issue #80 · frescobaldi/python-ly

Description: Reported by a Frescobaldi user: Exporting the following file to MusicXML \version "2.19.49" \language "english" origBreak = { \break } ThirdTune = \relative { \repeat volta 2 { \time 4/4 \key g \major | e''4 e g8 e d b | e8 d b a d4 b | ...

Open Graph Description: Reported by a Frescobaldi user: Exporting the following file to MusicXML \version "2.19.49" \language "english" origBreak = { \break } ThirdTune = \relative { \repeat volta 2 { \time 4/4 \key g \ma...

X Description: Reported by a Frescobaldi user: Exporting the following file to MusicXML \version "2.19.49" \language "english" origBreak = { \break } ThirdTune = \relative { \repeat volta 2 { ...

Opengraph URL: https://github.com/frescobaldi/python-ly/issues/80

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UnboundLocalError: local variable 'val'  referenced before assignment","articleBody":"Reported by a Frescobaldi user:\r\n\r\n> Exporting the following file to MusicXML\r\n\r\n```lilypond\r\n\\version \"2.19.49\"\r\n\\language \"english\"\r\n\r\norigBreak = { \\break }\r\n\r\nThirdTune =\r\n\\relative {\r\n   \\repeat volta 2 {\r\n     \\time 4/4\r\n     \\key g \\major\r\n     | e''4 e g8 e d b\r\n     | e8 d b a d4 b\r\n     | e4 e g8 e g4\r\n     | a2 g\r\n     \\origBreak\r\n     | e4 e g8 e d b\r\n     | e8 d b a d4 b\r\n     | e4 d8 b d b a g\r\n     | b8 a g4 e2\r\n     \\origBreak\r\n   }\r\n   \\repeat volta 2 {\r\n     | b'4 a8 g e4 b'\r\n     | a8 g e g a4 b\r\n     | d2 cs2\r\n     | c2 a\r\n     | b4 a8 g e4 b'\r\n     \\origBreak\r\n     | a8 g e d g4 e\r\n   }\r\n   \\alternative {\r\n     {\r\n       | b4 d8 d b4 d\r\n       | ds4 b ds8 fs a4\r\n     }\r\n     {\r\n       | g8 c c c b4 g\r\n       | a8 fs d4 e2\r\n     }\r\n   }\r\n}\r\n\r\nThirdTuneChords = \\chordmode {\r\n   \\repeat volta 2 {\r\n     | e1:m s s a2 g\r\n     | e1:m s e2:m d b:7 e:m\r\n     | e1:m s d2 a c b:7 e1:m\r\n     | s1\r\n   }\r\n   \\alternative {\r\n     { d1 b1:7 }\r\n     { c2 g d e:m }\r\n   }\r\n}\r\n\r\n\\score {\r\n   \u003c\u003c\r\n     \\new ChordNames \\ThirdTuneChords\r\n     \\new Staff { \\clef treble \\ThirdTune }\r\n   >>  \r\n   \\layout {\r\n     indent = 0 \\in\r\n     \\override Score.BarNumber.break-visibility = #'#(#f #f #f)\r\n   }\r\n}\r\n```\r\n\r\nresults in:\r\n\r\n```python\r\nFile \"/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py\", line \r\n96, in parse_text\r\nself.parse_document(doc)\r\nFile \"/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py\", line \r\n109, in parse_document\r\nself.parse_tree(mustree)\r\nFile \"/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py\", line \r\n123, in parse_tree\r\nself.parse_nodes(mus_nodes)\r\nFile \"/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py\", line \r\n135, in parse_nodes\r\nfunc_call(m)\r\nFile \"/usr/lib/python3/dist-packages/ly/musicxml/lymus2musxml.py\", line \r\n173, in Assignment\r\nself.mediator.new_header_assignment(a.name(), val)\r\nUnboundLocalError: local variable 'val' referenced before assignment\r\n```","author":{"url":"https://github.com/wbsoft","@type":"Person","name":"wbsoft"},"datePublished":"2017-02-14T13:25:37Z","url":"https://github.com/frescobaldi/python-ly/issues/80"}

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:a4f5e7ce-e693-945c-9c8e-f246103c3eb6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9348:29B887:27FF395:347FA6A:6B09B088
html-safe-nonce16c89054602c371c42273e5d1f706248e0835705b8129e384b8027873296d246
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzQ4OjI5Qjg4NzoyN0ZGMzk1OjM0N0ZBNkE6NkIwOUIwODgiLCJ2aXNpdG9yX2lkIjoiNTY1ODE2MjY5NjA0MzQ3NTA4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac78b851b4968ae79ee6f72368c198c390f59eb060dc77caf8f1628b3db248b724
hovercard-subject-tagissue:207514533
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/frescobaldi/python-ly/80/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0f52e4233402326b30d753b897601f5a9a732eb8c80148fe8887e16c5ff7bb0c/frescobaldi/python-ly/issues/80
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0f52e4233402326b30d753b897601f5a9a732eb8c80148fe8887e16c5ff7bb0c/frescobaldi/python-ly/issues/80
og:image:altReported by a Frescobaldi user: Exporting the following file to MusicXML \version "2.19.49" \language "english" origBreak = { \break } ThirdTune = \relative { \repeat volta 2 { \time 4/4 \key g \ma...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewbsoft
hostnamegithub.com
expected-hostnamegithub.com
None5ee9972cda5524016b9eddec37d51a4550d0a8a3bc7d0c189531849d55d54b8c
turbo-cache-controlno-preview
go-importgithub.com/frescobaldi/python-ly git https://github.com/frescobaldi/python-ly.git
octolytics-dimension-user_id19853952
octolytics-dimension-user_loginfrescobaldi
octolytics-dimension-repository_id29728425
octolytics-dimension-repository_nwofrescobaldi/python-ly
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id29728425
octolytics-dimension-repository_network_root_nwofrescobaldi/python-ly
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
release2d87ea1696ca7d53c0e83fef3db13186e4a6cce7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/frescobaldi/python-ly/issues/80#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffrescobaldi%2Fpython-ly%2Fissues%2F80
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%2Ffrescobaldi%2Fpython-ly%2Fissues%2F80
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=frescobaldi%2Fpython-ly
Reloadhttps://github.com/frescobaldi/python-ly/issues/80
Reloadhttps://github.com/frescobaldi/python-ly/issues/80
Reloadhttps://github.com/frescobaldi/python-ly/issues/80
frescobaldihttps://github.com/frescobaldi
python-lyhttps://github.com/frescobaldi/python-ly
Codehttps://github.com/frescobaldi/python-ly
Issues44 (44)https://github.com/frescobaldi/python-ly/issues
Pull requests22 (22)https://github.com/frescobaldi/python-ly/pulls
Actionshttps://github.com/frescobaldi/python-ly/actions
Projectshttps://github.com/frescobaldi/python-ly/projects
Wikihttps://github.com/frescobaldi/python-ly/wiki
Security and qualityhttps://github.com/frescobaldi/python-ly/security
Insightshttps://github.com/frescobaldi/python-ly/insights
https://github.com/frescobaldi/python-ly
New issuehttps://github.com/login?return_to=https://github.com/frescobaldi/python-ly/issues/80
New issuehttps://github.com/login?return_to=https://github.com/frescobaldi/python-ly/issues/80
UnboundLocalError: local variable 'val' referenced before assignmenthttps://github.com/frescobaldi/python-ly/issues/80#top
https://github.com/wbsoft
wbsofthttps://github.com/wbsoft
on Feb 14, 2017https://github.com/frescobaldi/python-ly/issues/80#issue-207514533
https://github.com/prabhanshuguptagit
prabhanshuguptagithttps://github.com/prabhanshuguptagit
on Mar 6, 2017https://github.com/frescobaldi/python-ly/issues/80#issuecomment-284520964
https://github.com/uliska
uliskahttps://github.com/uliska
on Mar 7, 2017https://github.com/frescobaldi/python-ly/issues/80#issuecomment-284647100
@PeterBjuhrhttps://github.com/PeterBjuhr
Sign up for freehttps://github.com/signup?return_to=https://github.com/frescobaldi/python-ly/issues/80
Sign in to commenthttps://github.com/login?return_to=https://github.com/frescobaldi/python-ly/issues/80
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.