Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Pepys Install script on Github Actions - tutorial folder doesn't exist #1126

Open
robintw opened this issue Feb 2, 2022 · 4 comments
Assignees

Comments

@robintw
Copy link
Collaborator

robintw commented Feb 2, 2022

We seem to be getting an error when running pepys_install as part of the Create Deployment Github Action. The error is:

Copy-Item : Cannot find path 'D:\a\pepys-import\tutorial' because it does not exist.
At D:\a\pepys-import\pepys-import\bin\install_pepys.ps1:153 char:5

+     Copy-Item -Path "..\tutorial" -Destination "$env:USERPROFILE\Pepy ...

+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (D:\a\pepys-import\tutorial:String) [Copy-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

It seems that it can't find the tutorial folder, but that folder is definitely present in the zip file.

Todo: Check whether this gives the same error when run interactively on a Windows machine

@robintw robintw self-assigned this Feb 2, 2022
@IanMayo
Copy link
Member

IanMayo commented Feb 4, 2022

@robintw - I'm at a MS-Windows machine. Could you clarify what you need me to run please?

Do I "mangle" the local install to give it an older version, then run Upgrade Pepys?

@robintw
Copy link
Collaborator Author

robintw commented Feb 4, 2022

I'm confused - is your last post on here in the right issue @IanMayo?

@IanMayo
Copy link
Member

IanMayo commented Feb 4, 2022

Todo: Check whether this gives the same error when run interactively on a Windows machine

Yes, the comment is intentional. I was onsite, at a Windows machine. So, I had chance to run the command interactively & verify if it was an issue or not - so I was trying to clarify what a valid test was. But I'm no longer onsite :-)

@robintw
Copy link
Collaborator Author

robintw commented Feb 4, 2022

Ah sorry - I obviously wasn't thinking properly.

Don't worry, I'll do a test on my Windows machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants