Skip to content

snapper.py code execution error #2

@sebasppr

Description

@sebasppr

python3 snapper.py --test
2021-09-23 12:04:07,046 creating an instance of PyQtIndi.IndiClient
INDI::BaseClient::connectServer: creating new connection...
INDI::BaseClient::connectServer: Already connected.
Server connected (localhost:7624)
2021-09-23 12:04:07,046 Set new device SX CCD SuperStar!
2021-09-23 12:04:07,046 Got property CONNECTION for <PyIndi.BaseDevice; proxy of <Swig Object of type 'INDI::BaseDevice *' at 0x7fe72e381cf0> >!
2021-09-23 12:04:07,048 new Text DRIVER_INFO for device SX CCD SuperStar
2021-09-23 12:04:07,048 new Switch CONNECTION for device SX CCD SuperStar
2021-09-23 12:04:07,048 <<<<<<<< Exposure >>>>>>>>>
Traceback (most recent call last):
File "/home/sebastian/Documentos/pyOculus-master/indiclient.py", line 32, in newProperty
self.takeExposure()
File "/home/sebastian/Documentos/pyOculus-master/indiclient.py", line 71, in takeExposure
exp[0].value = self.exptime
TypeError: 'INumberPropertyview' object does not support indexing
BaseClient::~BaseClient: Probability of detecting a deadlock.

that object indexing faill

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions