Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jul 2023 14:44:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272414] net/google-cloud-sdk: instacrash in 426.0.0 and later
Message-ID:  <bug-272414-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272414

            Bug ID: 272414
           Summary: net/google-cloud-sdk: instacrash in 426.0.0 and later
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: asomers@FreeBSD.org
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

google-cloud-sdk version 426.0.0 added this line, which immediately crashes
when running almost any command, because platforms.py doesn't have any
definition for FreeBSD.

https://github.com/twistedpair/google-cloud-sdk/commit/59a95bafaddd85614f04=
e890f437451ee1b946be#diff-c9fdd196a4a0d3f74b672072e0044bac24c27969a54af4895=
81645d0dbd5104cR628

The crash looks like this:

ERROR: gcloud crashed (AttributeError): 'NoneType' object has no attribute
'clean_version'

The attached patch fixes the problem.  I can't figure out any way to report
this bug upstream.  Perhaps you can?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272414-7788>