Giter Site home page Giter Site logo

Comments (14)

matthewtoast avatar matthewtoast commented on September 22, 2024

Can you look in the plumbing logs (~/.haiku/logs/haiku-debug.log) and grab the logs that occurred after the most recent occurrence of initializeWithinFolder immediately following one of these failures?

from animator.

zackbrown avatar zackbrown commented on September 22, 2024

Can also reproduce consistently logging in as [email protected] and the usual password, then opening stealth3.

When running from desktop, seems to suffer same npm error that we're seeing elsewhere. So I launched from terminal and saw there were some other issues: log following.

My sequence was:

  1. Open Haiku (prod, 2.0.80) from CLI $ /Applications/Haiku.app/Contents/MacOS/Haiku
  2. Launch stealth3 — immediately see same error Taylor saw https://cl.ly/3t0S3r3H2t2b
  3. Try launching again — it opens this time, but shows a blank lavender bg and empty stage & timeline https://cl.ly/2z030S0M2Q02
  4. Shared my log here
$ /Applications/Haiku.app/Contents/MacOS/Haiku
HAIKU_RELEASE_VERSION="2.0.80"
HAIKU_RELEASE_PLATFORM="mac"
HAIKU_RELEASE_ENVIRONMENT="production"
HAIKU_RELEASE_BRANCH="master"
HAIKU_PLUMBING_VERSION="master"
HAIKU_AUTOUPDATE_SERVER="http://squirrel.haiku.ai:3002"
Haiku plumbing initializing
args: []
flags: {}
config: { mode: 'creator' }
Installing Haiku CLI executable
Warning: Unable to install Haiku CLI executable (Error: Command failed: /Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/bins/install
/bin/sh: /Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/bins/install: Not a directory
)
Haiku plumbing launching
2017-05-18T18:44:16.515Z - info: Launching Haiku plumbing port=undefined, host=0.0.0.0, mode=creator
2017-05-18T18:44:16.518Z - info: Finding open port...
2017-05-18T18:44:16.527Z - info: Plumbing websocket server listening on discovered port 1024...
2017-05-18T18:44:16.531Z - info: Spawning subprocesses for this group port=1024, host=0.0.0.0, mode=creator, url=http://0.0.0.0:1024
2017-05-18T18:44:16.532Z - info: Environment forwarding: {"socket":{"port":1024,"host":"0.0.0.0"},"mode":"creator","plumbing":{"url":"http://0.0.0.0:1024"}}
2017-05-18T18:44:16.534Z - info: requiring creator @ /Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-creator-electron/electron.js
[Mixpanel] app:initialize { app: 'haiku',
  arch: 'x64',
  platform: 'darwin',
  type: 'Darwin',
  process: 'renderer',
  node_env: undefined,
  release_environment: 'production',
  release_branch: 'master',
  release_platform: 'mac',
  release_version: '2.0.80' }
[autoupdate] running
[autoupdate] checking
[autoupdate] url: http://squirrel.haiku.ai:3002/updates/latest?environment=production&branch=master&platform=mac&version=2.0.80
Haiku plumbing running
[autoupdate] checking-for-update
[autoupdate] update-not-available
2017-05-18T18:44:17.892Z - info: Websocket client connection opened: (commander creator) {"type":"commander","alias":"creator","url":"/?type=commander&alias=creator","haiku":{}}
2017-05-18T18:44:18.186Z - info: Plumbing got method call: isUserAuthenticated
2017-05-18T18:44:18.187Z - info: Fetching organization name for current user
2017-05-18T18:44:18.445Z - info: Organization name: taylor
2017-05-18T18:44:19.496Z - info: Plumbing got method call: listProjects
[plumbing] client #2 creator in [n/a] is 1
[plumbing] subproc #1 creator in undefined is {}
2017-05-18T18:44:21.750Z - info: Plumbing got method call: ensureProject 0=stealth3, 1=haiku, skipContentCreation=true, organizationName=taylor, authorName=null
2017-05-18T18:44:21.784Z - info: Plumbing got method call: initializeWithinFolder 0=stealth3, 1=/Users/zack/.haiku/projects/taylor/stealth3, 2=null, 3=null
2017-05-18T18:44:21.785Z - info: Spawning subprocesses for this group folder=/Users/zack/.haiku/projects/taylor/stealth3
2017-05-18T18:44:21.785Z - info: Environment forwarding: {"socket":{"port":1024,"host":"0.0.0.0"},"mode":"creator","plumbing":{"url":"http://0.0.0.0:1024"},"folder":"/Users/zack/.haiku/projects/taylor/stealth3"}
2017-05-18T18:44:21.796Z - info: process master created @ /Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/lib/processes/MasterProcess.js
2017-05-18T18:44:23.903Z - info: Establishing websocket connection to http://0.0.0.0:1024?type=controllee&alias=master&folder=/Users/zack/.haiku/projects/taylor/stealth3
2017-05-18T18:44:23.932Z - info: Websocket client connection opened: (controllee master) {"type":"controllee","alias":"master","folder":"/Users/zack/.haiku/projects/taylor/stealth3","url":"/?type=controllee&alias=master&folder=/Users/zack/.haiku/projects/taylor/stealth3","haiku":{}}
[master] calling gitInitialize [ 'stealth3', null, null, { organizationName: 'taylor' } ]
2017-05-18T18:44:24.310Z - info: [master] Folder initialization status: folder=/Users/zack/.haiku/projects/taylor/stealth3, isOnline=true, projectName=stealth3, branchName=master, isGitInitialized=true, folderEntries=[.git, .gitignore, .haiku, .npmignore, README.md, bytecode.js, designs, haiku.js, index.js, index.standalone.html, index.standalone.js, interpreter.js, node_modules, package.json, react-dom.js, react.js], gitStatuses=[], hasHeadCommit=true, projectName=stealth3, GitRemoteUrl=https://git-codecommit.us-west-2.amazonaws.com/v1/repos/haiku-production-f9e8664a-27f6-4628-6416-9c7868da59e7, CodeCommitHttpsUsername=41202837-b4df-4b49-55fb-b0c75488f19c-at-288590198158, CodeCommitHttpsPassword=rePAkvjuCHTUK5nJdvug5Cqg5GUybToZGogndkjUKo0=, gitRemotesList=[origin, stealth3], haikuUsername=null, haikuPassword=null, isCodeCommitReady=true, doesGitHaveChanges=false, organizationName=taylor, organizationName=taylor, semverVersion=0.0.1
2017-05-18T18:44:24.311Z - info: Action sequence: 0=_pullRemote, 1=_ensureDefaultFiles, 2=_runProjectMigrations
2017-05-18T18:44:24.312Z - info: [master] Action sequence entry -> _pullRemote
2017-05-18T18:44:24.314Z - info: [master] Fetching stealth3 from remote https://git-codecommit.us-west-2.amazonaws.com/v1/repos/haiku-production-f9e8664a-27f6-4628-6416-9c7868da59e7 ...
2017-05-18T18:44:25.033Z - info: [master] Fetch done!
2017-05-18T18:44:25.034Z - info: [master] Current branch is 'master'
2017-05-18T18:44:25.034Z - info: [master] Merging 'remotes/stealth3/master' into 'master' via 'normal' (/Users/zack/.haiku/projects/taylor/stealth3) ...
2017-05-18T18:44:25.035Z - info: Merge using options: fileFavor=0, fileFlags=0, flags=1
2017-05-18T18:44:25.037Z - info: [master] Merge complete (916caf4838ef4ef3d9e98a0caba1e9513694b404)!
2017-05-18T18:44:25.037Z - info: [master] Action sequence entry -> _ensureDefaultFiles
2017-05-18T18:44:25.038Z - info: Ensuring project folder is populated with required content (/Users/zack/.haiku/projects/taylor/stealth3)
2017-05-18T18:44:25.046Z - info: Required locals: {"projectFolder":"/Users/zack/.haiku/projects/taylor/stealth3","projectName":"stealth3","projectNameLower":"stealth3","projectType":"haiku","orgName":"taylor","orgNameLower":"taylor","authorName":"Haiku User","standaloneVanillaJavascriptRelpath":"./index.standalone.js","bytecodeFilePath":"./bytecode.js","electronVersion":"1.7.0","haikuPlayerLibVersion":"2.0.80","interpreterFilePath":"./interpreter.js","interpreterFileAbspath":"/Users/zack/.haiku/projects/taylor/stealth3/interpreter.js","nodeVersion":"6.6.0","npmVersion":"3.10.3","reactComponentName":"stealth3Component","reactComponentPath":"./react.js","reactDomHarnessFilePath":"./react-dom.js","semverString":"0.0.0","templateCode":"{ elementName: 'div', attributes: {}, children: [] }","projectNameLowerCase":"stealth3","bytecodeFilePathNormalized":"bytecode.js","interpreterFilePathNormalized":"interpreter.js","humanTimestamp":"20170518114425"}
2017-05-18T18:44:25.047Z - info: Building destination package.json
2017-05-18T18:44:25.062Z - info: Building destination bytecode.js
2017-05-18T18:44:25.064Z - info: Building destination interpreter.js
2017-05-18T18:44:25.065Z - info: Building destination index.js
2017-05-18T18:44:25.067Z - info: Building destination react.js
2017-05-18T18:44:25.068Z - info: Building destination react-dom.js
2017-05-18T18:44:25.071Z - info: Building destination .gitignore
2017-05-18T18:44:25.072Z - info: Building destination .npmignore
2017-05-18T18:44:25.072Z - info: Building destination .haiku/comments.json
2017-05-18T18:44:25.073Z - info: Building destination .haiku/migrations/version.json
2017-05-18T18:44:25.076Z - info: NPM installing dependencies @haiku/player=2.0.78
[plumbing] client #2 creator in [n/a] is 1
[plumbing] client #4 master in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] subproc #1 creator in undefined is {}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {}
2017-05-18T18:44:28.659Z - info: NPM finished: took=3583
2017-05-18T18:44:28.660Z - info: [master] Action sequence entry -> _runProjectMigrations
2017-05-18T18:44:28.660Z - info: Running migrations in /Users/zack/.haiku/projects/taylor/stealth3
2017-05-18T18:44:28.664Z - info: Migrations found: 1
2017-05-18T18:44:28.664Z - info: Project version: 20170509100508; Max version: 20170509100508
2017-05-18T18:44:28.665Z - info: Migrations already up to date
2017-05-18T18:44:28.665Z - info: Completed gitInitialize sequence
2017-05-18T18:44:28.695Z - info: Plumbing got method call: startProject 0=stealth3, 1=/Users/zack/.haiku/projects/taylor/stealth3
[master] calling startProject []
2017-05-18T18:44:28.717Z - info: [master] File watcher is now watching /Users/zack/.haiku/projects/taylor/stealth3 ...
[master] /Users/zack/.haiku/projects/taylor/stealth3 websocket is 1
File did read: bytecode.js 21638
File upserted: bytecode.js
diff bytecode.js: no previous content
2017-05-18T18:44:29.090Z - info: Plumbing method error: Reference evaluator required Error: Reference evaluator required
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:30:13)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:36:19)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:21:14)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:36:19)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:21:14)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:36:19)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:21:14)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:36:19)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:21:14)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:36:19)
    at reifyRO (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/reflection/reifyRO.js:21:14)
    at reifyOAST (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/ast/reifyOAST.js:6:10)
    at _findSubstructs (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:1053:40)
    at _extractSubstructs (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:977:18)
    at _parseFile (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:840:14)
    at _parseFile (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:967:15)
    at Function.loadCodeStructures (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:838:12)
    at Model.updateInMemoryContentState (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:111:19)
    at Model.updateContents (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:87:17)
    at File.findOrCreate (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:869:21)
    at instance.callAfterCreate (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/ModelClassFactory.js:172:18)
    at Model.callAfterCreate (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/ModelClassFactory.js:117:37)
    at Model.upsert (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/ModelClassFactory.js:170:25)
    at Function.upsert (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/ModelClassFactory.js:188:12)
    at instance.callLoad (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/ModelClassFactory.js:168:20)
    at Model.callLoad (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/ModelClassFactory.js:112:30)
    at Function.create (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/ModelClassFactory.js:166:21)
    at Function.findOrCreate (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/ModelClassFactory.js:200:18)
    at File.read (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:864:19)
    at _readFile (/Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/haiku-serialization/src/model/File.js:824:16)
    at /Applications/Haiku.app/Contents/Resources/app.asar/libs/plumbing/node_modules/graceful-fs/graceful-fs.js:78:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:439:3)
[plumbing] client #2 creator in [n/a] is 1
[plumbing] client #4 master in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] subproc #1 creator in undefined is {}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {}
2017-05-18T18:44:32.679Z - info: Plumbing got method call: ensureProject 0=stealth3, 1=haiku, skipContentCreation=true, organizationName=taylor, authorName=null
2017-05-18T18:44:32.696Z - info: Plumbing got method call: initializeWithinFolder 0=stealth3, 1=/Users/zack/.haiku/projects/taylor/stealth3, 2=null, 3=null
2017-05-18T18:44:32.697Z - info: Spawning subprocesses for this group folder=/Users/zack/.haiku/projects/taylor/stealth3
2017-05-18T18:44:32.697Z - info: Environment forwarding: {"socket":{"port":1024,"host":"0.0.0.0"},"mode":"creator","plumbing":{"url":"http://0.0.0.0:1024"},"folder":"/Users/zack/.haiku/projects/taylor/stealth3"}
2017-05-18T18:44:32.700Z - info: reusing existing master process
2017-05-18T18:44:32.702Z - info: Still connected ok; skipping reestablish
[master] calling gitInitialize [ 'stealth3', null, null, { organizationName: 'taylor' } ]
2017-05-18T18:44:32.946Z - info: [master] Folder initialization status: folder=/Users/zack/.haiku/projects/taylor/stealth3, isOnline=true, projectName=stealth3, branchName=master, isGitInitialized=true, folderEntries=[.git, .gitignore, .haiku, .npmignore, README.md, bytecode.js, designs, haiku.js, index.js, index.standalone.html, index.standalone.js, interpreter.js, node_modules, package.json, react-dom.js, react.js], gitStatuses=[], hasHeadCommit=true, projectName=stealth3, GitRemoteUrl=https://git-codecommit.us-west-2.amazonaws.com/v1/repos/haiku-production-f9e8664a-27f6-4628-6416-9c7868da59e7, CodeCommitHttpsUsername=41202837-b4df-4b49-55fb-b0c75488f19c-at-288590198158, CodeCommitHttpsPassword=rePAkvjuCHTUK5nJdvug5Cqg5GUybToZGogndkjUKo0=, gitRemotesList=[origin, stealth3], haikuUsername=null, haikuPassword=null, isCodeCommitReady=true, doesGitHaveChanges=false, organizationName=taylor, organizationName=taylor, semverVersion=0.0.1
2017-05-18T18:44:32.947Z - info: Action sequence: 0=_pullRemote, 1=_ensureDefaultFiles, 2=_runProjectMigrations
2017-05-18T18:44:32.948Z - info: [master] Action sequence entry -> _pullRemote
2017-05-18T18:44:32.950Z - info: [master] Fetching stealth3 from remote https://git-codecommit.us-west-2.amazonaws.com/v1/repos/haiku-production-f9e8664a-27f6-4628-6416-9c7868da59e7 ...
2017-05-18T18:44:33.436Z - info: [master] Fetch done!
2017-05-18T18:44:33.436Z - info: [master] Current branch is 'master'
2017-05-18T18:44:33.437Z - info: [master] Merging 'remotes/stealth3/master' into 'master' via 'normal' (/Users/zack/.haiku/projects/taylor/stealth3) ...
2017-05-18T18:44:33.437Z - info: Merge using options: fileFavor=0, fileFlags=0, flags=1
2017-05-18T18:44:33.438Z - info: [master] Merge complete (916caf4838ef4ef3d9e98a0caba1e9513694b404)!
2017-05-18T18:44:33.438Z - info: [master] Action sequence entry -> _ensureDefaultFiles
2017-05-18T18:44:33.438Z - info: Ensuring project folder is populated with required content (/Users/zack/.haiku/projects/taylor/stealth3)
2017-05-18T18:44:33.439Z - info: Required locals: {"projectFolder":"/Users/zack/.haiku/projects/taylor/stealth3","projectName":"stealth3","projectNameLower":"stealth3","projectType":"haiku","orgName":"taylor","orgNameLower":"taylor","authorName":"Haiku User","standaloneVanillaJavascriptRelpath":"./index.standalone.js","bytecodeFilePath":"./bytecode.js","electronVersion":"1.7.0","haikuPlayerLibVersion":"2.0.80","interpreterFilePath":"./interpreter.js","interpreterFileAbspath":"/Users/zack/.haiku/projects/taylor/stealth3/interpreter.js","nodeVersion":"6.6.0","npmVersion":"3.10.3","reactComponentName":"stealth3Component","reactComponentPath":"./react.js","reactDomHarnessFilePath":"./react-dom.js","semverString":"0.0.0","templateCode":"{ elementName: 'div', attributes: {}, children: [] }","projectNameLowerCase":"stealth3","bytecodeFilePathNormalized":"bytecode.js","interpreterFilePathNormalized":"interpreter.js","humanTimestamp":"20170518114433"}
2017-05-18T18:44:33.440Z - info: Building destination package.json
2017-05-18T18:44:33.443Z - info: Building destination bytecode.js
2017-05-18T18:44:33.445Z - info: Building destination interpreter.js
2017-05-18T18:44:33.448Z - info: Building destination index.js
2017-05-18T18:44:33.451Z - info: Building destination react.js
2017-05-18T18:44:33.452Z - info: Building destination react-dom.js
2017-05-18T18:44:33.454Z - info: Building destination .gitignore
2017-05-18T18:44:33.454Z - info: Building destination .npmignore
2017-05-18T18:44:33.454Z - info: Building destination .haiku/comments.json
2017-05-18T18:44:33.455Z - info: Building destination .haiku/migrations/version.json
2017-05-18T18:44:33.456Z - info: NPM skipping repeat install of @haiku/player=2.0.78
2017-05-18T18:44:33.456Z - info: [master] Action sequence entry -> _runProjectMigrations
2017-05-18T18:44:33.456Z - info: Running migrations in /Users/zack/.haiku/projects/taylor/stealth3
2017-05-18T18:44:33.459Z - info: Migrations found: 1
2017-05-18T18:44:33.459Z - info: Project version: 20170509100508; Max version: 20170509100508
2017-05-18T18:44:33.460Z - info: Migrations already up to date
2017-05-18T18:44:33.460Z - info: Completed gitInitialize sequence
2017-05-18T18:44:33.500Z - info: Plumbing got method call: startProject 0=stealth3, 1=/Users/zack/.haiku/projects/taylor/stealth3
[master] calling startProject []
2017-05-18T18:44:33.584Z - info: [master] Webserver listening @ http://0.0.0.0:1025
2017-05-18T18:44:33.595Z - info: Required locals: {"projectFolder":"/Users/zack/.haiku/projects/taylor/stealth3","projectName":"stealth3","projectNameLower":"stealth3","projectType":"haiku","orgName":"Unknown","orgNameLower":"unknown","authorName":"Haiku User","standaloneVanillaJavascriptRelpath":"./index.standalone.js","bytecodeFilePath":"./bytecode.js","electronVersion":"1.7.0","haikuPlayerLibVersion":"2.0.80","interpreterFilePath":"./interpreter.js","interpreterFileAbspath":"/Users/zack/.haiku/projects/taylor/stealth3/interpreter.js","nodeVersion":"6.6.0","npmVersion":"3.10.3","reactComponentName":"stealth3Component","reactComponentPath":"./react.js","reactDomHarnessFilePath":"./react-dom.js","semverString":"0.0.0","templateCode":"{ elementName: 'div', attributes: {}, children: [] }","projectNameLowerCase":"userszackhaikuprojectstaylorstealth3","bytecodeFilePathNormalized":"bytecode.js","interpreterFilePathNormalized":"interpreter.js","humanTimestamp":"20170518114433"}
2017-05-18T18:44:33.787Z - info: Plumbing got method call: listAssets 0=/Users/zack/.haiku/projects/taylor/stealth3
2017-05-18T18:44:33.792Z - info: Plumbing got method call: fetchProjectInfo 0=/Users/zack/.haiku/projects/taylor/stealth3, 1=stealth3, 2=null, 3=null,
[master] /Users/zack/.haiku/projects/taylor/stealth3 websocket is 1
2017-05-18T18:44:35.383Z - info: Websocket client connection opened: (controllee glass) {"type":"controllee","alias":"glass","folder":"/Users/zack/.haiku/projects/taylor/stealth3","url":"/?type=controllee&alias=glass&folder=/Users/zack/.haiku/projects/taylor/stealth3","haiku":{}}
2017-05-18T18:44:35.482Z - info: Websocket client connection opened: (controllee timeline) {"type":"controllee","alias":"timeline","folder":"/Users/zack/.haiku/projects/taylor/stealth3","url":"/?type=controllee&alias=timeline&folder=/Users/zack/.haiku/projects/taylor/stealth3","haiku":{}}
[plumbing] client #2 creator in [n/a] is 1
[plumbing] client #4 master in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #5 glass in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #6 timeline in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] subproc #1 creator in undefined is {}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {"reused":true}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {"reused":true}
2017-05-18T18:44:37.639Z - info: Plumbing got method call: fetchActiveComponentBytecode 0=/Users/zack/.haiku/projects/taylor/stealth3
[master] /Users/zack/.haiku/projects/taylor/stealth3 websocket is 1
[plumbing] client #2 creator in [n/a] is 1
[plumbing] client #4 master in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #5 glass in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #6 timeline in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] subproc #1 creator in undefined is {}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {"reused":true}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {"reused":true}
[master] /Users/zack/.haiku/projects/taylor/stealth3 websocket is 1
[plumbing] client #2 creator in [n/a] is 1
[plumbing] client #4 master in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #5 glass in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #6 timeline in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] subproc #1 creator in undefined is {}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {"reused":true}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {"reused":true}
[master] /Users/zack/.haiku/projects/taylor/stealth3 websocket is 1
[plumbing] client #2 creator in [n/a] is 1
[plumbing] client #4 master in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #5 glass in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #6 timeline in /Users/zack/.haiku/projects/taylor/stealth3 is 1
[plumbing] subproc #1 creator in undefined is {}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {"reused":true}
[plumbing] subproc #3 master in /Users/zack/.haiku/projects/taylor/stealth3 is {"reused":true}
[master] /Users/zack/.haiku/projects/taylor/stealth3 websocket is 1

from animator.

taylorpoe avatar taylorpoe commented on September 22, 2024

Here's my log after the initializeWithinFolder. Of note : it seems to be trying to talk to the wrong project "moto7" in some places.

2017-05-18T18:56:33.903Z - info: Spawning subprocesses for this group folder=/Users/taylorpoe/.haiku/projects/taylor/stealth3
2017-05-18T18:56:33.905Z - info: Environment forwarding: {"socket":{"port":1024,"host":"0.0.0.0"},"mode":"creator","plumbing":{"url":"http://0.0.0.0:1024"},"folder":"/Users/taylorpoe/.haiku/projects/taylor/stealth3"}
2017-05-18T18:56:33.906Z - info: reusing existing master process
2017-05-18T18:56:33.907Z - info: Still connected ok; skipping reestablish
[master] calling gitInitialize [ 'stealth3', null, null, { organizationName: 'taylor' } ]
[plumbing] client #2 creator in [n/a] is 1
[plumbing] client #4 master in /Users/taylorpoe/.haiku/projects/taylor/stealth3 is 1
[plumbing] client #8 master in /Users/taylorpoe/.haiku/projects/taylor/moto7 is 1
[plumbing] client #10 timeline in /Users/taylorpoe/.haiku/projects/taylor/moto7 is 3
[plumbing] client #11 glass in /Users/taylorpoe/.haiku/projects/taylor/stealth3 is 3
[plumbing] subproc #1 creator in undefined is {}
[plumbing] subproc #3 master in /Users/taylorpoe/.haiku/projects/taylor/stealth3 is {"reused":true}
[plumbing] subproc #3 master in /Users/taylorpoe/.haiku/projects/taylor/stealth3 is {"reused":true}
[plumbing] subproc #7 master in /Users/taylorpoe/.haiku/projects/taylor/moto7 is {}
[plumbing] subproc #3 master in /Users/taylorpoe/.haiku/projects/taylor/stealth3 is {"reused":true}
[plumbing] subproc #3 master in /Users/taylorpoe/.haiku/projects/taylor/stealth3 is {"reused":true}
[master] /Users/taylorpoe/.haiku/projects/taylor/moto7 websocket is 1
2017-05-18T18:56:34.177Z - info: [master] Folder initialization status: folder=/Users/taylorpoe/.haiku/projects/taylor/stealth3, isOnline=true, projectName=stealth3, branchName=master, isGitInitialized=true, folderEntries=[.git, .gitignore, .haiku, .npmignore, README.md, bytecode.js, designs, haiku.js, index.js, index.standalone.html, index.standalone.js, interpreter.js, node_modules, package.json, react-dom.js, react.js], gitStatuses=[0=WT_MODIFIED], hasHeadCommit=true, projectName=stealth3, GitRemoteUrl=https://git-codecommit.us-west-2.amazonaws.com/v1/repos/haiku-production-f9e8664a-27f6-4628-6416-9c7868da59e7, CodeCommitHttpsUsername=41202837-b4df-4b49-55fb-b0c75488f19c-at-288590198158, CodeCommitHttpsPassword=rePAkvjuCHTUK5nJdvug5Cqg5GUybToZGogndkjUKo0=, gitRemotesList=[origin, stealth3], haikuUsername=null, haikuPassword=null, isCodeCommitReady=true, doesGitHaveChanges=true, organizationName=taylor, organizationName=taylor, semverVersion=0.0.1
2017-05-18T18:56:34.178Z - info: Action sequence: 0=_ensureDefaultFiles, 1=_runProjectMigrations
2017-05-18T18:56:34.178Z - info: [master] Action sequence entry -> _ensureDefaultFiles
2017-05-18T18:56:34.178Z - info: Ensuring project folder is populated with required content (/Users/taylorpoe/.haiku/projects/taylor/stealth3)
2017-05-18T18:56:34.180Z - info: Required locals: {"projectFolder":"/Users/taylorpoe/.haiku/projects/taylor/stealth3","projectName":"stealth3","projectNameLower":"stealth3","projectType":"haiku","orgName":"taylor","orgNameLower":"taylor","authorName":"Haiku User","standaloneVanillaJavascriptRelpath":"./index.standalone.js","bytecodeFilePath":"./bytecode.js","electronVersion":"1.7.0","haikuPlayerLibVersion":"2.0.80","interpreterFilePath":"./interpreter.js","interpreterFileAbspath":"/Users/taylorpoe/.haiku/projects/taylor/stealth3/interpreter.js","nodeVersion":"6.6.0","npmVersion":"3.10.3","reactComponentName":"stealth3Component","reactComponentPath":"./react.js","reactDomHarnessFilePath":"./react-dom.js","semverString":"0.0.0","templateCode":"{ elementName: 'div', attributes: {}, children: [] }","projectNameLowerCase":"stealth3","bytecodeFilePathNormalized":"bytecode.js","interpreterFilePathNormalized":"interpreter.js","humanTimestamp":"20170518115634"}```

from animator.

matthewtoast avatar matthewtoast commented on September 22, 2024

OK, I think I see the issue. The culprit is ultimately this token in that project's bytecode.js:

screen shot 2017-05-18 at 3 05 50 pm

The error causing the project to fail to load is actually happening down stream (our AST manipulation layer sees that token, detects that it is an 'Identifier' as opposed to a static value, and then throws an error when it realizes it can't resolve/compute it with the information given).

But the root of the issue is really how that NaN token got there in the first place. I suspect that some z-index related action was attempted (@taylorpoe does that ring a bell?) but the input was munged somehow and so this garbage got written to the file.

from animator.

taylorpoe avatar taylorpoe commented on September 22, 2024

Yes, I "send backward"-ed the "shadow" element from the context menu on stage.

from animator.

matthewtoast avatar matthewtoast commented on September 22, 2024

(Re: the "moto7" messages, those are probably just heartbeat messages indicating which projects are connected.)

from animator.

matthewtoast avatar matthewtoast commented on September 22, 2024

@taylorpoe Just confirming: "Backward" or "Send to Back"? (if you remember)

from animator.

matthewtoast avatar matthewtoast commented on September 22, 2024

"Backward" probably :P based on the fact that I just reproduced it. The problem is that "Backward" doesn't work if the playhead is at any value other than 0. (But "Send to Back" works fine it seems.)

from animator.

matthewtoast avatar matthewtoast commented on September 22, 2024

@taylorpoe I have a bug fix for the root issue coming, but you will probably need to manually fix the bytecode to get this project working again. You'll need to open /Users/taylorpoe/.haiku/projects/taylor/stealth3/bytecode.js in your text editor, then change that NaN identifier to 1 or any numeric (integer) value. Then open Creator and the project should load fine.

from animator.

taylorpoe avatar taylorpoe commented on September 22, 2024

Definitely "Backward"

from animator.

matthewtoast avatar matthewtoast commented on September 22, 2024

Manual fix in comment above ^, root cause fixed in 2.0.82.

from animator.

taylorpoe avatar taylorpoe commented on September 22, 2024

Okay, I'll make that manual change. Awesome that that's possible. Some other notes on this: because there is no z-index property input (yet) there are no keyframes created when z-index is changed. This led me to believe that z-index wasn't relevant to a place in time. (Totally makes sense that it is.) But without that property showing as an input and being able to see the keyframes it's pretty hard to fix if you indended set the z-index at the beginning (for all frames) and then mistakenly did it somewhere on the timeline, but then not being able to see where (cos no keyframes).

from animator.

matthewtoast avatar matthewtoast commented on September 22, 2024

Yeah, after toying with this feature myself, I also realize that is sort of a general issue (lack of keyframe display exacerbating it): actions where you aren't necessarily thinking about the fact that you've moved the playhead, and your intent was to make some kind of global/default setting only to realize later that you are at frame 345 not 0. (I just made a comment in https://haiku.quip.com/T2deAqsbqjmn in the same vein in regard to instantiation.) Prob worth spinning up a convo in Quip about this at some point soon.

from animator.

zackbrown avatar zackbrown commented on September 22, 2024

re:

Prob worth spinning up a convo in Quip about this at some point soon.

See https://haiku.quip.com/sFd1AF4SIkH6

from animator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.