Coder Social home page Coder Social logo

adding repo fails on linux about cmissync HOT 3 CLOSED

aegif avatar aegif commented on September 20, 2024
adding repo fails on linux

from cmissync.

Comments (3)

nicolas-raoul avatar nicolas-raoul commented on September 20, 2024

Thanks for your feedback!

Probably not the main problem, but Alfresco seem to not like prefix slashes, so you should use "cmissync" instead of "/cmissync".

from cmissync.

alxgomz avatar alxgomz commented on September 20, 2024

Hi Nicolas,

As pointed before the Alfresco server doesn't even receive any CMIS request (checked with a tcpdump on port 8080). However I tried to remove the leading slash in the path set in the wizard and I get the error below (probably the same):
FullPath:/home/alxgomz/.config/cmissync/config.xml
07:23:34 | Config | Wrote to '/home/alxgomz/.config/cmissync/config.xml'
07:23:34 | Config | Updated option notifications:True
07:23:44 | Config | Wrote to '/home/alxgomz/.config/cmissync/config.xml'
Cmis SparkleFetcher constructor
07:25:15 | Fetcher | /home/alxgomz/SparkleShare/.tmp/cmissync | Fetching folder: http://172.16.0.2:8080/
07:25:15 | Auth | Skipping fingerprint check
07:25:15 | Auth | Accepted host key for 172.16.0.2
07:25:15 | Fetcher | Failed creating fingerprint: Array index is out of range. at SparkleLib.SparkleFetcherBase.GetFingerprint (System.String public_key) [0x00000] in :0
Cmis SparkleFetcher Fetch
07:25:15 | Fetcher | Finished
Cmis SparkleFetcher IsFetchedRepoEmpty
Cmis SparkleFetcher Complete
Cmis SparkleFetcher IsFetchedRepoEmpty
07:25:15 | Config | Wrote to '/home/alxgomz/.config/cmissync/config.xml'

Unhandled Exception: System.TypeLoadException: A type load exception has occurred.
at SparkleShare.SparkleControllerBase.FinishFetcher () [0x00000] in :0
at SparkleShare.SparkleControllerBase.m__1D (Boolean repo_is_encrypted, Boolean repo_is_empty, System.String[] warnings) [0x00000] in :0
at (wrapper delegate-invoke) :invoke_void__this___bool_bool_string
at SparkleLib.SparkleFetcherBase.m__4 () [0x00000] in :0
at System.Threading.Thread.StartInternal () [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.
at SparkleShare.SparkleControllerBase.FinishFetcher () [0x00000] in :0
at SparkleShare.SparkleControllerBase.m__1D (Boolean repo_is_encrypted, Boolean repo_is_empty, System.String[] warnings) [0x00000] in :0
at (wrapper delegate-invoke) :invoke_void__this___bool_bool_string
at SparkleLib.SparkleFetcherBase.m__4 () [0x00000] in :0
at System.Threading.Thread.StartInternal () [0x00000] in :0

The message preceding the error (about host key being accepted) and the "Failed to create fingerprint" error itself, lead me to think cmissync tries to use ssh as a transport, but I don't think this is possible at all (at least with Alfresco)... or Iam I missunderstanding anything?

from cmissync.

nicolas-raoul avatar nicolas-raoul commented on September 20, 2024

Adding repo works now :-)
Be sure to follow the new instructions at https://github.com/nicolas-raoul/CmisSync/tree/master/CmisSync/Linux#building-on-linux-distributions
Especially the last step: sudo cp Extras/DotCMIS.dll /usr/local/lib/cmissync/

Could you please try? I tested on Linux openSUSE.
Thanks a lot!
Nicolas

from cmissync.

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.