NavicoOS / ac2git

Tool to convert an AccuRev repository to Git.
29 stars 15 forks source link

not well-formed (invalid token) #102

Closed wilmargh closed 7 years ago

wilmargh commented 7 years ago

C:\GitHub_stand_alone\ac2git>python ac2git.py Traceback (most recent call last): File "ac2git.py", line 4102, in AccuRev2GitMain(sys.argv) File "ac2git.py", line 4048, in AccuRev2GitMain config = Config.fromfile(filename=args.configFilename) File "ac2git.py", line 393, in fromfile config = Config.fromxmlstring(configXml, filename=filename) File "ac2git.py", line 343, in fromxmlstring xmlRoot = ElementTree.fromstring(xmlString) File "c:\Python34\lib\xml\etree\ElementTree.py", line 1325, in XML parser.feed(text) xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 101, column 112

wilmargh commented 7 years ago

Hi - not sure where to go with this one... ?

wilmargh commented 7 years ago

Never mind. Appears to be a problem with the config file. Thanks.

fatfreddie commented 7 years ago

Glad you were able to sort it out. Could we have identified the cause and provided a helpful error message?

fatfreddie commented 7 years ago

I'm guessing something was wrong at line 101, column 112 in your config

wilmargh commented 7 years ago

Hi – yeah, I saw that. I didn’t really figure out what was wrong with the config file, and when I planted an intentional typo there the error message correctly identified the typo, but it called it out as being in a different column number than the editor said it was in. Maybe there was some kind of extra CR or something. I got past that error somehow.

Now it’s failing to create the Git repository. But all it says is “Failed to create Git repository”. The folder exists – I verified this by intentionally putting a non-existent folder in the config file and getting a different error message (folder doesn’t exist).

Is there a way to get more info on WHY it can’t create the Git repository?

[cid:image002.jpg@01D2EB77.D764AAA0]

From: Robert Smithson [mailto:notifications@github.com] Sent: Wednesday, June 21, 2017 6:09 PM To: NavicoOS/ac2git ac2git@noreply.github.com Cc: Will Martin Will.Martin@symetra.com; State change state_change@noreply.github.com Subject: Re: [NavicoOS/ac2git] not well-formed (invalid token) (#102)

I'm guessing something was wrong at line 101, column 112 in your config

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/NavicoOS/ac2git/issues/102#issuecomment-310247244, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXixpvatze6MfyyWMr7FNzqvO-K0Idnhks5sGb6ogaJpZM4OBmcK.