Page 1 of 1

Cameras Not Listed in Actions

PostPosted: Mon Jan 18, 2016 8:09 pm
by ckeyes888
Had this issue on my former server running 10.5.8 and am seeing it again on a newer server
running 10.6.8 where there aren't any cameras listed when setting up actions
for presets etc.

The cams and presets are working fine in CP pages.

SS plugin 1,6.4

Any idea what may be wrong?

Thanks,

Carl

Re: Cameras Not Listed in Actions

PostPosted: Sat Jan 23, 2016 3:29 pm
by ckeyes888
Here's what the issue looks like.
Nothing to select in Camera menu.

Carl

Re: Cameras Not Listed in Actions

PostPosted: Wed Mar 23, 2016 9:33 pm
by Perry The Cynic
You're sure that your camera actually supports presets, as per SecuritySpy? An empty camera list in that dialog usually means "none of the cameras you made Indigo devices for support preset positioning."

(When you say "works fine in CP", what do you mean?)

Cheers
-- perry

Re: Cameras Not Listed in Actions

PostPosted: Wed Mar 23, 2016 10:55 pm
by ckeyes888
The cameras definitely do support presets. What I meant by them working in CP's is that
when I set them up originally, the cams did of course show, they continue to work even though
now, when trying to edit them, they do not show.

Thanks,

Carl

Re: Cameras Not Listed in Actions

PostPosted: Thu Mar 24, 2016 1:00 am
by Perry The Cynic
ckeyes888 wrote:
The cameras definitely do support presets. What I meant by them working in CP's is that
when I set them up originally, the cams did of course show, they continue to work even though
now, when trying to edit them, they do not show.
Carl

Weird. In the plugin's Configure... dialog, check the debug checkbox and enter into the Debug Modules field the string
Code: Select all
spy.core
. Then reload the plugin, do the thing that doesn't work, and send me your Indigo log.

Cheers
-- perry

Re: Cameras Not Listed in Actions

PostPosted: Thu Mar 24, 2016 8:51 am
by ckeyes888
Hope I did this right.
Code: Select all
Mar 24, 2016 8:46:05 AM
  Cynical SecuritySpy             debugging enabled
  Cynical SecuritySpy             debugging module: spy.core

Mar 24, 2016 8:46:55 AM
  Cynical SecuritySpy Error       in filter PTZFilter: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 46, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/plug.py", line 551, in menufilter
    menu = filter._evaluate()
  File ".../Server Plugin/cyin/filter.py", line 56, in _evaluate
    menu = self.evaluate()
  File "plugin.py", line 298, in evaluate
    if camera.spy_camera.ptz_capabilities & ptz_bits]
AttributeError: 'NoneType' object has no attribute 'ptz_capabilities'

Mar 24, 2016 8:48:37 AM
  Reloading plugin "Cynical SecuritySpy 1.6.4"
  Stopping plugin "Cynical SecuritySpy 1.6.4" (pid 246)
  Cynical SecuritySpy             shutdown sensed
  Cynical SecuritySpy             Security Cam Bookroom stopping
  Cynical SecuritySpy             Security Cam Bunkhouse stopping
  Cynical SecuritySpy             Security Cam Couch stopping
  Cynical SecuritySpy             Security Cam Front Yard stopping
  Cynical SecuritySpy             Security Cam Kitchen stopping
  Cynical SecuritySpy             Security Spy Server stopping
  Stopped plugin "Cynical SecuritySpy 1.6.4"
  Starting plugin "Cynical SecuritySpy 1.6.4" (pid 13473)
  Cynical SecuritySpy             API version 1.19
  Cynical SecuritySpy             debugging module: spy.core
  Started plugin "Cynical SecuritySpy 1.6.4"
  Cynical SecuritySpy             mapping device "Security Cam Bookroom" 1775162747(camera)
  Cynical SecuritySpy             Security Cam Bookroom starting
  Cynical SecuritySpy             mapping device "Security Spy Server" 1367728685(server)
  Cynical SecuritySpy             Security Spy Server starting
  Cynical SecuritySpy             mapping device "Security Cam Bunkhouse" 628403878(camera)
  Cynical SecuritySpy             Security Cam Bunkhouse starting
  Cynical SecuritySpy             mapping device "Security Cam Couch" 459692256(camera)
  Cynical SecuritySpy             Security Cam Couch starting
  Cynical SecuritySpy             mapping device "Security Cam Front Yard" 6481985(camera)
  Cynical SecuritySpy             Security Cam Front Yard starting
  Cynical SecuritySpy             mapping device "Security Cam Kitchen" 150027331(camera)
  Cynical SecuritySpy             Security Cam Kitchen starting
  Cynical SecuritySpy             plugin starting asyn operation
  Cynical SecuritySpy             Security Spy Server is now ready
  Cynical SecuritySpy             Security Cam Bookroom host device Security Spy Server now available
  Cynical SecuritySpy             Security Cam Bookroom is now preparing
  Cynical SecuritySpy             Security Cam Bunkhouse host device Security Spy Server now available
  Cynical SecuritySpy             Security Cam Bunkhouse is now preparing
  Cynical SecuritySpy             Security Cam Couch host device Security Spy Server now available
  Cynical SecuritySpy Error       Security Cam Couch unavailable: no camera #0 in Security Spy Server
  Cynical SecuritySpy             Security Cam Front Yard host device Security Spy Server now available
  Cynical SecuritySpy             Security Cam Front Yard is now preparing
  Cynical SecuritySpy             Security Cam Kitchen host device Security Spy Server now available
  Cynical SecuritySpy             Security Cam Kitchen is now preparing
  Cynical SecuritySpy             event tap active

Mar 24, 2016 8:49:10 AM
  Cynical SecuritySpy Error       in filter PTZFilter: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 46, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/plug.py", line 551, in menufilter
    menu = filter._evaluate()
  File ".../Server Plugin/cyin/filter.py", line 56, in _evaluate
    menu = self.evaluate()
  File "plugin.py", line 298, in evaluate
    if camera.spy_camera.ptz_capabilities & ptz_bits]
AttributeError: 'NoneType' object has no attribute 'ptz_capabilities'


Thanks,

Carl

Re: Cameras Not Listed in Actions

PostPosted: Thu Mar 24, 2016 9:50 am
by Perry The Cynic
I t hink I see what's happening here. Your Security Cam Couch has a problem - it's somehow lost its camera number and so it's failing to start. But the code that enumerates PTZ-capable cameras doesn't ignore nonfunctional cameras and fails, producing that empty list.

Try to set the camera for Security Cam Couch. If you can't, you may have to delete and recreate that device. That should fix your problem. I'll add an extra check to the next version to avoid this in the future.

Thanks for reporting
-- perry

Re: Cameras Not Listed in Actions

PostPosted: Thu Mar 24, 2016 4:58 pm
by ckeyes888
Aha. I did delete that camera from SS but never did delete it from Indigo.
Removing it from Indigo and restarting the plugin fixed it.

Many thanks for the help and an great plugin!

Carl