Giter Club home page Giter Club logo

Comments (11)

acoomans avatar acoomans commented on July 19, 2024

Hi Colin,

"Cannot add another user snippet with the same identifier, you can only override system snippets."
This error happens when you have 2 snippets with the same UUID identifier.

Do you have 2 snippets with the UUID in your git repository?

from accodesnippetrepositoryplugin.

acoomans avatar acoomans commented on July 19, 2024

I had a look at your snippet repository, https://github.com/colinhumber/Xcode-Snippets
I managed to reproduce the crash but only once. No success since then.

Can you give me details (what snippets did you have before the fork, are you using Alcatraz...)?
Can you try to uninstall the plugin and reinstall it again?

from accodesnippetrepositoryplugin.

colinhumber avatar colinhumber commented on July 19, 2024

I didn't have any snippets before the first install but when i installed the plugin on my second computer it duplicated all my snippets. I thought I cleaned it but I may have missed some.

I've been using Alcatraz. I'll give reinstalling it a shot.

On Mar 3, 2014, at 4:51 PM, Arnaud Coomans [email protected] wrote:

I had a look at your snippet repository, https://github.com/colinhumber/Xcode-Snippets
I managed to reproduce the crash but only once. No success since then.

Can you give me details (what snippets did you have before the fork, are you using Alcatraz...)?
Can you try to uninstall the plugin and reinstall it again?


Reply to this email directly or view it on GitHub.

from accodesnippetrepositoryplugin.

 avatar commented on July 19, 2024

I encountered the crash just now, the same crash log of colin

from accodesnippetrepositoryplugin.

colinhumber avatar colinhumber commented on July 19, 2024

Reinstalling the plugin still causes the crash.

from accodesnippetrepositoryplugin.

acoomans avatar acoomans commented on July 19, 2024

Ok I think I have something. I want to make sure it's the root cause and not just a symptom.

@colinhumber can you elaborate on the "second computer" use case? Specifically, can you tell how you got your snippets dupplicated?

@anzii0S can you also give more context?

from accodesnippetrepositoryplugin.

acoomans avatar acoomans commented on July 19, 2024

Ok guys, I have a fix in the fix-duplicated_identifier_crash branch.

Can you try it and tell me if it fixes your issue?

Unfortunately, you can't use Alcatraz and have to install manually instead. See the README in https://github.com/acoomans/ACCodeSnippetRepositoryPlugin.

Thanks!

from accodesnippetrepositoryplugin.

colinhumber avatar colinhumber commented on July 19, 2024

Re-installed from that branch and haven't had any crashes since!

Regarding the duplicate snippets, I'm honestly not entirely sure what happened other than after installing and configuring the plugin on my second computer it looked like there were a bunch of duplicate snippets across both computers. Probably not too helpful, I know. I'll keep an eye out for any other issues in the meantime.

from accodesnippetrepositoryplugin.

colinhumber avatar colinhumber commented on July 19, 2024

Whoops, accidentally closed...

from accodesnippetrepositoryplugin.

acoomans avatar acoomans commented on July 19, 2024

Alright, glad to hear it's not crashing anymore.
I hope I didn't only fix the symptom instead of the real cause.
Tell if you have any more issues.

from accodesnippetrepositoryplugin.

acoomans avatar acoomans commented on July 19, 2024

Anyone still having issues with this?

from accodesnippetrepositoryplugin.

Related Issues (15)

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.