-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
More context for syntax not found error #440
Comments
Hello. Thanks for the valuable comment. By mistake, it can't find syntax. Something like this |
Hmm that's literally the first line in my proto :) |
No, it crashes on a specific file. It could be a regular expression error. If it's not too much trouble, could you attach the file and write what version of gripmock you're using? |
Sadly the proto is private :/ The version I'm using is Docker's I have tried "cutting out" messages from the file and with a very minimal one it suddenly worked. I could try to narrow it down to a section of the file and see if I can replicate it with a non-private proto. |
Quick update: I think it may have to do with the proto file length: my original file has 2473 lines and after I kept deleting messages, it started passing around ~1000 lines. I will generate some valid but non-sensitive proto to illustrate this and attach it. |
Here it is, steps to reproduce:
|
@rez1dent3 do let me know if you can reproduce my error or if I can help in any way :) |
@KenxinKun Thank you. I'll look at it this weekend or tomorrow. |
The new latest build will be ready in 15 minutes, but I recommend you to switch to 3.x-dev. The latest build gets into latest, the fix is made only for version 3.x, which is not released yet and I continue to make releases of the second version. Which can affect your pipeline.
|
Nice! I'll try as soon as I can :) When do you plan to officially release v3? |
I plan to do it in the first quarter of the 25th year. There is no exact date |
Just dropping a note to confirm the fix works with my real protos now, thanks! |
Hi! I'm getting some rather cryptic
syntax not found
error like belowAs far as I can tell I managed to resolve all the imports, but the error won't give me more information on the specific syntax (i.e. if a message is missing or a proto file can't be imported it's specific about those).
What am I missing? Is there a way to get more context out?
The text was updated successfully, but these errors were encountered: