Skip to content

I accidentally entered a ` (tilde) in the Distance from Intersection, and now I can't use the plugin. #72

Description

@beforeyouknowit

Hi there,

I'm a long-time user of your lovely KiCAD plugin, and I've recently been trying it out with KiCAD 9.x on macOS.

Today I accidentally entered a tilde in the Distance from Intersection value, but now I can't use the plugin at all. Here's the traceback, sanitized for anonymity,


Traceback (most recent call last):

File "/Users/user/Documents/KiCad/9.0/3rdparty/plugins/com_github_easyw_kicad-rf-tools/round_tracks/round_trk.py", line 359, in Run
calc_len = float(CalcLinLenght(aParameters)) #,aParameters.m_distanceMM.Value,aParameters.m_segments)

File "/Users/user/Documents/KiCad/9.0/3rdparty/plugins/com_github_easyw_kicad-rf-tools/round_tracks/round_trk.py", line 113, in CalcLinLenght
distI = FromUnits(float(self.m_distanceMM.Value))

ValueError: could not convert string to float: '`'


I've tried uninstalling and reinstalling the plugin via KiCAD's plugin manager, to no avail. I've tried hunting through my .kicad_pro file to see if I could find a default value that was changed to the tilde, but to no avail.

Whenever I enter a different value and hit OK, the plugin doesn't perform the rest of the rounding or confirmation dialogue. It just goes back to the PCB editor window. And when I try to use the plugin, I'm shown the same traceback error again.

Is there somewhere else in my filesystem, that might otherwise show where the default or last-used value for the plugin, that I should be looking for? Or is this possibly a bug with the plugin not gracefully handling the error, i.e. not resetting back to 0 ?

I'd be happy to help beta test any possible solutions you might have.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions