Page 1 of 1

[RESOLVED] XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 28 Dec 2021 23:25
by JLoftus
This just started happening today. I just updated to 22.60.0202 and it's still happening.

I searched the forum on this but did not find any references to this error with XYcopy:

Regardless of copy or move, and regardless of intra-volume or cross-volume, XYcopy is now throwing this error:

XYcopy: Run-time error 5: invalid procedure call or argument

If I disable XYcopy, the copy/move operations complete correctly.

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 28 Dec 2021 23:33
by JLoftus
I tested with Teracopy as the external handler and that's working fine (intra-volume, volume, copy, move). The runtime error 5 is only happening with XYcopy.

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 10:14
by admin
XYcopy is handling the background operations. So you get no error if you untick Configuration | File Operations | File Operations | Background Processing | Enable background processing?

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 14:12
by JLoftus
Yes, thanks for the reply Don. If I untick background processing, I no longer get the runtime error 5.

I have always preferred to leave that option enabled, any idea why this would suddenly start happening?

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 15:03
by Norn
I only ticked these two.

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 15:44
by JLoftus
I just tried with only those two options checked and [for me] a cross-volume move throws runtime error 5.

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 16:05
by admin
Not here. Need more info:
- How many files?
- How do you move them?
- Show a screenshot of the error message.

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 18:12
by JLoftus
Doesn't matter whether it's copy or move, or whether to the same volume or a different one, I get the same runtime error 5 if background processing is checked.
If I uncheck background processing, then XYcopy works fine. If I use Teracopy, then the operation works fine as well.

It also doesn't matter whether the source or destination is local or a network location, same results.

EDIT: It also doesn't matter how many files are in the operation, 1 or a 100, and it doesn't matter whether I use the XY menu items to copy/move or whether I use CTRL+C/CTRL+V to copy, or CTRL+X/CTRL+V to move.

The first image shows a cross-volume copy failing, the second shows a cross volume move failing, and the third shows an intra-volume copy failing:
temp.png

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 18:26
by admin
And the copy or move does not happen?

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 18:38
by JLoftus
Correct, if I get the runtime error 5, the operation fails and no files are copied or moved.

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 18:54
by admin
Can you reproduce it with a fresh; instance?

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 29 Dec 2021 18:59
by JLoftus
Well, I didn't know about the FRESH; command, that's super handy.

Yes, I reproduced this with a FRESH; instance:
2021-12-29_11-58-25.jpg

Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 30 Dec 2021 10:11
by admin
Strange!

I see from your screenshots that you are using some 3rd party skin. Could that be the crucial factor?

[RESOLVED] Re: XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 30 Dec 2021 14:57
by JLoftus
It's not a skin, it's Actual Window Manager, but, Don, you are a genius, that indeed is the problem! When I exit that program, XYcopy no longer throws the runtime error. I will report this bug to ActualTools.

Thank you!!

Re: [RESOLVED] XYcopy: Run-time error 5: invalid procedure call or argument

Posted: 06 Jan 2022 15:18
by JLoftus
The 22.60.0515 build fixes this issue with no changes to Actual Window Manager, so it looks like there may have been some conflict with XYcopy that has been resolved.