Skip to content

get error when going into the Nodes view #11

Description

@mkinney

When you first go into the Nodes view, you get this error:

2021-11-29 18:34:44.849508-0800 MeshtasticClient[5337:3530178] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x282357ed0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x119e73180]   (active, names: '|':_UIButtonBarButton:0x119e72ae0 )>",
    "<NSLayoutConstraint:0x28233c2d0 'UINav_static_button_horiz_position' _UIModernBarButton:0x119e73180.leading == UILayoutGuide:0x283943020'UIViewLayoutMarginsGuide'.leading   (active)>",
    "<NSLayoutConstraint:0x28233c320 'UINavItemContentGuide-leading' H:[_UIButtonBarButton:0x119e72ae0]-(6)-[UILayoutGuide:0x283943800'UINavigationBarItemContentLayoutGuide']   (active)>",
    "<NSLayoutConstraint:0x282352440 'UINavItemContentGuide-trailing' UILayoutGuide:0x283943800'UINavigationBarItemContentLayoutGuide'.trailing == _UINavigationBarContentView:0x119e37470.trailing   (active)>",
    "<NSLayoutConstraint:0x28233fd90 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x119e37470.width == 0   (active)>",
    "<NSLayoutConstraint:0x282352760 'UIView-leftMargin-guide-constraint' H:|-(8)-[UILayoutGuide:0x283943020'UIViewLayoutMarginsGuide'](LTR)   (active, names: '|':_UINavigationBarContentView:0x119e37470 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x282357ed0 'BIB_Leading_Leading' H:|-(0)-[_UIModernBarButton:0x119e73180]   (active, names: '|':_UIButtonBarButton:0x119e72ae0 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions