Hi folks, I saw an issue when trying to use protob...
# pact-go
y
Hi folks, I saw an issue when trying to use protobuf plugin:
Copy code
builder.UsingPlugin(message.PluginConfig{
		Plugin: "protobuf",
})
Curious if this looks familiar to anyone here:
Copy code
2023-05-02T01:01:36.348285Z DEBUG tokio-runtime-worker pact_plugin_driver::child_process: Plugin(protobuf, 59762, STDERR) || thread 'main' panicked at 'failed to create appender: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-appender-0.2.2/src/rolling.rs:499:53
I assume there are some permission issues when it tries to create tracing appender here.
u
I think this is file permissions. It is trying to create a log file in the plugin directory
y
Yeah seems like the case, I’ve checked that files are there tho and permissions look okay. Should
-rw-r--r--
be good for it?
Copy code
ls -l /Users/yu.xie/.pact/plugins/protobuf-0.3.0/log
total 0
-rw-r--r--  1 yu.xie  staff  0 May  1 17:48 plugin.log.2023-05-02
-rw-r--r--  1 yu.xie  staff  0 May  1 17:48 plugin.log.json.2023-05-02
u
It's a log directory, so it should be safe to use
w
for all levels
y
Got it let me dig more into it, thanks!
👍 1