Skip to content

Rome crashes when downloading cache from remote - Zero bytes Archive #125

@thii

Description

@thii

Enhancement Suggestion / Bug Report

Rome crashes when downloading cache from remote.

Steps which explain the enhancement or reproduce the bug

I'll try to make a sample project that reproduces that crash, here is the crash log:

Error: could not find MyFramework in local cache at : /Users/admin/Library/Caches/Rome/swift-4.1.2-swiftlang-902.0.54-clang-902.0.39.2/MyFramework/iOS/MyFramework.framework-c57d3c0b3211274ffcda
b294a7fd0e5743130839.zip
Downloaded MyFramework from: swift-4.1.2-swiftlang-902.0.54-clang-902.0.39.2/MyFramework/iOS/MyFramework.framework-c57d3c0b3211274ffcdab294a7fd0e5743130839.zip
Copied MyFramework to: /Users/admin/Library/Caches/Rome/swift-4.1.2-swiftlang-902.0.54-clang-902.0.39.2/MyFramework/iOS/MyFramework.framework-c57d3c0b3211274ffcdab294a7fd0e5743130839.zip
rome: Data.Binary.Get.runGet at position 0: not enough bytes
CallStack (from HasCallStack):
  error, called at libraries/binary/src/Data/Binary/Get.hs:342:5 in binary-0.8.3.0:Data.Binary.Get

Current behavior

Rome crashes when downloading cache from remote.

Suggested behavior

Not crash.

Why would the enhancement be useful to most users

Rome version:

0.15.0.43

OS and version:

macOS High Sierra 10.13.4 (17E202)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions