Comments (9)
Which bob version? Sounds like #470 ?
Are the sources deleted or moved into attic?
from bob.
According to my knowledge it's based on 19.1, I cannot say more . No, the src directory was completely destroyed, no attic.
from bob.
For more info, it's probably good if Jan contacts integration at JN.
from bob.
The truncated pickle file is certainly #470 which has been fixed in Bob 0.21.
On the next run, bob deletes the src directory with all my unpushed local changes and checks it out from scratch
I'm completely puzzled how this could have happened. There has never ever been code in Bob (except for bob clean
) which deletes something in the checkout step. If at all, the checkout is moved to the attic next to the workspace. But if you deleted the bob state files then every checkout will, as described in #470, lead to an error message:
bob dev fancy/project -j6 -vvv ... New SCM checkout 'package' collides with existing file in workspace 'dev/src/someplace/workspace'!
Are you sure you really deleted .bob-state.pickle
? If not, Bob might just have switched the branches inline and the changes are still in the git repository. Or did you use bob build
and Bob just started every workspace from number 1 and the old workspaces are still around? Can you reproduce the problem, e.g. by just deleting all .bob-*
files and retry in a test project?
from bob.
Okay now, this becomes increasingly frustrating. I now had two occurences on the same day where the disk ran full and it ended in an irrecoverable pickle state where I had to delete the whole src directory because otherwise I'd get tons of "collides with existing file in workspace" errors. Do you have any convenience function that remedies this?
from bob.
from bob.
Can you name me the commit ids that fix this?
from bob.
It's already named in this conversation. You just need to:
- follow the link
#470
on the comment above:
- scroll a little bit down
- click on the commit...
from bob.
Closing because the error was fixed in 0.21.
from bob.
Related Issues (20)
- "Error loading audit" not visible if verbosity is to low HOT 1
- wrong windows/MSYS whitelisted environment variable names
- cutted fingerprint print HOT 1
- Error while trying to mount directory during the checkout step HOT 1
- ${BOB_TOOL_PATHS[target-toolchain]} in environment variables HOT 2
- Tool environment not used to evaluate depends conditions HOT 3
- scm import not working while building in out-of-source-tree HOT 1
- Trying to build a non-existend package should be an error HOT 4
- Always use python as extractor on native Windows HOT 5
- empty 'set' in scmOverrides not handled HOT 1
- Exception in common IDE generator
- Bob 0.22.0 misses sandbox HOT 7
- Azure Archive is broken HOT 7
- checkoutUpdateIf: run checkout script if recipe changed? HOT 1
- bob rebuilds everytime if environment changed by bob -c HOT 3
- python3.11 pip install failing HOT 2
- latest sphinx version breaks pip install HOT 7
- "bob status" seems to get confused when different tags exist for the same commit HOT 3
- Shared packages are corrupted if recipe changes
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 bob.