-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
excel.delete("Sheet1") execute error #309
Comments
I have the same error.
I'm seeking advice on whether there's a workaround I can implement, or if this is an issue that needs resolution within the package itself. This functionality is crucial to my application, and any guidance or assistance you can provide would be greatly appreciated. Thank you for your efforts in maintaining this package! |
The only solution I came with at the moment is to not rename or delete any sheet, which is a pity because I used this to remove the default Sheet1 and now its there. |
This is really bad, I need to be able to rename the default sheet or delete it. |
I'm having the same issue, can't delete the sheet created by default |
Hey there! I stumbled upon the same issue. As a workaround you can wrap the function in a try-catch block, it's temporary but might help you too! |
excel.setDefaultSheet can be used as workaround for avoiding Sheet1 |
This is strange, it wasn't an issue before. I've been using version 2.1.0 and haven't upgraded dart or flutter either, but now I'm suddenly getting this error. |
Downgrade is not helping me out. I' getting this error as well with version |
The error is coming from used package Link to pull request: #314 |
Until this is resolved, I was able to fix this by setting the version of archive in my own project's pubspec to |
@mtcahill57 it didn't work for me |
@maboumra
then I ran |
I had the same issue, However, I upgraded to version 4.0.2 from version 2... something I'm not sure about anymore, however, I never had Archive installed, and once I added it manually it fixed the issue. Is there a chance it's a new dependency that's not auto-installed when upgrading? |
error info :Cannot remove from an unmodifiable list
The text was updated successfully, but these errors were encountered: