Wrong counting of read-only files

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderator: Dreamer

Post Reply
User avatar
Peter2
XnThusiast
Posts: 1193
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Wrong counting of read-only files

Post by Peter2 » Mon Apr 20, 2020 3:26 pm

To reproduce:

- you set "save file, replace existing files without asking"
- some of the already existing files have file attrib "read only"
- The final counting of files messes up skipped / overwriten files

- Log file:

Code: Select all

D:\xxx\mp\Fotos\Fixpunkt_ergebnis_1.jpg 2000x3000x24 : loaded
D:\xxx\mp\Fotos\Fixpunkt_ergebnis_1.jpg : has read-only attribute, and can't be overwritten!

D:\xxx\mp\Fotos\Fixpunkt_ergebnis_1.jpg 2000x3000x24 : loaded
D:\xxx\mp\Fotos\Fixpunkt_ergebnis_1.jpg : has read-only attribute, and can't be overwritten!

D:\xxx\mp\Fotos\Fixpunkt_ergebnis_1.jpg 2000x3000x24 : loaded
D:\xxx\mp\Fotos\Fixpunkt_ergebnis_1.jpg : has read-only attribute, and can't be overwritten!

D:\xxx\mp\Fotos\Fixpunkt_ergebnis.jpg 2000x3000x24 : loaded
D:\xxx\mp\Fotos\Fixpunkt_ergebnis.jpg : saved

D:\xxx\mp\Fotos\Fixpunkt_2_ergebnis.jpg 2000x3000x24 : loaded
D:\xxx\mp\Fotos\Fixpunkt_2_ergebnis.jpg : saved


Input files: 5
Extracted pages: 5
Overwritten: 5
Skipped: 3

Total Duration: 0 second(s)
XnView 2.49.2 German, Win 10

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong counting of read-only files

Post by xnview » Thu Apr 23, 2020 2:50 pm

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.

User avatar
Peter2
XnThusiast
Posts: 1193
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Wrong counting of read-only files

Post by Peter2 » Sun Apr 26, 2020 4:21 pm

I don't know if that's the same or another problem ..
------
I set (unintented) the output format to "92i.bmp" and it "failed" (BTW: why?), but counted as "new file":

Code: Select all

Started at: So. Apr 26 18:16:19 2020

D:\20191231_145713.png 1238x697x24 : Geöffnet
D:\xxx\logs\20191231_145713.92i : fehlgeschlagen


Eingabedateien: 1
Extrahierte Seiten: 1
Neue Dateien: 1

Gesamtzeit: 0 Sekunden

Finished at: So. Apr 26 18:16:19 2020

----------------------------------------------
Rotate
	byexif: true
	angle: 0
	smooth: false
	crop: false
	color: #ffffff
	orient: 0
Clean_metadata
	flags: 0
XnView 2.49.2 German, Win 10

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong counting of read-only files

Post by xnview » Thu May 07, 2020 11:39 am

This problem is supposed to be fixed in XnView MP 0.96.2. Please check and confirm the bug fix here.
Pierre.

User avatar
Peter2
XnThusiast
Posts: 1193
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Wrong counting of read-only files

Post by Peter2 » Mon May 18, 2020 4:06 pm

The "read-only" topic seem to be solved, but the creation of "92i" (as said above: I don't need it, just for testing) is still ..

a) failing
b) wrong counted.

Code: Select all

Started at: Mo. Mai 18 18:02:37 2020

D:\xxx\x\xnc\yy_V2\Fotos_20200228\P1120060.JPG 3000x2004x24 : loaded
D:\xxx\x\xnc\Fotos_20200228\P1120060.92i : failed

D:\xxx\x\xnc\yy_V2\Fotos_20200228\P1120061.JPG 3000x2004x24 : loaded
D:\xxx\x\xnc\Fotos_20200228\P1120061.92i : failed

D:\xxx\x\xnc\yy_V2\Fotos_20200228\P1120062.JPG 3000x2004x24 : loaded
D:\xxx\x\xnc\Fotos_20200228\P1120062.92i : failed


Input files: 3
Extracted pages: 3
New files: 3

Total Duration: 0 second(s)

Finished at: Mo. Mai 18 18:02:37 2020

----------------------------------------------
Resize
	mode: 1
	width: 3000
	height: 0
	unit: 0
	ratio: true
	orientation: false
	enlarge: 1
	resample: 7
	gamma_correct: false
XnView 2.49.2 German, Win 10

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Wrong counting of read-only files

Post by xnview » Tue May 19, 2020 5:29 am

Peter2 wrote:
Mon May 18, 2020 4:06 pm
the creation of "92i" (as said above: I don't need it, just for testing) is still ..
what do you means?
Pierre.

User avatar
Peter2
XnThusiast
Posts: 1193
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Wrong counting of read-only files

Post by Peter2 » Tue May 19, 2020 7:07 am

Hi Pierre,

I mean ..

a) when I select three "JPG files" as input and "91i-files" as output, use only "save file" and no other settings, then the conversions fails, creates no output, but reports "failed: 3; created: 3 files"

b) it is not important for me; I just wanted to report it.

Peter
XnView 2.49.2 German, Win 10

Post Reply