GithubHelp home page GithubHelp logo

Comments (6)

demisx avatar demisx commented on July 18, 2024

+1 Same issue.

from unicorn.

kamsar avatar kamsar commented on July 18, 2024

What Sitecore version is this on?

from unicorn.

demisx avatar demisx commented on July 18, 2024

@kamsar 7.5

from unicorn.

kamsar avatar kamsar commented on July 18, 2024

Hmm, the first error might be caused by an antivirus or other filesystem-watching program locking files as Unicorn messes with them. I have not seen it before; but then I also have not tested it with 7.5 (I skipped directly to 8). Might try deleting the item tree in windows explorer, so that Unicorn doesn't have to clear them out before reserializing.

As to the second error, the stack trace jumps down into Sitecore's serialization API. The stack within Unicorn is pretty defensive (e.g. we're asserting that we're not passing any nulls to BuildSyncItem). Seems like it might be a bug in 7.5's serialization APIs not present in 8.x, or there might be something unique about the item you're trying to serialize. (That said I have a site where I keep the whole master and core stock DBs under Unicorn, so it sees a lot of unique things)

from unicorn.

BovineEnthusiast avatar BovineEnthusiast commented on July 18, 2024

@kamsar Hi, we ended up fixing the issues and I think that they might have been initially caused by some problematic items in our database. We had initially tried serializing using the default <include /> paths. We had a massive database and, as I later realized, some items that were possibly corrupt. These items claimed to have children and if you were to try opening them it would say they didn't exist. Trying to package or serialize them caused errors. I think that upon trying to serialize these items, which were included in the default configuration we used, Unicorn started to stumble into issues. I think this also may have corrupted our database somehow as the errors started appearing after that.

We recently reset the database but this time limited the <include /> paths to only items that we were adding/modifying. It now works without issue.

Thanks.

from unicorn.

kamsar avatar kamsar commented on July 18, 2024

Good to hear.

from unicorn.

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.