Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
gabek
Level 7

roUrlTransfer error "Unable to rename to destination file"

Has anybody run into this? It seems to have popped up out of nowhere as far as I can tell. I'm seeing periodic instances of this in async transfers to file. Changing to sync transfers fixes it, but then obviously blocks, and that's no fun.

Just curious if it's been run into by anybody in the past!

-10002 : Unable to rename to destination file
0 Kudos
2 Replies
Roku Employee
Roku Employee

Re: roUrlTransfer error "Unable to rename to destination fil

Can you inspect the sequence of get calls, to see if possibly there are multiple overlapping gets to the same target filename?

Or if any of the gets are failing, and later on there is another get to the same target filename, in case there is an issue relating to that?

Another question would be what do the target filenames look like, i.e. is there anything unusual about them? special characters, length, ?
0 Kudos
EnTerr
Level 8

Re: roUrlTransfer error "Unable to rename to destination fil

Curious one. Seen also here https://github.com/ljunkie/rarflix/issues/199
Since reported to work with sync calls, my guess would be race condition in async calls and not bad file name.
0 Kudos