View Issue Details

IDProjectCategoryView StatusLast Update
0001975Double CommanderFile operationspublic2020-11-30 07:44
Reporteral-mission-2017 Assigned Tocordylus  
PrioritylowSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
ProjectionnoneETAnone 
PlatformLinuxOSLinux Mint 18.3 SylviaOS Version64bit
Product Version0.8.1Product Build7950 
Summary0001975: "List index (0) out of bouds" error occurs when one press F4 in archive file and cursor stays on top directory [..]
DescriptionIf in any archive file, when the cursor stays on parent dir [..] press F4 you get error-dialog "List index (0) out of bounds".
Archive type is irrelevant.
-----------------------------------------------
Если в любом архивном файле, когда курсор находится на указателе родительской директории, т.е. на [..], нажать F4 (т.е. запросить операцию "редактировать", что конечно в данном случае бессмысленно), то получаем диалоговое окно с сообщением об ошибке "List index (0) out of bounds".

Тип архива не важен - пробовал zip, bz2, tar.xz.
Steps To Reproduce1) Enter into any archive file
2) Move cursor to the top of file list --> [..]
3) Press F4 (though it has no meaning here since you can't "edit" dir)

Here you get the dialog with error "List index (0) out of bounds" (:
Additional Informationpart of "doublecmd.err":

--------------- 26-12-2017, 03:02:36 ---------------
| DC v0.8.1 beta Rev. 7950 -- x86_64-Linux-gtk2
| Linux Mint 18.3 Sylvia -- GTK 2.24.30 | PID 21595
Unhandled exception: EListError: List index (0) out of bounds
  Stack trace:
  $0000000000662E40 in /opt/doublecmd/doublecmd
  $000000000062C500 line 1837, column 5 of gtk2widgetset.inc in /opt/doublecmd/doublecmd
  $00007EFE37F1104A in /lib/x86_64-linux-gnu/libglib-2.0.so.0


--------------- 26-12-2017, 03:27:18 ---------------
| DC v0.8.1 beta Rev. 7950 -- x86_64-Linux-gtk2
| Linux Mint 18.3 Sylvia -- GTK 2.24.30 | PID 21631
Unhandled exception: EListError: List index (0) out of bounds
  Stack trace:
  $0000000000662E40 in /opt/doublecmd/doublecmd
  $000000000062C500 line 1837, column 5 of gtk2widgetset.inc in /opt/doublecmd/doublecmd
  $00007FB550F4604A in /lib/x86_64-linux-gnu/libglib-2.0.so.0


--------------- 26-12-2017, 03:40:02 ---------------
| DC v0.8.1 beta Rev. 7950 -- x86_64-Linux-gtk2
| Linux Mint 18.3 Sylvia -- GTK 2.24.30 | PID 23637
Unhandled exception: EListError: List index (0) out of bounds
  Stack trace:
  $0000000000662E40 in /opt/doublecmd/doublecmd
  $000000000062C500 line 1837, column 5 of gtk2widgetset.inc in /opt/doublecmd/doublecmd
  $00007F2D1BC1604A in /lib/x86_64-linux-gnu/libglib-2.0.so.0
TagsNo tags attached.
Attached Files
Fixed in Revision7959
Operating systemLinux
Widgetset
Architecture

Activities

cordylus

2017-12-27 22:15

developer   ~0002480

There was also an error when trying to edit a directory in the archive.

The fix can be safely ported to 0.8, PrepareData call in the middle of cm_Edit is just some code moved to a common function, under the hood it is still the same code.

Issue History

Date Modified Username Field Change
2017-12-26 04:00 al-mission-2017 New Issue
2017-12-26 04:00 al-mission-2017 File Added: DC error - List index (0) in archive.png
2017-12-27 22:15 cordylus Fixed in Revision => 7959
2017-12-27 22:15 cordylus Note Added: 0002480
2017-12-27 22:15 cordylus Status new => resolved
2017-12-27 22:15 cordylus Resolution open => fixed
2017-12-27 22:15 cordylus Assigned To => cordylus
2020-11-30 07:44 Alexx2000 Status resolved => closed