Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gabek
Visitor

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 2
RokuKC
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
Roku Guru

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