Coder Social home page Coder Social logo

Comments (7)

debelyoo avatar debelyoo commented on July 27, 2024

Apparently the rename operation is not supported by the commons-vfs2 lib.

In AbstractFileObject.java

protected void doRename(final FileObject newFile) throws Exception {
        throw new FileSystemException("vfs.provider/rename-not-supported.error");
    }

The version of commons-vfs2 is org.apache.commons.wso2:commons-vfs2:2.0-wso2v15

from siddhi-io-file.

minudika avatar minudika commented on July 27, 2024

Hi @debelyoo ,

We tested your siddhi app on our end and the move after process operation works properly on our environment.
Could you please verify whether you have write access to your target location in the file system?

from siddhi-io-file.

mohanvive avatar mohanvive commented on July 27, 2024

@debelyoo do you have any feedback on the response made by Minudika?

from siddhi-io-file.

debelyoo avatar debelyoo commented on July 27, 2024

I have write access on the target folder, but I still get the exception.

from siddhi-io-file.

SinthujanSintha avatar SinthujanSintha commented on July 27, 2024

I have checked this source code it works properly without any exception or error .I think it will be better if you check your directly folder whether that input file exist in the correct path or not(' file.uri='file:///home/wso2carbon/wso2sp-4.3.0/wso2/editor/deployment/input/input1.json') and also check is there any existing same name file in move path a("move.after.process='file:///home/wso2carbon/wso2sp-4.3.0/wso2/editor/deployment/processed/input1.json', ") if it is please remove it.

from siddhi-io-file.

mohanvive avatar mohanvive commented on July 27, 2024

It seems like a common issue that faced with VFS file transport. We may need to dig this since we couldn't reproduce this locally.

wso2/product-ei#4261

from siddhi-io-file.

Tharunnath avatar Tharunnath commented on July 27, 2024

Hi,
I am also facing the same issue in (vfs2 2.2).
Is this Issue resolved ?

from siddhi-io-file.

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.