Comments (10)
I assume you replaced the actual path with <path>
in the snippet? Just checking 😁
from synx.
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.
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.
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.
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.
Sure! Here's project, that suffers from this issue:
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.
I have the same issue.
from synx.
This will hopefully work for you guys
from synx.
It does work for both of the projects, thank you =) Closing this issue.
from synx.
Awesome! Thanks for your help. Pushed 0.0.3
to RubyGems with this bugfix.
from synx.
Related Issues (20)
- Crash report: Errno::EEXIST
- Have the synx work in oposite direction as well? HOT 1
- Swift Scripting HOT 2
- Synx can irreversibly remove all your files HOT 1
- *.xcassets files was removed HOT 2
- Not work HOT 1
- Trunk whole path in filename
- Feature request: exclude files HOT 1
- Xcode 8 name
- synx error happens HOT 1
- running synx with --no-color fails and deletes all the files
- Is it possible to separate convert logic into a couple of steps?
- Synx removes empty folder HOT 1
- Sorting isn't localized (ZZ sorts before aa)
- GUI Wrapper App
- Removing bridging header file from project HOT 2
- Since using Synx Xcode Assistant no longer works
- support Mojave in different configurations
- [SPM] The problem with incorrect interaction with Swift Package Manager HOT 3
- Please add me as a contributor to the project HOT 2
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 synx.