elsanto11 | 4 Nov 22:47 2003
Picon

Unison Socket error..


Hello all,

  I'm new to this and I love the tool already.  I have a question 
about an error I'm getting.

On a windows "server" box I run the command:

unison -socket 4675

and I get back the message "server started" sounds good so far,

But Then from my "Client" box I run this command:

C:\>unison test c:\test socket://smurf1:4675/f:\users\mgomez\sync -
batch -ui text

Now this part works fine and syncs the material across, but on the 
server box I get this message:

Fatal error: Error in waiting on port:
The specified network name is nolonger avialable.
[read<>]

Any help would be Great, I feel like I'm very close to getting what I 
need.

Thanks again,

Miguel
(Continue reading)

ateles38 | 5 Nov 16:16 2003
Picon
Picon

problems synchronizing mail in OS X

Since I got the latest version of OS X (10.3) I am having the following problem when I 
synchronize my mail folders (~/Library/Mail/) between two machines running 10.3.  
Lets say the changes are propagated from  Mac1 --> Mac 2.  If I open mail in Mac2 all 
the messages in my mailbox will appeared as if unread.  If I mark them as read, close 
mail and synchrnize again, this time changes will propagate from Mac2 --> Mac1.  If I 
open mail in Mac1 this time all the messages will appear as unread!!

any ideas?

ateles

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/xlw.sC/XP.FAA/3jkFAA/26EolB/TM
---------------------------------------------------------------------~->

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

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

Max Bowsher | 5 Nov 18:48 2003
Picon

Re: Unison Socket error..

elsanto11 wrote:
> Hello all,
>
>   I'm new to this and I love the tool already.  I have a question
> about an error I'm getting.
>
> On a windows "server" box I run the command:
>
> unison -socket 4675
>
> and I get back the message "server started" sounds good so far,
>
> But Then from my "Client" box I run this command:
>
> C:\>unison test c:\test socket://smurf1:4675/f:\users\mgomez\sync -
> batch -ui text
>
> Now this part works fine and syncs the material across, but on the
> server box I get this message:
>
> Fatal error: Error in waiting on port:
> The specified network name is nolonger avialable.
> [read<>]

For an unknown reason, unison breaks like this when it has been compiled
with MSVC.
The solution is to use the version compiled with MinGW
(unison.win32mingw.exe).

Max.
(Continue reading)

James Leifer | 6 Nov 15:07 2003
Picon
Picon

Re: Synchronization of Maildir folders

Hi,

You might want to look at offlineimap, which has various maildir and
IMAP synchronization modes.  The program is supposed to understand
changes in message flags.

In theory IMAP's ``disconnected'' mode may also be sufficient though
it's not clear how well typical mail user agents handle it.

Another thing worth considering is the ``maildir'' mode of gnus (an
emacs-based mail user agent).  Its maildir handling is different from
Dan Bernstein's (of qmail fame) spec (so probably shouldn't be called
maildir) but may actually be more relevant for use with unison: gnus
never renames a message to indicate flag changes but instead has a
directory of flags and touches a new file for each flag (effectively
using the set of filenames as the data).  In fact gnus hardlinks all
these flag files to a single empty dummy file so there isn't an inode
explosion.  As unison doesn't try to preserve the hardlink structure,
you would eventually need to run a little script to make all the flag
files hard links again.  (This seems trivial.)  The only thing to be
careful about is that if you update the flags with unison while gnus
is running at the same time, gnus might lose those updates when it
flushes its cache.

I'm waiting till I have free time to try to set up something like this
and searching for a really good solution.  Currently, I use gnus but
keep my mail in mh format for historical reasons --- and
synchronization is not particularly satisfactory.

Please let the list know how you get on.
(Continue reading)

George Vilches | 6 Nov 15:53 2003

OSX Resource forks in Unison 2.9.70

Hi,

Recently, we have compiled the newest version of Unison for OSX 10.3,
2.9.70.  After a bit of tweaking (you probably need to account for
switching "pbxbuild" to "xcodebuild" in the Makefile, for instance), I got
the build to work, and synchronize locally (it crashed after a bit, but
the reason for the crash is unrelated to my actual question).

We have a Win2K server in which we need to sync files between.  However, I
get the error saying that it won't sync because of resource forks (it
shows only one entry in the Unison list with "XXXXX", and I click on it
and see the error in the status box below).  I've already familiarized
myself with all the naughties of resource forks that have been discussed
on this list, and why it might be a bad idea to try to sync to some fs
that doesn't support it.  Unfortunately, we don't really have the option
of going to an UFS filesystem right now, and we're reasonably confident
that the files we want to move don't actually have resource forks
associated (or at least forks that have any data we care about, since
everything is done via DW's synchronize feature to our dev site, and if
the resource forks mattered, our dev site wouldn't work).  That, and we
keep good backups, so if it fails, we're not screwed. :)

So, we wanted to know:

1) Are they any override flags allowing us to continue even though there
is the possibility of destruction?  -force or force in the .prf didn't
seem to work (we did specify a root).

2) If no override flag exists, I'm willing to go code spelunking to
deactivate this and let you all know how it goes.  But if you could direct
(Continue reading)

Benjamin C. Pierce | 6 Nov 17:23 2003

Re: OSX Resource forks in Unison 2.9.70

The brutal solution is changing hasResourceFork in hfs.ml to always return
false.  It sounds like for you situation (where you're pretty sure *all* the
resource forks are uninteresting), this would be sufficient.  

We've got proper resource fork handling just about working, but are still
struggling with some issues in the (rather too tricky!) low-level file
transport code.

    - B

-----------------------------------------------------------------------------
BENJAMIN C. PIERCE, Professor
Dept. of Computer & Information Science   bcpierce "at" cis dot upenn dot edu
University of Pennsylvania                                    +1 215 898-2012
3330 Walnut St.                                          Fax: +1 215 898-0587
Philadelphia, PA 19104, USA                http://www.cis.upenn.edu/~bcpierce
-----------------------------------------------------------------------------

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/xlw.sC/XP.FAA/3jkFAA/26EolB/TM
---------------------------------------------------------------------~->

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

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

(Continue reading)

Laurent Franceschetti | 8 Nov 15:37 2003

Localtime error Win XP

Hello,
 
I have been using happily unison for a while, with a server on Linux, a PC on Win 98 and a laptop on Win XP -- all three cross-synchronizing via the Linux server.
 
Recently, I run into a problem with the Win XP server, who is refusing to synchronize any longer, even locally with a device. Here is the error it gives:
 
unisonwin  -batch . e:/mydirectory  1>unison.log
Contacting server...
p = e:/Faisal; bn = Faisal
Looking for changes
.................. 
 
Reconciling changes
Fatal error: Error in saving archive:
Invalid argument [localtime()]
 
 
Whatever I am trying to synchronize with the Win XP laptop, I now get the same error. This is strange because it has worked fine so far, and it started yesterday to go awry. I tried to delete all synchronization files, remove all options in the default file, look a the manual, the history of the unison-users list on a localtime() error on Windows XP -- nothing so far.
 
One of the recent events is that I tried to sync a directory with a removable USB key that turned out to be too small for the directories. Then I changed the removable USB key with a bigger one and tried to sync again. Is there a relationship?
 
Any idea?
 
Laurent
Switzerland



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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
elsanto11 | 10 Nov 17:55 2003
Picon

command line question...


  I want to sync to different folders.  However I want to syn in only 
one direction, from folder a -> folder b.

How do I write this via command line.

Right now I have:

unison Profilename c:\foldera c:\folderb -batch -ui text

This syncs bidirectional.....

Thanks in advanced..

Miguel

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/26EolB/TM
---------------------------------------------------------------------~->

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

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

David T-G | 11 Nov 00:24 2003

Re: command line question...

Miguel --

...and then elsanto11 said...
% 
%   I want to sync to different folders.  However I want to syn in only 
% one direction, from folder a -> folder b.

Sounds like you prefer one side over the other.  You should use the

  -prefer

parameter :-)

HTH & HAND

:-D
--

-- 
David T-G                      * There is too much animal courage in 
(play) davidtg <at> justpickone.org * society and not sufficient moral courage.
(work) davidtgwork <at> justpickone.org  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Tom Weir | 10 Nov 23:55 2003

Re: command line question...

If you're only going in one direction, why not use rsync?

On 10-Nov-03, at 8:55 AM, elsanto11 wrote:

>
>
>   I want to sync to different folders.  However I want to syn in only
> one direction, from folder a -> folder b.
>
> How do I write this via command line.
>
> Right now I have:
>
> unison Profilename c:\foldera c:\folderb -batch -ui text
>
> This syncs bidirectional.....

Gmane