brocaar commented on issue #1471:
URL: https://github.com/apache/answer/issues/1471#issuecomment-3890413071

   @LinkinStars are you sure that the `./answer build ...` pulls in the same 
version as the answer binary that executes it? I noticed that since I'm using 
`ANSWER_MODULE` env variable you pointed out in #1493, I do see the 
_Intelligence_ menu item in the admin site. Before when I downloaded the Answer 
v2 binary (which should have this menu item I believe), and build a new binary 
to include the plugins, it did not show. I no longer see the `pq: invalid input 
syntax for type bigint: ""` error.
   
   This makes me think that maybe `./answer build ...` did not pull in the 
exact same Go source to rebuild the Answer binary + plugins. Instead it relied 
on an older source in my `$GOPATH`. Could that be?
   
   I see that this happens when `ANSWER_MODULE` is set:
   https://github.com/apache/answer/blob/main/internal/cli/build.go#L202
   
   But it is not clear to me if there is something that enforces pulling in the 
exact same Go source version as the `answer` binary that builds the new binary?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to