Giter Site home page Giter Site logo

Comments (10)

marklarr avatar marklarr commented on July 20, 2024

I assume you replaced the actual path with <path> in the snippet? Just checking 😁

from synx.

DenTelezhkin avatar DenTelezhkin commented on July 20, 2024

Yep =) There was just a regular folder there. And this is actually happening for another project as well. Seems like it can be easily reproduced.

from synx.

marklarr avatar marklarr commented on July 20, 2024

Agh! So many edge cases :)

Can you try out this branch and see if it fixes the issue? https://github.com/venmo/synx/tree/marklarr/mkdir_error

You should be able to use the branch by doing a Gemfile

# Gemfile
gem 'synx', :git => "[email protected]:venmo/synx.git", :branch => "marklarr/mkdir_error"

then bundle install

from synx.

DenTelezhkin avatar DenTelezhkin commented on July 20, 2024

Unfortunately, it doesn't solve the issue.

Stack:

/Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:71:in `mkdir': File exists @ dir_s_mkdir - /Users/.../.synx/.../.../.../... (Errno::EEXIST)
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:71:in `mkdir'
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:71:in `handle_unused_entry'
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:39:in `block in move_entries_not_in_xcodeproj'

The path to the directory is the same as the first time. I tried also deleting .synx/Project path just to make a clean start, it didn't help.

from synx.

marklarr avatar marklarr commented on July 20, 2024

Hm.. Bummer. Do you think you could reproduce the issue in an open sourced dummy project? It'll be easier for others to understand what's happening then.

Thanks for filing this issue!

from synx.

DenTelezhkin avatar DenTelezhkin commented on July 20, 2024

Sure! Here's project, that suffers from this issue:

DTTableViewManager

Stack trace:

/Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:71:in `mkdir': File exists @ dir_s_mkdir - /Users/.../.synx/Example/CedarUnitTests/mocks (Errno::EEXIST)
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:71:in `mkdir'
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:71:in `handle_unused_entry'
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:39:in `block in move_entries_not_in_xcodeproj'
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:36:in `each'
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/pbx_group.rb:36:in `move_entries_not_in_xcodeproj'
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/project.rb:22:in `each'
    from /Users/.../.rvm/gems/ruby-2.1.1/bundler/gems/synx-0bfed8f1c52e/lib/synx/project.rb:22:in `sync'

I'm using synx with DTTableViewManager.xcodeproj, that is inside Example folder.

from synx.

joelfischerr avatar joelfischerr commented on July 20, 2024

I have the same issue.

from synx.

marklarr avatar marklarr commented on July 20, 2024

This will hopefully work for you guys

#5

from synx.

DenTelezhkin avatar DenTelezhkin commented on July 20, 2024

It does work for both of the projects, thank you =) Closing this issue.

from synx.

marklarr avatar marklarr commented on July 20, 2024

Awesome! Thanks for your help. Pushed 0.0.3 to RubyGems with this bugfix.

from synx.

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.