Giter VIP home page Giter VIP logo

Comments (2)

bcoughlan avatar bcoughlan commented on August 17, 2024

Can you post the traceback and any other details

from hamlpy.

ldpl avatar ldpl commented on August 17, 2024

Sure. Steps to reproduce:

  1. $ mkdir t
  2. $ touch t/index.haml
  3. $ hamlpy-watcher t
    Watching /home/pavels/Builds/hp/HamlPy/t at refresh interval 3 seconds
    21:54:10 /home/pavels/Builds/hp/HamlPy/t/index.haml -> /home/pavels/Builds/hp/HamlPy/t/./index.html
  4. start editing t/index.haml in emacs, but do not save it
  5. In console with hamlpy-watcher:
    Traceback (most recent call last):
    File "/usr/bin/hamlpy-watcher", line 9, in
    load_entry_point('hamlpy==0.4', 'console_scripts', 'hamlpy-watcher')()
    File "/usr/lib/python2.7/site-packages/hamlpy-0.4-py2.7.egg/hamlpy/hamlpy_watcher.py", line 38, in watch_folder
    _watch_folder(folder, destination)
    File "/usr/lib/python2.7/site-packages/hamlpy-0.4-py2.7.egg/hamlpy/hamlpy_watcher.py", line 55, in _watch_folder
    mtime = os.stat(fullpath).st_mtime
    OSError: [Errno 2] No such file or directory: '/home/pavels/Builds/hp/HamlPy/t/.#index.haml'
  6. $ ls -lsa t
    total 12
    4 drwxrwxr-x 2 pavels pavels 4096 Jan 6 01:55 .
    4 drwxr-xr-x 8 pavels pavels 4096 Jan 6 01:53 ..
    0 lrwxrwxrwx 1 pavels pavels 28 Jan 6 01:54 .#index.haml -> [email protected]:1325754064
    4 -rw-rw-r-- 1 pavels pavels 4 Jan 6 01:55 #index.haml#
    0 -rw-rw-r-- 1 pavels pavels 0 Jan 6 01:53 index.haml
    0 -rw-rw-r-- 1 pavels pavels 0 Jan 6 01:54 index.html

from hamlpy.

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.