Skip to content
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

Illegal character error #143

Open
ewestlundicr opened this issue Nov 11, 2024 · 3 comments
Open

Illegal character error #143

ewestlundicr opened this issue Nov 11, 2024 · 3 comments

Comments

@ewestlundicr
Copy link

ewestlundicr commented Nov 11, 2024

Hi,

About six months ago I set up a script using Bigstitcher which worked great. Now, I'm trying to use it again but I'm getting an error.

When trying to run the steps manually the first Define Dataset works but when trying to do "Calculate pairwise shift" (or when trying to load a dataset) I get:
Cannot parse 'file:/C:/Users/ewestlund/dataset.xml': java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/Users/ewestlund/dataset.xml

From my understanding it's the : character that causes an issue, but any path on the PC will have this included. How can I work around this?

Thank you very much

@ewestlundicr ewestlundicr changed the title Define dataset & Illegal character error Illegal character error Nov 11, 2024
@ScientistRachel
Copy link

This is just a note to say that I am getting the same error. I agree that it seems like any Windows path would not be accepted by this new version, so a fix for this would be helpful.

@ewestlundicr
Copy link
Author

I manage to get it working by following the instructions from this discussion https://forum.image.sc/t/bigstitcher-4-3-3-parsing-xml-fails-in-windows/104753/9

I replaced the multiview-reconstruction JAR in my Fiji folder with the
multiview-reconstruction-4.3.5-SNAPSHOT.jar found in the above link.

I restarted my Fiji and made the required installation and it worked.

Then it was just a matter of replacing the old commands to the new ones for defining dataset and image fusion etc.

@ScientistRachel
Copy link

Updating to the new multiview-reconstruction-4.3.5-SNAPSHOT.jar that is described in the image.sc post also fixed my issue with loading xml files on a PC.

I still have the error described at the end of the linked post: fusion to a BDV compatible pair of files fails. If I fuse to n5 + xml, the n5 folder structure appear to be made correctly, but the xml file is not updated and generates a lot of errors on the console. If fuse to hdf5 + xml, the process fails after making a ~8 kb h5 file and a very incomplete ~2 kb xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants