mjmare
December 11, 2021, 10:31pm
1
When I try to create a new branch called “20211211_DataPanel” I get the (probably correct) message
'20211211 DataPanel' is not a valid branch name. Valid branch names include only letters, numbers, underscores and hyphens.
I would be nice if the IDE would let me correct my mistake. Currently it just closes the dialog.
When I try “20211211_DataPanel” I get:
JSON Parse error: Unexpected identifier "An"
It’s been reported before a few times:
In the new IDE add a new branch. When prompted for a name I enter “fix_selection”.
I get the error:
JSON Parse error: Unexpected identifier "An"
PS another niggle: in that same name a new branch dialog I get suggestions from the browser(?) with all my emails, which seems a bit silly.
Using Safari.
This is probably the best answer if you have urgency to get this fixed.
Maybe the best thing you could do is to create a clone (in anvil) of your app first, then do git clone on your PC to merge and push the changes. The bug is probably only in the IDE for commiting/merging and if you do it manually you won’t have issues (I’m guessing).
Then you can go on with your life AND have a clone with the issue so that the Anvil Staff can take a look into it later.
I suggest you read those forum topics (and always searching for a similar problem before creating a new one).
mjmare
December 13, 2021, 7:54am
3
By me
I remembered having encountered something similar. I would have expected such a probably simple error to be fixed by now.
mjmare:
By me
Well… Then you certainly don’t need to report the same error again! hehehehe
It’s probably simple, but I could not be as simple as it looks. Also, since this is an error that only affects the developer, not their code or their users and it’s easily avoided (changing the name of the branch) they will probably leave this error with way less priority then other more important bugs or features. I know I would.
But don’t worry, the Anvil Staff will eventually fix this. .
2 Likes