ERROR - Could not find a part of the path

I am working through the UIPath Academy “RPA Starter” course. I followed the Currency Converter project video and created a workflow in StudioX per the instructions.

I’m getting this error when i hit this step.
image

Here is the error:
Runtime execution error body { font-family: Segoe UI; margin: 0; border-top: 1px solid #d9d9d9; } img#warning { float: left; width: 28pt; } div#header { min-height: 80pt; max-height: 290pt; margin: 16pt; margin-top: 8pt; } p { margin: 0pt; } div.action_info { overflow: hidden; border-top: 1px solid #d9d9d9; width: 100%; position:absolute; bottom:0; background-color: #f5f5f5; } p.action_info { float: left; margin: 8pt; margin-left: 44pt; } .btn { cursor:pointer; display: inline-block; font-weight: 400; color: #242424; background-color: #e8e8e8; border-color: #c5c5c5; text-align: center; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid; padding: 2pt; line-height: 1.5; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .btn-primary { border-color: #0073ce; } .img-resize{ height: 75px; width: 210px; overflow: hidden; border: 1px solid #c5c5c5; } .img-resize img{ max-width: 100%; object-fit: cover; } #problem-element-image-container { align-items: center; display: flex; } #action_info_text{ overflow: hidden; position:absolute; bottom:44pt; left: 16pt; color: #707070; background-color: #FFF; } #buttons_master_container{ width: 80%; float:right; margin: 8pt; margin-right: 12pt; } div.ImageClear{ clear:both; } #appImagesContainer{ display: flex; } div#buttons_container { clear: both; } #buttons_container input { float: right; margin-left: 8pt; padding-left: 5px; padding-right: 5px; } div#arrow-container { width: 48px; } div.center-align { position: relative; } div.center-align img{ position: absolute; top: 0; bottom: 0; margin: auto; left: 0; right: 0; } .modal-image { border-radius: 5px; cursor: pointer; transition: 0.3s; } .modal-image:hover {opacity: 0.7;} .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.9); } .modal-content { margin: auto; display: block; max-width: 700px; } #caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 150px; } .modal-content, #caption { animation-name: zoom; animation-duration: 0.6s; } @keyframes zoom { from {transform:scale(0)} to {transform:scale(1)} } .close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; } .close:hover, .close:focus { color: #bbb; text-decoration: none; cursor: pointer; } @media only screen and (max-width: 700px){ .modal-content { width: 100%; } } #SkipIterationContainer { /* display: none; / display: none; } #ExcelCardDetailsContainer { / display: none; / display: none; } #EmailCardDetailsContainer { / display: none; / display: none; } #ApplicationCardOnlyDetailsContainer { / display: none; / display: none; } #ApplicationCardWithElementDetailsContainer { / display: none; / display: none; } #ErrorPathContainer { / display: none; */ [ERRORPATH_CONTAINER_VIS_PLACEHOLDER] } .scrollable { overflow-y: auto; } .unscrollable { overflow: hidden; } #problem-desc { white-space: pre; }

Something went wrong with an Action .
Activity Copy File ( Copy File ) failed:

Could not find a part of the path ‘C:\Users\firstname.lastname\Downloads\Currency-Converter_Working-Files\Report.xlsx’.

You can find the activity following this path:

Main > Use Excel File > Copy File.

The thing is, that path does exist. If I copy and paste it into windows explorer, it opens that excel file.

So I’m not sure what the problem is here or how to solve it. Any advice?

Thanks

Please note - Your path should contain less than 256 character.

the path is only 79 characters.

sorry about all the HTML/CSS garbage. I can’t find a way to edit my original post.

Can you try with any other simpler path !! as your path contains “.” dot try another path and if that work remove . from the path and create some other path and pass it - then check

Can you try with any other simpler path !! as your path contains “.” dot try another path and if that work remove . from the path and create some other path and pass it - then check

Please note - firstname.lastname in this path is looking for .lastname as an extension -which is wrong so try the path that should not contain a dot in between the path.

I did as you suggested and moved the file to a new location. I’m getting the same error but wiht a different path:

Something went wrong with an Action .
Activity Copy File ( Copy File ) failed:

Could not find a part of the path ‘C:\UIPath Files\Currency-Converter_Working-Files\Report.xlsx’.

You can find the activity following this path:

Main > Use Excel File > Copy File.

Looks like there’s no solution to this problem?

@Brandon_J - I had this xaml when I actually completed this exercise, I remember it ran successfully before. But After your query i tried to reran and faced the same issue.

So I tried to download the zip file from the academy, but i couldn’t find anywhere under Citizen developer course. If you could point me where can i download the zip file. I can try it again? or you can share me the Original zip downloaded from Academy ?

Hi,
The files and video are in the RPA Starter course under the “Build your first Automation section”–> “Automate with StudioX”. Here is a link:
UiPath Academy
The Currency Converter files are in there for download.

@Brandon_J - Got it thanks…i too got the same error…

Files is sitting out there…

I guess, Report.xlsx is open during the copy process, may be this could be the reason why it is failing…:face_with_head_bandage:

@studioX - Could you please look into it?

hello
can you post please what you have in advanced editor at copy file on To field?

Hi @studioX - UiPath Academy

This is the one…Its in RPA Starter–> ‘Automate with StudioX’

1 Like

I managed to reproduce your error.
You need to create first the Reports\ folder in the project folder. That one is not created by the copy file activity.

you can create the folder by hand or using Create Folder activity in your workflow before the copy file activity, like this:

Hi @studioX …Thanks you for taking look at this…Sorry that’s not the error…It is failing at the Copy File from Section…Here is the screen shots…

As per the video, i am pointing my Report file as input to Get File Info activity

I have the Copied File folder created Manually before the run

Point here is : Whatever the file we are pointing at Get File Info activity is failing in the very next step ‘Copy File’ , stating the same file is missing. Which is also stated by @Brandon_J too…

indeed, you are wright!
i reconfigured my wf to have my working files inside the project and it works fine.
let me investigate further

what version of system package do you use?

@studioX - 20.6.1…

image

Let me update and Run again…

Update: After updating to 20.10.3 got the same error…no luck

can you please attach the wf?
is working fine for me in either way

@studioX - PFA workflow StudioX_Currency_Converter.zip (365.3 KB)

1 Like