Saturday, June 10, 2023

MacOS and some weird compile dependency to AppleTV.

Under macports, textmate2 had the strangest error.
2023-06-10 20:23:38.897 ibtoold[54317:595388] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error getting value for parameter key 'name' of extension 'Xcode.InterfaceBuilderKit.AppleTVIntegration.Singletons' in plug-in 'com.apple.dt.IDE.IDEInterfaceBuilderAppleTVIntegration'
I tracked it down to the fact that I was missing some of the extended resources. You can install them by running the package here:
/Applications/Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg

Thursday, February 2, 2023

GTKwave under macports

This shouldn't have been hard, but there's a few steps that were not included in the Portfile.
sudo port install gtk2 +quartz 
sudo port install gtk-quartz-engine +quartz
sudo port install gtkwave +quartz  
I am unsure what the +quartz is needed, but it seems to be rather important.

Wednesday, January 4, 2023

python not found under debian

I tried to test something for python3 on a linux server with debian. python3 was supposedly installed, but it couldn't find it.
apt install python-is-python3
The above line fixed things...somehow...so they worked.

Sunday, January 1, 2023

MPLAB X IPE has a grey connect button under MacOS

I hadn't touched MPLAB-X for a year. I have a little PIC32 EK starter kit that I use for some automation. I was attempting to make a copy of the board that I had, and at some point, the IPE stopped "allowing" the connection to the board under MacOS.
So, what I figured, which turned out to be true is that a security policy overwrote the original privleges. I went into "Security and Privacy" and added the mplab-ipe application AND the java executalbe that it uses as a developer application.
After that, everything is fine.
...except that's 2 hours of my life that I'll never get back. I'm sure there's some log file that says what has been blocked via secuirty policy, but I've yet to find it. I even asked the "Internet".

Thursday, August 11, 2022

Changes between KiCad 5.x and 6.x

Overbar was ~CEN and is now ~{CEN1}
Libraries!  This is the biggest difference.
Pins can be on the top or bottom of hierachial sheets.
Hierachial sheets can be resized by "corners".

Wednesday, July 20, 2022

Remove a known key in .ssh/known_hosts

I couldn't use the ssh tools on the system for some reason. Also, it's not a system with a lot of gnu tools. They did have perl.
To remove line 21 from known_hosts, I settled on:
perl -pi -e 's/\Q$_// if ($. == 21);' ~/.ssh/known_hosts

Tuesday, June 7, 2022

vispy segfault

You never remember the difference between computers. Vispy wasn't working.

degs:vispi% python line-draw.py
zsh: segmentation fault  python line-draw.py

This doesn't give you much to go on. After diving into the debugger, I found that I had a bad binding from Python into the Qt5 library. I fixed it with:
sudo port install Qt5
pip install PyQt5