Coder Social home page Coder Social logo

pytograph's People

Contributors

joshdick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pytograph's Issues

"IOError: [Errno 24] Too many open files" when launched via launchd

/usr/local/pytograph/pytograph -c /usr/local/pytograph/pytograph.cfg

works fine on the command line, but in launchd I get:

INFO: Path mapping initializing:
Changes at local path
    /Users/luomat/Dropbox/Public/Dreamhost/f.luo.ma
will be reflected at remote path
    [email protected]:/home/luomat/f.luo.ma
INFO: Path mapping initializing:
Changes at local path
    /Users/luomat/Dropbox/Public/Dreamhost/images.luo.ma
will be reflected at remote path
    [email protected]:/home/luomat/images.luo.ma
INFO: Path mapping initializing:
Changes at local path
    /Users/luomat/Dropbox/Public/Dreamhost/notes.luo.ma
will be reflected at remote path
    [email protected]:/home/luomat/notes.luo.ma
Traceback (most recent call last):
  File "/usr/local/pytograph/pytograph", line 248, in <module>
  File "/usr/local/pytograph/pytograph", line 230, in _main
  File "/Library/Python/2.7/site-packages/watchdog/observers/api.py", line 357, in schedule
  File "/Library/Python/2.7/site-packages/watchdog/observers/kqueue.py", line 445, in __init__
IOError: [Errno 24] Too many open files

here's my 'com.tjluoma.pytograph.plist' file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>AbandonProcessGroup</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
    <key>Label</key>
    <string>com.tjluoma.pytograph</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/pytograph/pytograph</string>
        <string>--config-file</string>
        <string>/usr/local/pytograph/pytograph.cfg</string>
    </array>
    <key>StandardErrorPath</key>
    <string>/Users/luomat/Library/Logs/pytograph.log</string>
    <key>StandardOutPath</key>
    <string>/Users/luomat/Library/Logs/pytograph.log</string>
</dict>
</plist>

Any ideas why it fails in launchd? Seems like that would be an ideal way to run it.

Windows Usage

Hi, i'm attempting to test this on Windows. I cannot get the help to work from the command line. That said, my intent is to use this to sync a folder from my local machine to a network shared folder. Any assistance would be appreciated.
Mike

Please add a option for the private key

I'm trying to use this but it gives me an error about a bad DSA key. I have multiple keys for identification in different servers and this was never an issue except for pysftp it seems (even I created my own DSA pair). I went to your script and using the pysftp.Connection(host, username = username,private_key ="blah/blah/key") I made it work so I was hopping you could add this parameter to the config file.

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.