Giter VIP home page Giter VIP logo

dob's Introduction

👋 Hi, I’m @erikzenker

dob's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

slizzered

dob's Issues

Delete Symlink from watched Folder

What ?

If you want to delete a symlink of a folder, then the webdavsyncmanager can´t handle it by method removeFolder

Why ?

The filesystem does not distinguish between symlinks to files and symlinks to folders. And you can´t ask for is_directory or is_normal_file because the folder was already erased.

What to do ?

Save the state of every file and ask for it (Maybe use fileStateDatabase more?)

Event deduplication

In some cases applications write in short time several time on
the filesystem resulting in a lot of modify events(e.g. creating a tar archive). So same events on same resources should by deduplified.

File reveals as directory

New Events fails on adding new watch:

C New event /home/erik/backup/knowledgebase/computer_arithmetik/PAPER_computer_arithmetic_ebook.pdf 256 IN_CREATE

C [Debug] WebdavSyncManager::pushFile: Push file /home/erik/backup/knowledgebase/computer_arithmetik/PAPER_computer_arithmetic_ebook.pdf to /erik/knowledgebase/computer_arithmetik/PAPER_computer_arithmetic_ebook.pdf

C [Debug] EventManager::PushBackEvent: Last event was handled /home/erik/backup/knowledgebase/computer_arithmetik/PAPER_computer_arithmetic_ebook.pdf 256 IN_CREATE

C [Debug] InotifyFileSystemScanner::Execute: Add new watch file: /home/erik/backup/knowledgebase/computer_arithmetik/PAPER_computer_arithmetic_ebook.pdf

terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::directory_iterator::construct: Not a directory: "/home/erik/backup/knowledgebase/computer_arithmetik/PAPER_computer_arithmetic_ebook.pdf"

Permission denied exception

On initial sync:

terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::status: Permission denied: "/home/erik/backup/knowledgebase/funktionale_programmierung_und_typtheorie/overview/overview.log"

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.