Skip to content

Instantly share code, notes, and snippets.

View ChristianTremblay's full-sized avatar

Christian Tremblay ChristianTremblay

View GitHub Profile
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\ops\grid.py in _do_auth_attempt(self, event)
116 try:
--> 117 self._session.authenticate(callback=self._on_authenticate)
118 except: # Catch all exceptions to pass to caller.
C:\Users\ctremblay.SERVISYS\AppData\Local\Continuum\Anaconda3\lib\site-packages\pyhaystack\client\session.py in authenticate(self, callback)
97 # Already done
---> 98 return callback(auth_op)
> read 2:5 analogInput 1 presentValue
DEBUG:bacpypes.appservice.ApplicationServiceAccessPoint:sap_indication <bacpypes.apdu.ReadPropertyRequest(12) instance at 0x7ff1bae8a6d8>
<bacpypes.apdu.ReadPropertyRequest(12) instance at 0x7ff1bae8a6d8>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
apduService = 12
objectIdentifier = ('analogInput', 1)
propertyIdentifier = 'presentValue'
> bugin bacpypes.netservice.NetworkServiceAccessPoint
handler to bacpypes.netservice.NetworkServiceAccessPoint added
> read 2:5 analogInput 1 presentValue
DEBUG:bacpypes.netservice.NetworkServiceAccessPoint:indication <bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7f41868c78d0>
<bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7f41868c78d0>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
@ChristianTremblay
ChristianTremblay / BokehRenderer.py
Last active December 16, 2015 17:24
BokehRenderer problem
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015 by Christian Tremblay, P.Eng <christian.tremblay@servisys.com>
#
# Licensed under LGPLv3, see file LICENSE in this source tree.
"""
This module allows the creation of threads that will be used as repetitive
tasks for simulation purposes
"""