Project

General

Profile

Bug #507

Beep.wav file error when running programs

Added by Paul Kitching over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
AOZ Studio Team
Target version:
-
Start date:
09/19/2020
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

No program will compile until I manually copy beep.wav into the resources/appicon directory.

E.g. to E:\Data\My Documents\My AOZ Applications\Mirror\resources\appicon

Uncaught Error: EPERM: operation not permitted, copyfile 'E:\AOZ Studio (64 bits)\aoz//templates//empty_application_pc//resources//appicon/beep.wav' -> 'E:/Data/My Documents/My AOZ Applications/Mirror//resources//appicon//beep.wav'

fs.js:122

Error: EPERM: operation not permitted, copyfile 'E:\AOZ Studio (64 bits)\aoz//templates//empty_application_pc//resources//appicon/beep.wav' -> 'E:/Data/My Documents/My AOZ Applications/Mirror//resources//appicon//beep.wav'
at Object.copyFileSync (fs.js:1779:3)
at Object.func as copyFileSync
at AOZView.checkAppIcons (E:\AOZ Studio (64 bits)\aoz\IDE.atom\packages\aoz-studio\lib\aoz-studio-view.js:1639:7)
at AOZView.buildCurrentApplication (E:\AOZ Studio (64 bits)\aoz\IDE.atom\packages\aoz-studio\lib\aoz-studio-view.js:1466:8)
at HTMLElement.aoz-studio:run-atom (E:\AOZ Studio (64 bits)\aoz\IDE.atom\packages\aoz-studio\lib\aoz-studio-view.js:285:77)
at CommandRegistry.handleCommandEvent (E:\AOZ Studio (64 bits)\aoz\IDE\atom64\resources\app\static<embedded>:11:349780)
at KeymapManager.dispatchCommandEvent (E:\AOZ Studio (64 bits)\aoz\IDE\atom64\resources\app\static<embedded>:11:1231083)
at KeymapManager.handleKeyboardEvent (E:\AOZ Studio (64 bits)\aoz\IDE\atom64\resources\app\static<embedded>:11:1227217)
at WindowEventHandler.handleDocumentKeyEvent (E:\AOZ Studio (64 bits)\aoz\IDE\atom64\resources\app\static<embedded>:11:284829)

#1

Updated by Brian Flanagan over 3 years ago

  • Status changed from New to Feedback
  • Estimated time set to 1:00 h

I've seen that error before, but I'm not experiencing that in the current version. (Beta RC2)
Did any errors occur when you installed the RC2 version?
Did you try a clean install? (Rename the old program folder, so it's like a new install.)

#2

Updated by Paul Kitching over 3 years ago

No errors on install that I remember.
I uninstalled the previous one, then manually deleted the left over directory, then did a new install.
The only thing I did different to the default, was to change the install directory to point to my E drive, as my C drive is for the OS and isn't very big. I have all my software installed on E.

I also get errors in the window at the bottom. I can't copy then, but they say:
Compiler error: cannot copy file: E:/data/.../appicon/beep.wav
Compiler error: cannot copy file: E:/AOZ Studio (64 bits)/.../resources/star_night.jpeg

#3

Updated by Brian Flanagan almost 3 years ago

  • Status changed from Feedback to Closed

Re-tested in 1.0.0 (B7). Works. I see no more file errors.
(The "beep" error was corrected a long time ago.)

Also available in: Atom PDF