hrueger / AGLight

An intuitive software for controlling DMX lights.
MIT License
23 stars 3 forks source link

Fixtures don't show up? #146

Closed dyamized closed 3 years ago

dyamized commented 3 years ago

I certainly may not understand how the program works... but I've installed it both macOS and Windows. After creating a new show, I see the "Dowloading library" finish, but no fixtures ever show up in the Fixture list.

Should they?

AGLightNoFixtures

hrueger commented 3 years ago

Yes, they should.

Can you press Ctrl + Shift + I (on windows) or Cmd + Opt + I (on Mac) and see if there are any errors?

dyamized commented 3 years ago

Yes! There are errors (I pasted them below). And this makes sense. I have this folder " C:\Users\dyami\AppData\Roaming\aglight", but it does not have a "library" folder. I quit AGLight, created the "library" folder, and now I see all the fixtures after it downloaded the library again.

vendor.js:42279 ERROR Error: Uncaught (in promise): Error: ENOENT: no such file or directory, open 'C:\Users\dyami\AppData\Roaming\aglight\library\library.json' Error: ENOENT: no such file or directory, open 'C:\Users\dyami\AppData\Roaming\aglight\library\library.json' at Object.openSync (fs.js:440) at Object.func (electron/js2c/asar.js:140) at Object.func [as openSync] (electron/js2c/asar.js:140) at Object.readFileSync (fs.js:342) at Object.fs.readFileSync (electron/js2c/asar.js:542) at Object.fs.readFileSync (electron/js2c/asar.js:542) at LibraryService.push../src/app/_services/library.service.ts.LibraryService.loadIntoCache (main.js:17812) at HomeComponent. (main.js:4698) at step (main.js:4662) at Object.next (main.js:4643) at resolvePromise (polyfills.js:4151) at new ZoneAwarePromise (polyfills.js:4235) at push../src/app/_components/home/home.component.ts.__awaiter (main.js:4633) at HomeComponent.push../src/app/_components/home/home.component.ts.HomeComponent.ngOnInit (main.js:4690) at callHook (vendor.js:41133) at callHooks (vendor.js:41103) at executeInitAndCheckHooks (vendor.js:41056) at refreshView (vendor.js:45685) at refreshDynamicEmbeddedViews (vendor.js:46733) at refreshView (vendor.js:45690) defaultErrorLogger @ vendor.js:42279 internal/fs/utils.js:220 Uncaught Error: ENOENT: no such file or directory, copyfile 'C:\Users\dyami\AppData\Roaming\aglight\library.tmp' -> 'C:\Users\dyami\AppData\Roaming\aglight\library\library.json' at Object.copyFileSync (fs.js:1790) at Object.func (electron/js2c/asar.js:140) at Object.func [as copyFileSync] (electron/js2c/asar.js:140) at Request. (main.js:17872) at Request.emit (events.js:215) at IncomingMessage. (vendor.js:148232) at Object.onceWrapper (events.js:299) at IncomingMessage.emit (events.js:215) at endReadableNT (_stream_readable.js:1183) at processTicksAndRejections (internal/process/task_queues.js:80)

On Fri, Sep 18, 2020 at 10:39 AM Hannes Rüger notifications@github.com wrote:

Yes, they should.

Can you press Ctrl + Shift + I (on windows) or Cmd + Opt + I (on Mac) and see if there are any errors?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hrueger/AGLight/issues/146#issuecomment-694997428, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWKUHNLIBQBY2NNCAWTZGTSGOLOZANCNFSM4RSJPYFA .

hrueger commented 3 years ago

👍 Thanks, I'll fix this tomorrow.

hrueger commented 3 years ago

Should be fixed now. If you have any more problems, just create issues ;-)