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

TestCharsets fails with Golang 1.6 #1

Closed
onlyjob opened this issue Mar 23, 2016 · 3 comments
Closed

TestCharsets fails with Golang 1.6 #1

onlyjob opened this issue Mar 23, 2016 · 3 comments

Comments

@onlyjob
Copy link

onlyjob commented Mar 23, 2016

=== RUN   TestCharsets
--- FAIL: TestCharsets (0.00s)
        iconv_test.go:38: test 0
panic: runtime error: cgo argument has Go pointer to Go pointer [recovered]
        panic: runtime error: cgo argument has Go pointer to Go pointer

Apparently Go pointer to Go pointer is no longer allowed: golang/go#12416

@onlyjob
Copy link
Author

onlyjob commented Mar 23, 2016

Or maybe this problem is due to absence of test data in /usr/local/lib/go-charset/datafiles...
Anyway error message is rather confusing... Please investigate.

@mantri
Copy link

mantri commented Oct 6, 2016

When I try to run tsc.go, I get this error:
charset: cannot open "charsets.json": open /usr/local/lib/go-charset/datafiles/charsets.json: no such file or directory

@tessro
Copy link
Owner

tessro commented Mar 26, 2019

I'm sure you have long since moved on, but I finally identified and fixed the cgo issue. Closing this.

@tessro tessro closed this as completed Mar 26, 2019
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

3 participants