Bug 13068 - fetch: module 'os' has no attribute 'errno'
Summary: fetch: module 'os' has no attribute 'errno'
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High normal
Target Milestone: 2.7 M1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-12-07 13:29 UTC by Enrico Scholz
Modified: 2018-12-08 21:53 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Scholz 2018-12-07 13:29:16 UTC
On a network error I see with bitbake 1.40

File: '/builds/meds/calipri/BSP/sources/bitbake/lib/bb/fetch2/__init__.py', lineno: 1719, function: download
     1715:
     1716:                update_stamp(ud, self.d)
     1717:
     1718:            except IOError as e:
 *** 1719:                if e.errno in [os.errno.ESTALE]:
     1720:                    logger.error("Stale Error Observed %s." % u)
     1721:                    raise ChecksumError("Stale Error Detected")
     1722:
     1723:            except BBFetchException as e:
Exception: AttributeError: module 'os' has no attribute 'errno'