Code Monkey home page Code Monkey logo

Comments (9)

rhubert avatar rhubert commented on June 15, 2024

Which bob version? Sounds like #470 ?

Are the sources deleted or moved into attic?

from bob.

Desperado17 avatar Desperado17 commented on June 15, 2024

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.

Desperado17 avatar Desperado17 commented on June 15, 2024

For more info, it's probably good if Jan contacts integration at JN.

from bob.

jkloetzke avatar jkloetzke commented on June 15, 2024

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.

Desperado17 avatar Desperado17 commented on June 15, 2024

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.

jkloetzke avatar jkloetzke commented on June 15, 2024

from bob.

Desperado17 avatar Desperado17 commented on June 15, 2024

Can you name me the commit ids that fix this?

from bob.

rhubert avatar rhubert commented on June 15, 2024

It's already named in this conversation. You just need to:

  1. follow the link #470 on the comment above:

history

  1. scroll a little bit down

commit

  1. click on the commit...

from bob.

jkloetzke avatar jkloetzke commented on June 15, 2024

Closing because the error was fixed in 0.21.

from bob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.