Code Monkey home page Code Monkey logo

Comments (7)

kfinlay avatar kfinlay commented on July 16, 2024

+1

from mackup.

lra avatar lra commented on July 16, 2024

Will try to reproduce it.
It's weird that mackup find those 2 files to sync, but can't copy them as they don't exist anymore when it tries to copy them into Dropbox...

from mackup.

lra avatar lra commented on July 16, 2024

I'm unable to reproduce it with a pristine Textmate 2 install.
The iPhone.tmbundle does not exist at all.
Do you have a way to reproduce it ?

from mackup.

arctan1701 avatar arctan1701 commented on July 16, 2024

This happens if the file to copy is a symlink.

What does ln -l '/Users/me/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/' output?

from mackup.

cfr avatar cfr commented on July 16, 2024

Way to reproduce:

  1. Download and run http://archive.textmate.org/TextMate_2.0-alpha.9475.tbz.
  2. Install iPhone bundle via TextMate → Preferences → Bundles.
  3. Quit TextMate and run mackup backup.
$ ls -l ~/Library/Application\ Support/TextMate/Managed/Bundles/iPhone.tmbundle/
total 16
-rw-r--r--   1 me  staff   33 30 авг 17:37 Changes.json
drwxr-xr-x   3 me  staff  102 30 авг 17:37 Commands
drwxr-xr-x  15 me  staff  510 30 авг 17:37 Support
drwxr-xr-x   3 me  staff  102 30 авг 17:37 Syntaxes
-rw-r--r--   1 me  staff  204 30 авг 17:37 info.plist
$ mackup backup
Backing up Library/Application Support/TextMate...
A folder named /Users/me/Dropbox/Mackup/Library/Application Support/TextMate already exists in the backup.
Are you sure that your want to replace it ? <Yes|No>Yes
Traceback (most recent call last):
  File "/usr/local/bin/mackup", line 1085, in <module>
    main()
  File "/usr/local/bin/mackup", line 1038, in main
    app.backup()
  File "/usr/local/bin/mackup", line 475, in backup
    copy(filepath, mackup_filepath)
  File "/usr/local/bin/mackup", line 720, in copy
    shutil.copytree(src, dst)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 205, in copytree
    raise Error, errors
shutil.Error: [('/Users/me/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/Support/objc_completion2.rb', '/Users/me/Dropbox/Mackup/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/Support/objc_completion2.rb', "[Errno 2] No such file or directory: '/Users/me/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/Support/objc_completion2.rb'"), ('/Users/me/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/Support/SpecialRules.txt', '/Users/me/Dropbox/Mackup/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/Support/SpecialRules.txt', "[Errno 2] No such file or directory: '/Users/me/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/Support/SpecialRules.txt'")]

$ ls -la "/Users/me/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/Support/objc_completion2.rb"
lrwxr-xr-x  1 me  staff  68 30 авг 17:37 /Users/me/Library/Application Support/TextMate/Managed/Bundles/iPhone.tmbundle/Support/objc_completion2.rb -> ../../../../Bundles/Objective-C.tmBundle/Support/objc_completion2.rb

Yeah, seems to be a symlink issue ;)

from mackup.

lra avatar lra commented on July 16, 2024

Do you still experience the problem?

from mackup.

lra avatar lra commented on July 16, 2024

Fixed in 34b727b

from mackup.

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.