Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit status 1 #103

Open
Wildchild9 opened this issue Nov 30, 2018 · 4 comments
Open

Exit status 1 #103

Wildchild9 opened this issue Nov 30, 2018 · 4 comments

Comments

@Wildchild9
Copy link

Wildchild9 commented Nov 30, 2018

When I tap export to pdf, it opens another tab and says exit status 1

@Wildchild9
Copy link
Author

Update: I just loaded my diagram on chrome and downloaded it as a pdf and png from there. But when I try to open it up with Preview, it won't let me as it says that the file has been damaged.

@AlecAivazis
Copy link
Owner

Hey @Wildchild9 i'm sorry to hear you are running into trouble. Would you mind saving your diagram and uploading the file here so I can take a look?

@Wildchild9
Copy link
Author

Unfortunately, GitHub will not let me upload a .json file, so here are its contents:

{"title":"Bhabha Feynman Diagrams","elements":{"anchors":{"183":{"id":183,"x":450,"y":950},"357":{"id":357,"x":650,"y":150},"551":{"id":551,"x":400,"y":850},"1111":{"id":1111,"x":1000,"y":50},"1188":{"id":1188,"x":350,"y":950},"1380":{"id":1380,"x":800,"y":50},"1471":{"id":1471,"x":850,"y":1050},"1640":{"id":1640,"x":850,"y":750},"2644":{"id":2644,"x":550,"y":250},"2987":{"id":2987,"x":400,"y":750},"3194":{"id":3194,"x":900,"y":150},"3387":{"id":3387,"x":450,"y":650},"3720":{"id":3720,"x":550,"y":1050,"fill":"#eb144c"},"3874":{"id":3874,"x":800,"y":400},"4768":{"id":4768,"x":800,"y":850},"5139":{"id":5139,"x":800,"y":950},"6081":{"id":6081,"x":650,"y":650},"7611":{"id":7611,"x":900,"y":300},"7797":{"id":7797,"x":350,"y":650,"fill":"#000000"},"7925":{"id":7925,"x":250,"y":1050},"8193":{"id":8193,"x":750,"y":1050},"8300":{"id":8300,"x":1000,"y":400},"8414":{"id":8414,"x":950,"y":650},"8750":{"id":8750,"x":300,"y":150},"8752":{"id":8752,"x":750,"y":750},"8758":{"id":8758,"x":400,"y":250},"9125":{"id":9125,"x":300,"y":350},"9786":{"id":9786,"x":650,"y":350}},"propagators":{"507":{"kind":"fermion","id":507,"anchor1":7611,"anchor2":8300,"stroke":"#eb144c","label":"\parbox{0.45em}{e}^+","labelDistance":35.355339059327456,"labelLocation":0.4625000000000006},"554":{"id":554,"kind":"fermion","anchor1":1188,"anchor2":551,"stroke":"#0693e3","label":"\parbox{0.45em}{e}^-"},"842":{"id":842,"kind":"fermion","anchor1":4768,"anchor2":4768},"1639":{"kind":"fermion","id":1639,"anchor1":8758,"anchor2":8750,"label":"\parbox{0.45em}{e}^-","labelDistance":-26.51650429449556,"labelLocation":0.6124999999999998,"stroke":"#0693e3"},"1679":{"kind":"fermion","id":1679,"anchor1":8414,"anchor2":1640,"stroke":"#eb144c","label":"\parbox{0.45em}{e}^+","labelDistance":24.14953415699773,"labelLocation":0.432},"2308":{"kind":"fermion","id":2308,"anchor1":1640,"anchor2":4768,"stroke":"#eb144c","label":"\parbox{0.45em}{e}^+","labelDistance":-33.09380606699688,"labelLocation":0.39200000000000007},"2552":{"id":2552,"kind":"fermion","anchor1":183,"anchor2":551,"arrow":-1,"stroke":"#eb144c","label":"\parbox{0.45em}{e}^+"},"2672":{"kind":"fermion","id":2672,"anchor1":9125,"anchor2":8758,"label":"\parbox{0.45em}{e}^-","labelDistance":32.70368862987783,"labelLocation":0.43124999999999997,"stroke":"#0693e3"},"3649":{"kind":"fermion","id":3649,"anchor1":357,"anchor2":2644,"label":"\parbox{0.45em}{e}^+","labelDistance":-33.587572106361016,"labelLocation":0.3500000000000002,"stroke":"#eb144c"},"4210":{"kind":"fermion","id":4210,"anchor1":3874,"anchor2":7611,"stroke":"#0693e3","label":"\parbox{0.45em}{e}^-","labelDistance":30.935921676911377,"labelLocation":0.5562500000000006},"4714":{"id":4714,"kind":"fermion","anchor1":2987,"anchor2":3387,"stroke":"#eb144c","arrow":-1,"label":"\parbox{0.45em}{e}^+","labelDistance":-34.659053651246836,"labelLocation":0.6549999999999992},"4746":{"kind":"fermion","id":4746,"anchor1":8752,"anchor2":6081,"stroke":"#0693e3","label":"\parbox{0.45em}{e}^-"},"6551":{"kind":"fermion","id":6551,"anchor1":3194,"anchor2":1380,"stroke":"#0693e3","label":"\parbox{0.45em}{e}^-","labelDistance":-30.052038200428193,"labelLocation":0.44999999999999934},"6726":{"kind":"em","id":6726,"anchor1":8758,"anchor2":2644,"stroke":"#9900ef","label":"\mathrm{\gamma}"},"7372":{"id":7372,"kind":"em","anchor1":1188,"anchor2":183,"stroke":"#9900ef","label":"\mathrm{\gamma}","labelDistance":-29.999999999999996,"labelLocation":0.4833333333333337},"7439":{"id":7439,"kind":"fermion","anchor1":3720,"anchor2":183,"stroke":"#eb144c","arrow":-1,"label":"\parbox{0.45em}{e}^+"},"7623":{"kind":"em","id":7623,"anchor1":2987,"anchor2":551,"stroke":"#9900ef","label":"\mathrm{\gamma}","labelDistance":26.66666666666663,"labelLocation":0.5166666666666674,"strokeWidth":2},"7853":{"kind":"fermion","id":7853,"anchor1":5139,"anchor2":1471,"stroke":"#eb144c","label":"\parbox{0.45em}{e}^+","labelDistance":35.77708763999664,"labelLocation":0.52},"7897":{"kind":"em","id":7897,"anchor1":8752,"anchor2":1640,"stroke":"#9900ef","label":"\mathrm{\gamma}","labelDistance":27.5,"labelLocation":0.48750000000000115},"7961":{"kind":"fermion","id":7961,"anchor1":8193,"anchor2":5139,"stroke":"#0693e3","label":"\parbox{0.45em}{e}^-"},"8024":{"id":8024,"kind":"fermion","anchor1":7925,"anchor2":1188,"stroke":"#0693e3","label":"\parbox{0.45em}{e}^-"},"8247":{"id":8247,"kind":"fermion","anchor1":2987,"anchor2":7797,"stroke":"#0693e3","label":"\parbox{0.45em}{e}^-","labelDistance":-29.51609730299723,"labelLocation":0.632},"8672":{"kind":"fermion","id":8672,"anchor1":1111,"anchor2":3194,"label":"\parbox{0.45em}{e}^+","stroke":"#eb144c","labelDistance":-32.70368862987791,"labelLocation":0.5187499999999995},"9048":{"kind":"em","id":9048,"anchor1":5139,"anchor2":4768,"stroke":"#9900ef","label":"\mathrm{\gamma}","labelDistance":28.333333333333258,"labelLocation":0.4833333333333325},"9443":{"kind":"fermion","id":9443,"anchor1":4768,"anchor2":8752,"stroke":"#0693e3","label":"\parbox{0.45em}{e}^-","labelDistance":-31.304951684997043,"labelLocation":0.6000000000000001},"9595":{"kind":"em","id":9595,"anchor1":3194,"anchor2":7611,"stroke":"#9900ef","label":"\mathrm{\gamma}"},"9954":{"kind":"fermion","id":9954,"anchor1":2644,"anchor2":9786,"label":"\parbox{0.45em}{e}^+","labelDistance":35.35533905932737,"labelLocation":0.6375,"stroke":"#eb144c"}},"text":{"5944":{"id":5944,"value":"\parbox{7em}{2 Vertices:}","x":164.9999999999998,"y":244.99999999999986,"type":"text"},"9874":{"id":9874,"value":"\parbox{7em}{4 Vertices:}","x":160.99999999999997,"y":844.3333333333329,"type":"text"}},"shapes":{}}}

@AlecAivazis
Copy link
Owner

Thanks for sharing @Wildchild9 - I think the issue is the parboxes. Could you try removing those and seeing if there are still issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants