First time here? Check out the FAQ!

Bill Waggoner's profile - activity

2024-05-04 10:18:04 -0500 received badge Famous Question (source)
2022-03-15 00:14:27 -0500 received badge Famous Question (source)
2022-03-15 00:14:27 -0500 received badge Notable Question (source)
2022-02-11 16:24:28 -0500 received badge Famous Question (source)
2021-04-30 16:24:32 -0500 received badge Famous Question (source)
2021-03-25 18:18:41 -0500 received badge Notable Question (source)
2021-03-23 21:33:43 -0500 commented answer How to authorize the camera on MacBook?

Thanks, I'll use one of those methods until you can (if you can ... Apple, you know ...) get it fixed. OK, I tried Exte

2021-03-23 21:20:54 -0500 commented answer How to authorize the camera on MacBook?

Thanks, I'll use one of those methods until you can (if you can ... Apple, you know ...) get it fixed. OK, I tried Exte

2021-03-23 21:10:04 -0500 received badge Supporter ( source )
2021-03-23 12:37:37 -0500 received badge Popular Question (source)
2021-03-23 08:04:41 -0500 marked best answer How to authorize the camera on MacBook?

I am learning a bit of OpenCV and have a simple program that grabs images off the Macbook camera and does simple motion detection. I can run it in iTerm2 fine and it works but it fails as "not authorized" when run under Wing debug.

Is there a way to authorize the Wing debug to acess the camera? [OS=Big Sur (11.3 Beta (20E5196f))]

Here is what I see in the Debug I/O window:

OpenCV: not authorized to capture video (status 0), requesting... /Applications/WingPro.app/Contents/Resources/bootstrap/launch-env.sh: line 10: 44258 Abort trap: 6 ${WING_ACTIVATE_PYTHON} "$@"

2021-03-17 21:53:00 -0500 received badge Commentator
2021-03-17 21:53:00 -0500 commented question How to authorize the camera on MacBook?

Is this something that works for you and just not for me? Have you tried to duplicate it on your side? The test is simpl

2021-03-17 21:50:07 -0500 commented question How to authorize the camera on MacBook?

I don't know what you mean by "external console" ...

2021-03-16 19:03:16 -0500 commented question How to authorize the camera on MacBook?

Well, that didn't change anything. I used tccutil to reset Camera for com.wingware.wingpro and it reported success. But

2021-03-16 11:50:19 -0500 commented question How to authorize the camera on MacBook?

No, that's the first place I looked and there is nothing requested. Neither python nor Wing is listed, checked or unchec

2021-03-15 11:16:00 -0500 edited question How to authorize the camera on MacBook?

How to authorize the camera on MacBook? I am learning a bit of OpenCV and have a simple program that grabs images off th

2021-03-15 11:12:35 -0500 asked a question How to authorize the camera on MacBook?

How to authorize the camera on MacBook? I am learning a bit of OpenCV and have a simple program that grabs images off th

2020-12-14 16:43:07 -0500 commented answer Package debugging

Named Module works perfectly, thank you!

2020-12-14 16:42:35 -0500 marked best answer Package debugging

I am writing a system that contains two packages. I want to set it up, perhaps with File Properties?, where if I start debug in any of the parts of the packages that the system runs "-m package args..." for any of the individual modules in the package.

Is there a way to set up two Launch Configurations that I can assign the the individual files in each package?

2020-12-14 08:12:27 -0500 received badge Famous Question (source)
2020-12-13 20:24:31 -0500 received badge Popular Question (source)
2020-12-13 20:24:31 -0500 received badge Notable Question (source)
2020-12-12 12:35:44 -0500 asked a question Package debugging

Package debugging I am writing a system that contains two packages. I want to set it up, perhaps with File Properties?,

2020-06-15 16:24:37 -0500 received badge Popular Question (source)
2020-06-15 16:24:37 -0500 received badge Notable Question (source)
2020-05-22 10:43:58 -0500 commented answer Testing structure problems?

Thank you. I discovered this this morning as I went through several articles on testing and pytest in particular. I now

2020-05-22 10:39:34 -0500 marked best answer Testing structure problems?

NOTE: I first entered this question before I logged in. It didn't show up so I'm trying again after logging in. Sorry if there is duplication.

I am brand new to writing unit tests and thought I would give it a shot. But I've run against a problem and I suspect it is of my own making. Here is my project structure:

.
├── src
│   └── scanner
│       ├── __pycache__
│       └── cmd
│           └── __pycache__
└── tests
    └── unittests
        └── __pycache__

I have one simple test under unittests and it does a from scanner.cmd import CMD which works in code that resides under src. I do have src listed as the starting directory in debug/execute but when I run the simple test it says scanner isn't there.

I have pytest selected as the testing tool and it is installed OK. At least I can import pytest successfully in the python shell.

What am I not doing right?

2020-05-21 20:39:07 -0500 asked a question Testing structure problems?

Testing structure problems? NOTE: I first entered this question before I logged in. It didn't show up so I'm trying aga

2020-05-01 04:29:17 -0500 received badge Popular Question (source)
2020-04-29 15:24:53 -0500 received badge Self-Learner ( source )
2020-04-29 11:13:23 -0500 marked best answer Errors using black in remote activated environment

I have started using Black for reformatting but I'm having trouble in my remote activated environment (pyenv virtualenv).

I was getting timeouts for black but just updated to 7.2.2.5 and am seeing Error executing command .internal.edit.black_file

So, the timeouts have gone away but it still isn't working.

2020-04-29 11:13:23 -0500 received badge Scholar ( source )
2020-04-29 10:36:15 -0500 answered a question Errors using black in remote activated environment

My apologies. It is actually working. My problem was that there was a subtle syntax error and black abandoned the refor

2020-04-29 09:46:47 -0500 received badge Organizer (source)
2020-04-29 09:45:04 -0500 asked a question Errors using black in remote activated environment

Errors using black in remote activated environment I have started using Black for reformatting but I'm having trouble in

2020-04-17 12:54:37 -0500 received badge Famous Question (source)
2020-03-20 09:27:17 -0500 marked best answer Using Wing with circuitpython

I have what I think is an interesting use case. I am playing with some micro computers that run Circuit Python. The device appears as a mounted volume on your desktop and when you save your code to there it runs automatically on the device.

The syntax is Python 3 basically but the standard libraries are slightly limited versions of standard python and also include specialized hardware specific libraries.

Editing the code is “normal” but there are two things I would like to do to integrate Wing into the circuit python environment more closely.

First, is integrating the libraries into Wing’s code completion system. Because these libraries are not part of the systems sys.path I don’t think it’s going to be able to scrape them for class definitions, etc. I haven’t tried but maybe there is a way to include them into the path? I suspect so. But haven’t looked yet.

But the more challenging case is access to the REPL on the device. When the device is connected a serial port is defined that is a direct connection to the console. When your program is running it provides normal console output (print statements, traces, other messages) and when requested it becomes the REPL. Normally on my Mac I use screen to connect to the serial port. It would be great if I could have Wing connect so it would be integrated into the Wing environment.

So, is anyone else using Wing in this sort of situation? If so, what are you doing to make it more integrated? Does this sound like an interesting use case or am I all by myself here ... ?

2020-03-20 09:27:07 -0500 received badge Notable Question (source)
2020-03-16 10:41:37 -0500 received badge Popular Question (source)
2020-03-14 08:28:30 -0500 received badge Popular Question (source)