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

Unhandled exeption during open cdp #6

Closed
Elektron4711 opened this issue May 8, 2022 · 4 comments
Closed

Unhandled exeption during open cdp #6

Elektron4711 opened this issue May 8, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Elektron4711
Copy link

I try Version 3.6 as exe-Format.
This comes with different cdp-Files.
Please take a look at this or give me a hint what i can do.

Best Regards
Ralf

Zwischenablage01

@SilverGreen93
Copy link
Owner

Hi Ralf,

In order to help you, please give me more information such as:

  • the location and file name of your CDP file.
  • Does it contain German characters or other non-ASCII ones?
  • What is the size of the CDP file that you are trying to open?
  • Can you provide a small cdp file that gives you this error to investigate?

Mihai

@Elektron4711
Copy link
Author

Hi,
i have CDP and exe on my desktop.
No ugly characters.
The size is 16MB.
I habe appended the CDP-File.
Hopefully this will help you to fix it.
This can be a nice Tool. ;-)

PS: I have tested many CDP-Files and get the same Message.

Ralf

Bahnhof Mirke.zip

@Elektron4711
Copy link
Author

I solved this.
Start the Explorer as admin AND do not set ReadOnly on the CDP-File.
Maybe you can prevent this in your code.
I like this Tool!

Greetings
Ralf

SilverGreen93 added a commit that referenced this issue Apr 9, 2023
The issue occurs because the File.Open mode is not specified, defaulting to ReadWrite.
Specify only read access to allow opening of readonly files.
@SilverGreen93 SilverGreen93 added the bug Something isn't working label Apr 9, 2023
@SilverGreen93 SilverGreen93 self-assigned this Apr 9, 2023
@SilverGreen93
Copy link
Owner

Fixed with commit 0bd3ba0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants