Comments (4)
Its the same issue at Linux, config.json and DATAROOT-folder are created in the home folder. After moving it to the application folder i was able to start it and change the paths in the config.
from spx-gc.
Some more findings:
a) only effects binary package version of SPX-GC
b) The actual issue: Mac defaults to User's home directory (such as /Users/John
) when a Terminal is started by doubleclicking on any executable shell program. When the same program is started from terminal prompt it works as expected...
Currently SPX-GC uses process.cwd()
to get the startup path. Another approach should be taken to figure out if we app is running in pkg environment (on Mac).
WORKAROUND until fix: navigate to the install folder with Terminal and start the app there with .SPX-GC_macos64
command (and NOT by doubleclicking on it)
from spx-gc.
This needs work - the issue is stll present. A textfle added to Mac zip file reading:
DO NOT DOUBLECLICK SPX-GC_macos64 -file to run it.
MacOS defaults to "/User/username" -folder when a program is opened by DOUBLECLICKING on it. This WILL CAUSE AN ERROR and default files (config.json, LOG, DATAROOT) will be generated to the home directory and not to the current working directory. Please navigate to the correct folder and start the application with "./SPX-GC_macos64" -command.
from spx-gc.
Fixed in 1.0.12 by introducing a getStartUpFolder()
-function, which checks the runtime environment and returns the path accordingly.
from spx-gc.
Related Issues (20)
- Cutted text in NAME_LEFT.html
- /api/v1/getlayerstate is blanc after changing order of templates in rundown
- Rundown with # in the name breaks the entire application HOT 1
- Mac Install - cannot make file executable HOT 1
- Cannot Find template error on casparcg 2.0.7 HOT 3
- SPX Crash on template reload/add HOT 2
- Server Crash HOT 1
- Template file browser is empty HOT 1
- How to Update installation HOT 1
- Issue with rundown item duplication
- Issue with displaying template on CASPARCG using API/v1 HOT 2
- Playout inconsistencies with textarea newlines
- Feature request: UPDATE in api
- Fresh install on Pi. Cannot start.
- Companion 3.xx - SPX module HOT 1
- writeFile, writeTextFile and renameRundown are unsafe
- GetJsonData is unsafe
- Duplicating rundowns unsafe
- Rundowns with &, ?, + etc. will make `router.get('/changeItemData'...` break
- Alternative Installation Process for Streaming Applications Lacking Browser Sources Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spx-gc.