I am trying to create file for an account, after checking if file already exists or not! But I got stuck, because I am getting an unexpected run time error!
Содержание
- 1st run
- 2nd run
- Поддержка и обратная связь Support and feedback
- Comments
- aaronherman commented Dec 20, 2017 •
- Is this a Feature or Bug?
- Current behavior:
- This comment has been minimized.
- brian-mann commented Dec 25, 2017
- This comment has been minimized.
- brian-mann commented Dec 25, 2017
- This comment has been minimized.
- aaronherman commented Dec 25, 2017
- This comment has been minimized.
- brian-mann commented Dec 26, 2017 •
1st run
Enter the name of account : Hassan
2nd run
Enter account name: Hassan
Account already exists
Enter the name of account : Hassan
This is the problem. and it creates file with the name «assan»
Please help, I was trying for hours to catch error, but I can’t As I am beginner in C++ :p Please .
Эта ошибка имеет следующие причины и решения: This error has the following causes and solutions:
Данная ошибка возникает во время выполнения, если имя нового файла, например, указанное в операторе Name, совпадает с именем уже существующего файла. This error occurs at run time when the new file name, for example, one specified in a Name statement, is identical to a file name that already exists.
Укажите новое имя файла в операторе Name или удалите старый файл, прежде чем указать его в операторе Name . Specify a new file name in the Name statement or delete the old file before specifying it in a Name statement.
Команда Сохранить как используется для сохранения загруженного в текущий моментпроекта, но имя проекта уже существует. You used the Save As command to save a currently loadedproject, but the project name already exists.
Используйте другое имя проекта, если не хотите заменить старый проект. Use a different project name if you don’t want to replace the other project.
Для получения дополнительной информации выберите необходимый элемент и нажмите клавишу F1 (для Windows) или HELP (для Macintosh). For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
Поддержка и обратная связь Support and feedback
Есть вопросы или отзывы, касающиеся Office VBA или этой статьи? Have questions or feedback about Office VBA or this documentation? Руководство по другим способам получения поддержки и отправки отзывов см. в статье Поддержка Office VBA и обратная связь. Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Comments
Copy link Quote reply
aaronherman commented Dec 20, 2017 •
Is this a Feature or Bug?
Current behavior:
When installing and running Cypress on Windows, I get the following error:
This has been duplicated on both Windows 7 and Windows 10.
Debug output
- Operating System: Windows 7 & 10
- Cypress Version: 1.0.3 & 1.3.0
- Browser Version: Chrome 63
This comment has been minimized.
Copy link Quote reply
brian-mann commented Dec 25, 2017
It looks like this error is happening during the scaffolding process. Can you manually create the files:
- cypress/integration/app_spec.js
- cypress/plugins/index.js and export a function
- cypress/fixtures/example.json
And then try again?
This comment has been minimized.
Copy link Quote reply
brian-mann commented Dec 25, 2017
Also does this happen every time? Or only the first time you install and work with a new project?
This comment has been minimized.
Copy link Quote reply
aaronherman commented Dec 25, 2017
I cloned «cypress-example-kitchensink» and received the same error. I haven’t been able to run it yet on Windows.
This comment has been minimized.
Copy link Quote reply
brian-mann commented Dec 26, 2017 •
Unfortunately I can’t reproduce this in Windows. I’ve tried all that I can think of.
Is there any way you can give me step-by-step instructions, and include any additional information about your Windows setup. Is it unusual in any way? Is it a VM? What user are you logged into? This almost seems like a permission issue — but I just can’t recreate it.
Hopefully something is unusual about the way you’re running Cypress. What I’m looking for is something like:
- Start a brand new project like: mkdir foo
- npm init -y
- npm install —save-dev cypress
- ./node_modules/.bin/cypress open
- crash.
I have tried adding new projects, and I have tried cloning existing ones. The error is definitely occurring during scaffolding but I don’t see why. Does it occur every single time?
Источник: