Git Product home page Git Product logo

dokuwikifuse's People

Contributors

jeltef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dokuwikifuse's Issues

Upload of forbidden extenstion breaks the mountpoint

When I upload the file with the forbidden extension the mountpoint is being disconnected.

[INFO] Saving /inr/task10.cfg                                                                                                                                                                      [38/243]
[ERROR] Something went wrong when saving /inr/task10.cfg: <Fault 1: 'Upload denied. This file extension is forbidden!'>
Traceback (most recent call last):
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/dokuwiki/dokuwiki.py", line 55, in send
    return method(*args)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1098, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1437, in __request
    verbose=self.__verbose
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1140, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1156, in single_request
    return self.parse_response(resp)
  File "/usr/lib/python3.4/xmlrpc/client.py", line 1327, in parse_response
    return u.close()
  File "/usr/lib/python3.4/xmlrpc/client.py", line 657, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 1: 'Upload denied. This file extension is forbidden!'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/utils.py", line 18, in _convert_error_to_fuse_error
    yield
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/filesystem.py", line 195, in fsync
    self.save()
  File "dokuwikifuse.py", line 133, in save
    dw.medias.set(self.doku_path, self.content, overwrite=True)
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/dokuwiki/dokuwiki.py", line 204, in set
    b64encode(_bytes), ow=overwrite)
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/dokuwiki/dokuwiki.py", line 61, in send
    raise DokuWikiError(err)
dokuwiki.DokuWikiError: <Fault 1: 'Upload denied. This file extension is forbidden!'>

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "dokuwikifuse.py", line 274, in <module>
    llfuse.close()
  File "src/fuse_api.pxi", line 520, in llfuse.close (src/llfuse.c:37357)
  File "src/handlers.pxi", line 26, in llfuse.fuse_destroy (src/llfuse.c:7094)
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/operations.py", line 98, in destroy
    self.fullsync()
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/operations.py", line 70, in fullsync
    self.fsyncdir(ROOT_INODE, True)
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/operations.py", line 325, in fsyncdir
    self.fs[fh].fsync()
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/filesystem.py", line 314, in fsync
    c.fsync()
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/filesystem.py", line 314, in fsync
    c.fsync()
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/filesystem.py", line 195, in fsync
    self.save()
  File "/usr/lib/python3.4/contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
  File "/sne/home/lmakowski/dokuwikifuse/venv/src/easyfuse/easyfuse/utils.py", line 23, in _convert_error_to_fuse_error
    raise FUSEError(errno.EAGAIN)
llfuse.FUSEError: Resource temporarily unavailable

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.