-
Notifications
You must be signed in to change notification settings - Fork 18
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
not all go modules works #150
Comments
is there any working example with modules in example https://golang.org/pkg/net/http/ ? |
This I never tested but had feedback of being working. For more examples of working code grep Examples: This uses lots of Go native modules, including reflection and syscalls
|
found some go lib wrapers - but not all are implemented so i should write go file wrapers for other go standart libs manually ? |
On https://github.com/grumpyhome/grumpy/blob/master/grumpy-runtime-src/tools/pkgc.go is the code that takes |
so this should work autmatically - then when? |
Yes, it should work automatically. I do not know why is not working in your case. Let me say that this code is wrote by Google (Youtube mainly) and I just made some maintenance on this exac file. |
When you I suggest you to run |
for some reasons this does not work automatically simple example of file gostrconv.py
generated files
|
checked the repository code and did not find where is |
You may be right. Maybe what is available is whitelisted on the makefiles of grumpy-ru time. The build process is a bit convoluted as it creates at least one makefile dynamically and calls it from the main makefile. I searched for a place where it is whitelisted but now I think it does some reflection (or list folder/files at least) |
this works and output
but this not works
output error
grumpy run test.py
/tmp/tmp8Y9Chn__pycache__/gopath/src/python/main/module.go:4:2: cannot find package "python/go/encoding/hex" in any of:
/usr/lib/go/src/python/go/encoding/hex (from $GOROOT)
/tmp/tmp8Y9Chn__pycache__/gopath/src/python/go/encoding/hex (from $GOPATH)
/home/user/.local/lib/python2.7/site-packages/grumpy_runtime/data/gopath/src/python/go/encoding/hex
Originally posted by @6umpukc-uHKBu3umop in #148 (comment)
The text was updated successfully, but these errors were encountered: