square / square/pylink

Exception in destructor

Open
#97 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
430
Forks
151
Avg merge
5d 3h
Merged PRs (30d)
1

Description

I am using Pycharm for remote ssh development on Raspberry Pi. When I am running my program at the end I am getting the following exception from pylink:

Exception ignored in: <function Library.__del__ at 0xb316c108>
Traceback (most recent call last):
  File "/home/pi/Documents/project/host/.venv/lib/python3.7/site-packages/pylink/library.py", line 272, in __del__
  File "/home/pi/Documents/project/host/.venv/lib/python3.7/site-packages/pylink/library.py", line 411, in unload
TypeError: 'NoneType' object is not callable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in pylink/library.py at Library.del on line 272 and unload on line 411, using the reported Raspberry Pi remote-SSH setup to reproduce the shutdown traceback. Trace why the callable is None during destruction; done means the program exits without this ignored exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, raspberry-pi
Domain
devtools, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.