IvanGlinkin / CCTV

Close-Circuit Telegram Vision revolutionizes location tracking with its open-source design and Telegram API integration. Offering precise tracking within 50-100 meters, users can monitor others in real-time for logistics or safety, redefining how we navigate our surroundings
GNU General Public License v3.0
2.31k stars 318 forks source link

AttributeError: 'PeerSelfLocated' object has no attribute 'distance' #15

Closed maaxx0 closed 2 months ago

maaxx0 commented 2 months ago

What i get when i run the code i tried different OS but still same problem

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/gehrman/Downloads/CCTV-main/start.py", line 174, in <module>
    if peer_located.distance == 500:
       ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PeerSelfLocated' object has no attribute 'distance'
IvanGlinkin commented 2 months ago

Close as duplicated -> https://github.com/IvanGlinkin/CCTV/issues/12