Project

General

Profile

Actions

Bug #755

closed

Creation of New App fails.

Added by Brian Flanagan over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Target version:
Start date:
05/20/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Tested in macOS 1.0.0 (B8).

Instead, it creates an empty folder, does not scroll to that folder, etc.

CONSOLE ERRORS:
First, gets ERR_FILE_NOT_FOUND on validator.js. It's using the template_pc even though we're on macOS!

v1_0_asset.js:80 GET file:///Library/Application%20Support/AOZ_Studio/app/aoz/templates/newapp/html/resources/assets/templates/template_pc/validator.js net::ERR_FILE_NOT_FOUND

Then, gets additional error on validator.js after hitting the CREATE button:

/Library/Application Support/AOZ_Studio/.aozstudio/packages/aoz-studio/lib/aoz-io.js:865 Error: ENOENT: no such file or directory, unlink '/Users/brian/Documents/My AOZ Applications/My_New_App_Fail/validator.js'
    at Object.unlinkSync (fs.js:976)
    at Object.AOZIO.deleteFile (/Library/Application Support/AOZ_Studio/.aozstudio/packages/aoz-studio/lib/aoz-io.js:856)
    at client.js:276
    at Object.AOZIO.copyDirectory (/Library/Application Support/AOZ_Studio/.aozstudio/packages/aoz-studio/lib/aoz-io.js:960)
    at Client.createProject (client.js:267)
    at <anonymous>:1:8
    at HTMLBodyElement.appendChild (<anonymous>)
    at ext_dom.executeJS (ext_dom.js:548)
    at Application.blocks.<computed> (application.js:1367)
    at AOZ.runBlocks (raoz.js:778)
    at doUpdate (raoz.js:452)
Actions #1

Updated by Brian Flanagan over 3 years ago

After #idetranspileall , this works, however it now puts some text in the new editor window which will cause an error in the user's new code if it's not deleted.

Actions #2

Updated by Brian Flanagan over 3 years ago

re-tested in 5/24 version: 1.0.0 (B8) macOS

Partially fixed, but still fails, (just differently):

GOOD: No longer gets the validator.js problems.

BAD:

  1. Red text covers "Preparing your AOZ application" message.
  2. Usually does not open the new application, nor does it create the resources folder.
  3. It did NOT name the new application .aoz file to the proper name, but used main.aoz instead.
Actions #3

Updated by Brian Flanagan over 3 years ago

  • Status changed from New to Resolved

The New command is now working in the newest 1.0.0 Beta 8 in macOS!
June 3 version with a patch from Baptiste for macOS.

(There's still a text glitch on the New dialog box, but that's another issue.)

Actions #4

Updated by Brian Flanagan about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF