Discussion:
[unison-users] Having errors in 2.48.3 from mint repository
descendingnerdliness@yahoo.com [unison-users]
2017-04-04 14:16:26 UTC
Permalink
Greetings,

I recently discovered Unison and like the the detailed documentation. It seems to do well in MS Windows, even in a vbox guest. But my host is currently Linux Mint Cinnamon 18.1 and the package I installed from the repository hits something and quits with error messages. Sorry, but I don't have any clue what might ber the problem.


Uncaught exception Stack overflow
Raised by primitive operation at file "array.ml", line 116, characters 14-41
Called from file "/build/unison-WhGSf0/unison-2.48.3/uigtk2.ml", line 3401, characters 12-55
Called from file "/build/unison-WhGSf0/unison-2.48.3/uigtk2.ml", line 156, characters 18-22
Called from file "/build/unison-WhGSf0/unison-2.48.3/uigtk2.ml", line 3919, characters 4-37
Called from file "/build/unison-WhGSf0/unison-2.48.3/uigtk2.ml", line 4276, characters 4-16


This occurs during the initial run to sync a pair of 3TB data drives that are perhaps half full. From my reading, It seems that this should be within the capabilities of Unison. Correct?


Thanks guys.
worley@alum.mit.edu [unison-users]
2017-04-05 19:47:12 UTC
Permalink
Post by ***@yahoo.com [unison-users]
Uncaught exception Stack overflow
One question is, do you always get this message attempting to sync those
drives?

Another question is how many files are involved and how long do the
paths to them get?

Beyond that, you could get the sources and see what uigtk2.ml is doing
at those lines.

Dale
Descending Nerdliness descendingnerdliness@yahoo.com [unison-users]
2017-04-05 22:50:20 UTC
Permalink
Thanks for the reply.  In answer to your questions:
One question is, do you always get this message attempting to sync those


drives?

        I have just started trying to use Unison and have made two attempts, both ending in error.    
Another question is how many files are involved and how long do the
paths to them get?

        There are greater than one million and perhaps as many as two million files.        The longest paths will approach 256 characters and, indeed, a few may exceed that.
Beyond that, you could get the sources and see what uigtk2.ml is doing
at those lines.

        Unfortunately, I am a novice at programming and have never been exposed to ocaml.
 
Based upon these conditions, will Unison perform this?  Previously, I have used the sync capacity in Krusader.
        

Thanks!Patrick
worley@alum.mit.edu [unison-users]
2017-04-06 18:14:47 UTC
Permalink
Post by Descending Nerdliness ***@yahoo.com [unison-users]
I have just started trying to use Unison and have made two attempts,
both ending in error.
Thank you. It is useful to know if the error is only occasional or can
be repeated.
Post by Descending Nerdliness ***@yahoo.com [unison-users]
Based upon these conditions, will Unison perform this?
You have demonstrated that Unison 2.48.3 will not perform this.

I suspect that Unison is *intended* to do this, and that the code will
in theory perform correctly for you, but that due to the large size of
what you're asking it to do, it exhausts some internal resource ("Stack
overflow"). It would take quite a bit of investigation to determine
exactly what is going wrong.

Dale
Descending Nerdliness descendingnerdliness@yahoo.com [unison-users]
2017-04-07 18:13:45 UTC
Permalink
Ok, thanks. 
My reason for trying Unison was the capability to run on linux and windows.  I use MS Word and Excel extensively on windows in vbox and computer installations and transfer files between on a much smaller scale than what I need for the two drives on Linux.  I wanted one program that would do both for ease of use.  Do you have any suggestion for such a utility.
Thanks again, Patrick.

Continue reading on narkive:
Loading...