openframeworks / openframeworks/projectGenerator

"update multiple targets" fails for ofxCv

Open
#121 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
90
Forks
79
Avg merge
2d 9h
Merged PRs (30d)
5

Description

i'm doing an computer vision + OF class at ITP this weekend and wanted to show them the "update multiple projects" tab. but when i try to run it on ofxCv i don't get any new project files. here is the verbose log:

[notice ] -----------------------------------------------
[notice ] updating an existing project
[notice ] target platform is: osx
[verbose]   addon_config.mk
[verbose]   bin
[verbose]   config.make
[verbose]   example-ar
[verbose]   example-background
[verbose]   example-bayer
[verbose]   example-blur
[verbose]   example-calibration
[verbose]   example-calibration-lcp
[verbose]   example-coherent-lines
[verbose]   example-contours-advanced
[verbose]   example-contours-basic
[verbose]   example-contours-color
[verbose]   example-contours-following
[verbose]   example-contours-quad
[verbose]   example-contours-tracking
[verbose]   example-difference
[verbose]   example-difference-columns
[verbose]   example-edge
[verbose]   example-empty
[verbose]   example-estimate-affine
[verbose]   example-face
[verbose]   example-face-follow
[verbose]   example-face-zoom
[verbose]   example-flow
[verbose]   example-flow-distort
[verbose]   example-flow-distort-shader
[verbose]   example-flow-keypoints
[verbose]   example-gesture
[verbose]   example-highpass
[verbose]   example-homography
[verbose]   example-kalman
[verbose]   example-kalman-euler
[verbose]   example-smile
[verbose]   example-threshold
[verbose]   example-undistortion
[verbose]   libs
[verbose]   license.md
[verbose]   Makefile
[verbose]   ofxaddons_thumbnail.png
[verbose]   ofxCv.xcodeproj
[verbose]   openFrameworks-Info.plist
[verbose]   Project.xcconfig
[verbose]   readme.md
[verbose]   src
[verbose]   update-projects.py
[verbose] listed 46 files in "/Users/kyle/Documents/openFrameworks-0.9.2/addons/ofxCv/"
[notice ] updating project /Users/kyle/Documents/openFrameworks-0.9.2/addons/ofxCv
[verbose] returning path ../../

[verbose]   ofxCv.h
[verbose] listed 1 files in "/Users/kyle/Documents/openFrameworks-0.9.2/addons/ofxCv/src/"
[notice ] parsing addons.make
[notice ] saving addons.make
[notice ] project updated! 
[notice ] -----------------------------------------------

1 project updated [notice ] in -4.96733 seconds





(command used:"/Users/kyle/Documents/openFrameworks-0.9.2/projectGenerator-osx/projectGenerator.app/Contents/Resources/app/app/projectGenerator" -r -v -o"/Users/kyle/Documents/openFrameworks-0.9.2" -p"osx" "/Users/kyle/Documents/openFrameworks-0.9.2/addons/ofxCv")

it offers me the option "open in IDE" and if i click it, it says:

Uncaught Exception:
Error: ENOENT: no such file or directory, stat '/Users/kyle/Documents/openFrameworks-0.9.2/apps/myApps/mySketch'
    at Error (native)
    at fs.statSync (fs.js:854:18)
    at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
    at EventEmitter.<anonymous> (/Users/kyle/Documents/openFrameworks-0.9.2/projectGenerator-osx/projectGenerator.app/Contents/Resources/app/index.js:800:16)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)
    at EventEmitter.<anonymous> (/Users/kyle/Documents/openFrameworks-0.9.2/projectGenerator-osx/projectGenerator.app/Contents/Resources/atom.asar/browser/api/lib/web-contents.js:54:23)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)

this is with 0.9.2 and the latest ofxCv.

is there something additional i should do to get the project generator to work?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the update-multiple-targets flow from the verbose command and inspect projectGenerator.app/Contents/Resources/app/index.js around line 800. Check the generated paths and the "open in IDE" action against the reported missing apps/myApps/mySketch path; done means project files are created and the IDE action no longer fails on that path.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.