Closed daSkier closed 4 years ago
Hi!
I'm unable to boot a linux instance right now, can you try this for me please? In the FeedParser.swift file add:
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
According to the documentation here this should fix it.
If so, feel free to open a PR and I'll release a new version with the fix.
Thanks 🙏
I'll look at opening a PR for this. I did try that from the file where I call FeedKit and it did resolve that issue. Unfortunately, that caused another error that I'm not familiar with, nor receiving on macOS as follows:
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
api_1 | error: hit flatMapError in objectsInBucket() -> The operation could not be completed. (SwiftError error 0.)
I'll have to work on debugging this because at first glance it seems like it could be in FeedKit, but I'm 100% sure.
Thanks for the quick response on a weekend. -J
Update: I'm pretty sure this subsequent error is not caused by FeedKit. I'll look at the PR for the first issue today.
@tarjamorgado I opened a PR for this #116 - I'm not sure if this actually needs to be implemented other places, but this has fixed the issue I was experiencing.
Released your fix in 9.1.2, closing now. Thank you for contributing @daSkier
Hi,
I'm using FeedKit in a server side vapor 4 app and I'm getting a weird error when using FeedKit and I was curious if you could shed any light on what this might be caused by and if there is anything I can do to resolve it.
For reference I'm using a Swift 5.2.1.
Thanks, J
Full stack trace: