Karl M | 4 Jun 2009 00:23
Picon
Favicon

Lost connection with Unison-2.32.23


Hi All...

With Unison-2.32.23 GUI version for windows (compiled with OCaml 3.11.0) when the connection to the
server is lost,
the error popup has

Fatal error
Uncaught exception Unix.Unix_error(31, "select", "")

instead of the usual lost connection error popup.

Thanks,

...Karl
_________________________________________________________________
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
(Continue reading)

Kei Yuen (Kenji | 4 Jun 2009 04:28
Picon

Failed to install in FreeBSD 6.2

Hi, I'm trying to port install unison in FreeBSD 6.2, but something is wrong during the installation:

Here is what I do to install:

portsnap fetch
portsnap update


cd /usr/ports/net/unison
make


And then something failed to build during the make:

...
...
...
ml_gl.c:705: warning: implicit declaration of function `glNewList'
ml_gl.c: In function `ml_glEndList':
ml_gl.c:706: warning: implicit declaration of function `glEndList'
ml_gl.c: In function `ml_glCallList':
ml_gl.c:707: warning: implicit declaration of function `glCallList'
ml_gl.c: In function `ml_glListBase':
ml_gl.c:708: warning: implicit declaration of function `glListBase'
ml_gl.c: In function `ml_glCallLists':
ml_gl.c:717: warning: implicit declaration of function `glCallLists'
ml_gl.c:723: error: `GLint' undeclared (first use in this function)
gmake[1]: *** [ml_gl.o] Error 2
gmake[1]: Leaving directory `/usr/ports/graphics/ocaml-lablgl/work/lablGL-1.04/s                                                                             rc'
gmake: *** [lib] Error 2
*** Error code 1

Stop in /usr/ports/graphics/ocaml-lablgl.
*** Error code 1

Stop in /usr/ports/x11-toolkits/ocaml-lablgtk2.
*** Error code 1

Stop in /usr/ports/x11-toolkits/ocaml-lablgtk2.
*** Error code 1

Stop in /usr/ports/net/unison.
>



So, is there anybody know what seems to be the problem here?

Thx thx thx a lot,



Kenji


__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Jerome Vouillon | 4 Jun 2009 09:57
Picon

Re: Lost connection with Unison-2.32.23

Hi,

On Wed, Jun 03, 2009 at 03:23:06PM -0700, Karl M wrote:
> With Unison-2.32.23 GUI version for windows (compiled with OCaml
> 3.11.0) when the connection to the server is lost, the error popup
> has
>
> Fatal error
> Uncaught exception Unix.Unix_error(31, "select", "")
>
> instead of the usual lost connection error popup.

That should be fixed in the subversion repository already.

-- Jerome

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Alan Schmitt | 4 Jun 2009 10:09

Re: Failed to install in FreeBSD 6.2

On 4 juin 09, at 04:28, Kei Yuen (Kenji) wrote:

> Stop in /usr/ports/graphics/ocaml-lablgl.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/ocaml-lablgtk2.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/ocaml-lablgtk2.
> *** Error code 1
>
> Stop in /usr/ports/net/unison.
> >
>
>
>
> So, is there anybody know what seems to be the problem here?

The problem is in the compilation of ocaml-lablgl. You could either  
contact the authors of that library, or compile a text-only version of  
unison (doing make UISTYLE=text).

Hope this helps,

Alan
Jerome Vouillon | 4 Jun 2009 10:14
Picon

Re: Failed to install in FreeBSD 6.2

On Thu, Jun 04, 2009 at 10:28:53AM +0800, Kei Yuen (Kenji) wrote:
> Hi, I'm trying to port install unison in FreeBSD 6.2, but something is wrong
> during the installation:
[...]
> ml_gl.c: In function `ml_glCallLists':
> ml_gl.c:717: warning: implicit declaration of function `glCallLists'
> ml_gl.c:723: error: `GLint' undeclared (first use in this function)
> gmake[1]: *** [ml_gl.o] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/graphics/ocaml-lablgl/work/lablGL-1.04/src'
> gmake: *** [lib] Error 2
> *** Error code 1
[...]
> So, is there anybody know what seems to be the problem here?

Apparently, some build dependencies are missing: when compiling
ocaml-lablgl, the OpenGL include files are not found.

Could you try to run "make fetch-recursive" from
"/usr/ports/net/unison" first.

-- Jerome

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

joris_at_work | 4 Jun 2009 12:08
Picon
Favicon

Problem with splitting a big archive

Hi,

So far Unison works great (greater than Rsync, yes).
As recommended, I'm splitting a big repository into several parts to make it work smoothly.

But I'm having a problem (misunderstanding or syntax problem I don't know). Here's a sample of the
directory structure I'm working with :
F:\tosync\bigarchive\A\
F:\tosync\bigarchive\B\
F:\tosync\bigarchive\C\
[snip]
F:\tosync\bigarchive\somefiles.txt

Then I'm using a script that basically does the following for each subfolder inside bigarchive :
> Unison-2.27.57-Text.exe stone -force F:\tosync\ -path bigarchive\A

Then, once the script has finished, I want to only sync the _files_ that are in bigarchive\ only (that is, not
going again through bigarchive/A/ subfolders etc...)

I tried :
> Unison-2.27.57-Text.exe stone -force F:\tosync\ -path bigarchive -ignore "Path = bigarchive\*"
But it doesn't do what I expect, and scans every subfolders inside :(

So, can you tell me where I am wrong ? 

Thanks for your advices, cheers !

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Jerome Vouillon | 4 Jun 2009 13:03
Picon

Re: Problem with splitting a big archive

Hi,

On Thu, Jun 04, 2009 at 10:08:57AM -0000, joris_at_work wrote:
> As recommended, I'm splitting a big repository into several parts to make it work smoothly.
> 
> But I'm having a problem (misunderstanding or syntax problem I don't know). Here's a sample of the
directory structure I'm working with :
> F:\tosync\bigarchive\A\
> F:\tosync\bigarchive\B\
> F:\tosync\bigarchive\C\
> [snip]
> F:\tosync\bigarchive\somefiles.txt
> 
> Then I'm using a script that basically does the following for each subfolder inside bigarchive :
> > Unison-2.27.57-Text.exe stone -force F:\tosync\ -path bigarchive\A
> 
> Then, once the script has finished, I want to only sync the _files_ that are in bigarchive\ only (that is,
not going again through bigarchive/A/ subfolders etc...)
> 
> I tried :
> > Unison-2.27.57-Text.exe stone -force F:\tosync\ -path bigarchive -ignore "Path = bigarchive\*"
> But it doesn't do what I expect, and scans every subfolders inside :(

That should be:

    -ignore "Path bigarchive/*"

However, this will also ignore all files in "bigarchive".  If you don't
want to synchronize too much, you can use this instead:

    -ignore "Path bigarchive/*/*"

But, now that all subfolders has been synchronized, Unison should run
smoothly over the whole directory.  So maybe you can simply remove the
"-ignore" parameter and let Unison scan everything.

-- Jerome

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Jason Axelson | 4 Jun 2009 20:23
Picon
Gravatar

Re: Problem with splitting a big archive

On Thu, Jun 4, 2009 at 1:03 AM, Jerome Vouillon
<Jerome.Vouillon <at> pps.jussieu.fr> wrote:
> Hi,
>
> On Thu, Jun 04, 2009 at 10:08:57AM -0000, joris_at_work wrote:
>> As recommended, I'm splitting a big repository into several parts to make it work smoothly.
>>
>> But I'm having a problem (misunderstanding or syntax problem I don't know). Here's a sample of the
directory structure I'm working with :
>> F:\tosync\bigarchive\A\
>> F:\tosync\bigarchive\B\
>> F:\tosync\bigarchive\C\
>> [snip]
>> F:\tosync\bigarchive\somefiles.txt
>>
>> Then I'm using a script that basically does the following for each subfolder inside bigarchive :
>> > Unison-2.27.57-Text.exe stone -force F:\tosync\ -path bigarchive\A
>>
>> Then, once the script has finished, I want to only sync the _files_ that are in bigarchive\ only (that is,
not going again through bigarchive/A/ subfolders etc...)
>>
>> I tried :
>> > Unison-2.27.57-Text.exe stone -force F:\tosync\ -path bigarchive -ignore "Path = bigarchive\*"
>> But it doesn't do what I expect, and scans every subfolders inside :(
>
> That should be:
>
>    -ignore "Path bigarchive/*"
>
> However, this will also ignore all files in "bigarchive".  If you don't
> want to synchronize too much, you can use this instead:
>
>    -ignore "Path bigarchive/*/*"
>
> But, now that all subfolders has been synchronized, Unison should run
> smoothly over the whole directory.  So maybe you can simply remove the
> "-ignore" parameter and let Unison scan everything.
>

Is it possible to modify unison so hacks like this aren't necessary?
Perhaps unison could notice when there are many files and do a
multi-stage sync (that would be similar to how this hack works).

Jason

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Sean | 5 Jun 2009 14:35
Picon
Gravatar

File Ownership / Permission problems -> Running Unison over Socket connection

Hi,

I have been using unison very happily for quite some time in an all windows environment.

I have recently started using unison 2.27.57-2 [optware arm build] on a nas server (QNAP TS-119 
running Busy Box linux)

All seemed to be working ok, until today, when I was denied access to one of my files on the NAS.

On closer inspection, it appears that the ownership has been changed on the file (and all other 
files effected by my last sync)

I believe that starting the unison daemon on the nas box logged in as root, is probably the cause of 
the change in ownership ?

Unfortunately, the QNAP NAS, does not allow ssh or telnet connection from non-admin users.

So, if invoking the server side unison daemon as root is the problem, is there any way I can work 
around this issue ?

TIA

Sean

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Jerome Vouillon | 5 Jun 2009 17:53
Picon

Re: File Ownership / Permission problems -> Running Unison over Socket connection

Hi,

On Fri, Jun 05, 2009 at 10:35:33PM +1000, Sean wrote:
[...]
> All seemed to be working ok, until today, when I was denied access
> to one of my files on the NAS.
>
> On closer inspection, it appears that the ownership has been changed
> on the file (and all other files effected by my last sync)
[...]
> Unfortunately, the QNAP NAS, does not allow ssh or telnet connection
> from non-admin users.
>
> So, if invoking the server side unison daemon as root is the
> problem, is there any way I can work around this issue ?

You can try to add the following to your Unison profile:
   servercmd = sudo -u user /path/to/unison

Another possibility is to tell unison to synchronize user and group
information by adding the following:

   user = true
   group = true

This second possibility will not work when running Unison from Windows
(except maybe if you are using a Cygwin unison binary).

-- Jerome

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:unison-users-digest <at> yahoogroups.com 
    mailto:unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane