Comments (7)
Managed to get an example of the random error (number 3, above).
I noticed the req number was -45
for this error once in the past. Maybe a coincidence, maybe a pattern?
no stream for incoming msg
{
"req": -45,
"stream": true,
"end": false,
"value": {
"key": "%fndO1NgfVjFjQ1xXogeNp+W4EjpKEagS9sMMY3LvjLs=.sha256",
"value": {
"previous": "%X0tzGRuIbvDsutjlCpmQ3ptjYSg+wkOFgb0m6ns/wKM=.sha256",
"author": "@lQeCkxZlrHKCwsgY211KVunqeOFXlrumQfA7rnnf5Lw=.ed25519",
"sequence": 75,
"timestamp": 1439480448180,
"hash": "sha256",
"content": {
"type": "post",
"text": "Thu Aug 13 10:40:47 CDT 2015",
"root": "%oMtWQGgf/bX75+6BYpNNZYJkJDyF/fUACjVc1NCHegI=.sha256",
"branch": "%oMtWQGgf/bX75+6BYpNNZYJkJDyF/fUACjVc1NCHegI=.sha256"
},
"signature": "HIMU6g8iaoufg7ZglMti2ioFz9R3TXuUtFDjL6b/BEiiv6Fp6wuhBci0IYC25HO3+ckWULgwvl22kmBMDdDeBw==.sig.ed25519"
},
"prefix": []
}
}
from patchwork.
Okay I this code is weird. I don't know. you have two things that are tightly coupled to each other even though they are in different repos. Are ipc messages always received in the order you send them?
from patchwork.
really, there should be a pull-ipc module that wraps electron ipc in a pull-stream, and then we are working with ordinary muxrpc. To know this is correct we need test coverage, and this would be a lot easier to test in it's own module.
If muxrpc has an ordering problem that is a big bug. however muxrpc is well tested so i don't think that is it.
from patchwork.
Progress report...
Published pull-ipc. Going to work on its test suite to make sure it's 100%, but I used it in the app briefly, and still saw the bug in this issue.
Also published electron-tape to help with writing tests in electron apps.
from patchwork.
awesome!
from patchwork.
SMH I think I solved this... muxrpc was behind a major version on the patchwork repo.
from patchwork.
Still looking good. I thought I saw the bug again, but that ended up being a bug in live-updating of secret message threads.
from patchwork.
Related Issues (20)
- Deprecate depject (PoC) HOT 2
- Error on `npm start` from clean build on NixOS HOT 4
- Difficult to understand Pub Invite Error
- The Appimage client for aarch64 does not work on Manjaro-arm HOT 3
- Problem rendering image with single emoji as alt-text
- Deprecate electron-spellchecker HOT 2
- Build release pipeline with GH actions
- Allow automatic builds on arm/arm64
- Linking to a tag only shows its root message as json
- The Gateway seems not to work HOT 2
- The yarn build for arm64 does not produce a working application. HOT 10
- Block + unfollow get collapsed in timeline.
- Search gets stuck on single result HOT 1
- Colon (":") is incorrectly identified as part of a hashtag (channel) HOT 1
- Font sizes are all wrong size in (by design) HOT 5
- Deprecate depject: tracking issue HOT 1
- invalid ELF header while trying to run arm64 appimage. HOT 2
- package-lock.json not updated with release scripts
- Installation is failed using latest Homebrew
- Info about how to see old private messages HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patchwork.