View Issue Details

IDProjectCategoryView StatusLast Update
0000125WoR ImagerGeneralpublic2021-04-26 17:53
Reporterjaraco Assigned ToMario  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.1 
Target Version2.1.0Fixed in Version2.1.0 
Summary0000125: Index was out of range when mounting ISO (replace with a more user-friendly message)
Description

I've built an image using UUPDump (Linux). Now I'm using WoR imager. When I drag the image to the imager (or select it through the file select modal), it shows "Mounting ISO Image..." for a couple of seconds then emits an obscure error:

Something went wrong...

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Here's the trace from the logs:

2020-10-18 11:39:24.8306 [info] Selected image (ISO): Windows-19041-ARM64-en-us.iso
2020-10-18 11:39:24.9085 [info] Mounting the ISO image...
2020-10-18 11:39:26.4710 [error] System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at WoR.Setup.Prerequisites.Image.<Mount>b__20_0()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at WoR.Setup.Prerequisites.Image.<Mount>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at WoR.Pages.SelectImagePage.<LoadImageFromFile>d__12.MoveNext()

I haven't tried regenerating the image. It's conceivable that something is corrupted about the image.

Any advice before I start again from scratch?

TagsNo tags attached.

Activities

jaraco

jaraco

2020-10-18 15:55

reporter   ~0000221

The image is 3.84GB and mounts just fine in macOS.

I tried mounting the file on the Windows VM, however, and it was unable to mount the image because it was on the VM host. After copying the image file to the VM guest, the imager was able to use it.

Consider trapping this exception to replace it with a nicer error message.

Also, consider allowing the image to be mounted by the user. If I were able to mount the ISO into the Guest VM, that would have saved copying 3.8GB to the guest VM.

Mario

Mario

2020-10-22 18:46

administrator   ~0000222

Last edited: 2020-10-22 18:48

WoR relies on Windows to mount the image, so if you're not able to mount it manually then I can't do anything.

Also, consider allowing the image to be mounted by the user. If I were able to mount the ISO into the Guest VM, that would have saved copying 3.8GB to the guest VM.

If the ISO is already mounted, you can load the install.wim/.esd file from the sources folder.

Consider trapping this exception to replace it with a nicer error message.

I agree. This will be fixed in the next version.

jaraco

jaraco

2020-10-23 14:02

reporter   ~0000223

That answers all my questions. Thanks!

Issue History

Date Modified Username Field Change
2020-10-18 15:46 jaraco New Issue
2020-10-18 15:55 jaraco Note Added: 0000221
2020-10-22 18:46 Mario Note Added: 0000222
2020-10-22 18:47 Mario Note Edited: 0000222
2020-10-22 18:47 Mario Note Edited: 0000222
2020-10-22 18:48 Mario Note Edited: 0000222
2020-10-22 18:48 Mario Assigned To => Mario
2020-10-22 18:48 Mario Status new => assigned
2020-10-22 18:52 Mario Summary Index was out of range when mounting ISO => Index was out of range when mounting ISO (replace with a more user-friendly message)
2020-10-23 14:02 jaraco Note Added: 0000223
2020-11-25 12:11 Mario Target Version => 2.1.0
2021-01-09 21:21 Mario Category Raspberry Pi 4 (ARM64) => General
2021-04-26 17:53 Mario Status assigned => resolved
2021-04-26 17:53 Mario Resolution open => fixed
2021-04-26 17:53 Mario Fixed in Version => 2.1.0