Comments (31)
I have the same issue
from mackup.
A simpler workaround, closing iTerm.app prevent it from recreating DynamicProfiles
.
For example, try to backup from Terminal.app
or another term:
killall iTerm2
mackup backup
from mackup.
I'm still getting the iterm2 specific error with latest release of 0.8.37
:
Backing up
/Users/matt/Library/Preferences/com.googlecode.iterm2.plist
to
/Users/matt/Library/CloudStorage/GoogleDrive-EMAIL_ADDRESS/My Drive/syncable_apps_mackup/Library/Preferences/com.googlecode.iterm2.plist ...
A file named /Users/matt/Library/CloudStorage/GoogleDrive-EMAIL_ADDRESS/My Drive/syncable_apps_mackup/Library/Preferences/com.googlecode.iterm2.plist already exists in the backup.
Are you sure that you want to replace it? <Yes|No> yes
Backing up
/Users/matt/.config/iterm2/AppSupport/DynamicProfiles
to
/Users/matt/Library/CloudStorage/GoogleDrive-EMAIL_ADDRESS/My Drive/syncable_apps_mackup/.config/iterm2/AppSupport/DynamicProfiles ...
A folder named /Users/matt/Library/CloudStorage/GoogleDrive-EMAIL_ADDRESS/My Drive/syncable_apps_mackup/.config/iterm2/AppSupport/DynamicProfiles already exists in the backup.
Are you sure that you want to replace it? <Yes|No> yes
Traceback (most recent call last):
File "/usr/local/bin/mackup", line 33, in <module>
sys.exit(load_entry_point('mackup==0.8.37', 'console_scripts', 'mackup')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/mackup/0.8.37/libexec/lib/python3.11/site-packages/mackup/main.py", line 93, in main
app.backup()
File "/usr/local/Cellar/mackup/0.8.37/libexec/lib/python3.11/site-packages/mackup/application.py", line 112, in backup
utils.link(mackup_filepath, home_filepath)
File "/usr/local/Cellar/mackup/0.8.37/libexec/lib/python3.11/site-packages/mackup/utils.py", line 145, in link
os.symlink(target, link_to)
FileExistsError: [Errno 17] File exists: '/Users/matt/Library/CloudStorage/GoogleDrive-EMAIL_ADDRESS/My Drive/syncable_apps_mackup/.config/iterm2/AppSupport/DynamicProfiles' -> '/Users/matt/.config/iterm2/AppSupport/DynamicProfiles'
from mackup.
Nope no additional info ๐
from mackup.
@LucasLarson PR fixes this form me ๐ , thanks
from mackup.
Where did you modify this file? Where is it located?
I installed with homebrew, which at time of writing is installing iterm2.cfg
into /opt/homebrew/Cellar/mackup/0.8.36/libexec/lib/python3.11/site-packages/mackup/applications
. Changing the file directly works (until an update overwrites it again)
I found it by installing and running ag
with these 2 commands:
brew install the_silver_searcher
ag -U -g iterm2.cfg $(brew --prefix)
from mackup.
I suggest encouraging maintainer to merge in #1864
from mackup.
When will be the fix in the master branch?
from mackup.
Thanks
from mackup.
I also encountered the same issue. Following the earlier guidance, I switched from using iTerm2 to the built-in Terminal in macOS, and now everything is functioning correctly.
from mackup.
I have the same issue
from mackup.
It looks like it's related to DynamicProfiles
being a directory. Please try this and let us know if it's still failing.
- Move
DynamicProfiles
from your mackup directory to somewhere else as a temporary backup. - Rerun mackup backup (you should no longer see "...already exists in the backup")
Let me know if this works for any of you and we can further investigate the root cause.
from mackup.
@joshmedeski removing the folder with iTerm2 results in the same.
Removing the folder with the terminal app and then run mackup backup
works, but once I start iTerm2 again the folder is recreated and I get the same error again.
from mackup.
The recreation is normal as listed here:
https://iterm2.com/documentation-dynamic-profiles.html
from mackup.
Hmm, we've run into a similar issue with other apps where the application (i.e. iTerm) overwrites files and mackup loses its symbolic link. I wonder if it's the same kind of issue here.
from mackup.
Is there something I can run to get more debug information?
from mackup.
There is a --verbose
flag. Feel free to rerun the command with that flag and let us know if there's any further information given.
from mackup.
Getting the same issue, any fix/work around yet? Moving the Dynamic profile in mackup backup doesn't work
from mackup.
โฐโโฏ mv "/Users/xingfanxia/Library/Mobile Documents/com~apple~CloudDocs/Mackup/Library/Application Support/iTerm2/DynamicProfiles" ~/Downloads
โญโ ๏
น ๏ ~ ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท ๎ system ๏ 02:09:24
โฐโโฏ mackup backup
Backing up Library/Application Support/iTerm2/DynamicProfiles ...
Traceback (most recent call last):
File "/opt/homebrew/bin/mackup", line 33, in <module>
sys.exit(load_entry_point('mackup==0.8.35', 'console_scripts', 'mackup')())
File "/opt/homebrew/Cellar/mackup/0.8.35/libexec/lib/python3.10/site-packages/mackup/main.py", line 93, in main
app.backup()
File "/opt/homebrew/Cellar/mackup/0.8.35/libexec/lib/python3.10/site-packages/mackup/application.py", line 121, in backup
utils.link(mackup_filepath, home_filepath)
File "/opt/homebrew/Cellar/mackup/0.8.35/libexec/lib/python3.10/site-packages/mackup/utils.py", line 145, in link
os.symlink(target, link_to)
FileExistsError: [Errno 17] File exists: '/Users/xingfanxia/Library/Mobile Documents/com~apple~CloudDocs/Mackup/Library/Application Support/iTerm2/DynamicProfiles' -> '/Users/xingfanxia/Library/Application Support/iTerm2/DynamicProfiles'
โญโ ๏
น ๏ ~ ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท ๎ system ๏ 02:09:26
โฐโโฏ mv '/Users/xingfanxia/Library/Application Support/iTerm2/DynamicProfiles' ~/Downloads
โญโ ๏
น ๏ ~ ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท ๎ system ๏ 02:11:52
โฐโโฏ mackup backup
Backing up Library/Preferences/com.googlecode.iterm2.plist ...
Backing up Library/Application Support/iTerm2/DynamicProfiles ...
A folder named /Users/xingfanxia/Library/Mobile Documents/com~apple~CloudDocs/Mackup/Library/Application Support/iTerm2/DynamicProfiles already exists in the backup.
Are you sure that you want to replace it? <Yes|No> Yes
Traceback (most recent call last):
File "/opt/homebrew/bin/mackup", line 33, in <module>
sys.exit(load_entry_point('mackup==0.8.35', 'console_scripts', 'mackup')())
File "/opt/homebrew/Cellar/mackup/0.8.35/libexec/lib/python3.10/site-packages/mackup/main.py", line 93, in main
app.backup()
File "/opt/homebrew/Cellar/mackup/0.8.35/libexec/lib/python3.10/site-packages/mackup/application.py", line 114, in backup
utils.link(mackup_filepath, home_filepath)
File "/opt/homebrew/Cellar/mackup/0.8.35/libexec/lib/python3.10/site-packages/mackup/utils.py", line 145, in link
os.symlink(target, link_to)
FileExistsError: [Errno 17] File exists: '/Users/xingfanxia/Library/Mobile Documents/com~apple~CloudDocs/Mackup/Library/Application Support/iTerm2/DynamicProfiles' -> '/Users/xingfanxia/Library/Application Support/iTerm2/DynamicProfiles'```
from mackup.
Getting the same problem
from mackup.
Same issue here
from mackup.
Same issue here
from mackup.
Still the same issue in mackup version 0.8.36
from mackup.
I updated iterm2.cfg
based on #1864, I deleted my iTerm2 backup from my Mackup folder, but when I run mackup backup
I get the same error. Anything I'm missing?
from mackup.
Updating my iterm2.cfg
based on #1864, I was able to run mackup backup
. Would be great to get this released!
from mackup.
Updating my
iterm2.cfg
based on #1864, I was able to runmackup backup
. Would be great to get this released!
Where did you modify this file? Where is it located?
from mackup.
The issue still exists... Any information about when this get updated in the release?
from mackup.
Still experiencing this same issue
from mackup.
I'm still getting the iterm2 specific error with latest release of
0.8.37
:
same issue here .
Perhaps related to the default settings of iTerm2:
from mackup.
The issue still persists on the latest release from homebrew. Run into some troubles with iTerm because of it.
from mackup.
I'm getting the same problem on a different computer; confirmed the 1864 update in my version.
Backing up .config/iterm2/AppSupport/DynamicProfiles ...
A folder named /Users/me/backup/Mackup/.config/iterm2/AppSupport/DynamicProfiles already exists in the backup.
Are you sure that you want to replace it? <Yes|No> y
Traceback (most recent call last):
File "/opt/homebrew/bin/mackup", line 33, in <module>
sys.exit(load_entry_point('mackup==0.8.37', 'console_scripts', 'mackup')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/mackup/0.8.37/libexec/lib/python3.11/site-packages/mackup/main.py", line 93, in main
app.backup()
File "/opt/homebrew/Cellar/mackup/0.8.37/libexec/lib/python3.11/site-packages/mackup/application.py", line 112, in backup
utils.link(mackup_filepath, home_filepath)
File "/opt/homebrew/Cellar/mackup/0.8.37/libexec/lib/python3.11/site-packages/mackup/utils.py", line 145, in link
os.symlink(target, link_to)
FileExistsError: [Errno 17] File exists: '/Users/me/backup/Mackup/.config/iterm2/AppSupport/DynamicProfiles' -> '/Users/me/.config/iterm2/AppSupport/DynamicProfiles'
from mackup.
Related Issues (20)
- Custom configuration file path can't contain spaces.
- macOS keyboard shortcuts reset on restart HOT 4
- Applescript apps no longer open after uninstall HOT 4
- mpd music
- Whitelist opt-in approach vs backup all by default HOT 1
- Kicad Support
- Backup file in /private/var/db/receipts/
- Add an option --copy-only to copy only files to mackup folder HOT 2
- Make backed up files unhidden (i.e. remove .)
- Request: let me uninstall a single application
- Bobtranslate Support
- Mackup Not Restoring macOS Settings and Preferences HOT 2
- Missing ~/.mackup.cfg HOT 1
- BetterTouchTool breaks on backup. HOT 1
- QoL Suggestions
- Support: Fastfetch
- Requested feature: dock settings
- Support for Renamer HOT 1
- Support: Yazi - File manager
- All prefs lost on installation, how to get back?
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 mackup.