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

Runtime error on publish #332

Open
aselvan opened this issue Aug 12, 2023 · 1 comment
Open

Runtime error on publish #332

aselvan opened this issue Aug 12, 2023 · 1 comment

Comments

@aselvan
Copy link

aselvan commented Aug 12, 2023

I tried with the latest binary using following args and it always crashes with "index out of range".

gedcom publish -living show -gedcom myfamily.ged -output-dir html
...
2023/08/12 09:49:50 html/john.html
2023/08/12 09:49:50 html/-1.html
panic: runtime error: index out of range [0] with length 0

myfamily.ged is exported from myheritage.com

Is there a debug flag to see where it is actually failing?

@elliotchance
Copy link
Owner

Hm, normally a panic should show the stack trace. Without that it would be near impossible to figure out what it's doing. You could try compiling from source and running the same command:

go build -o bin/gedcom ./cmd/gedcom
bin/gedcom publish -living show -gedcom myfamily.ged -output-dir html

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