public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  unison
@ 2006-10-04  3:09 James
  2006-10-04  3:17 ` Ow Mun Heng
  2006-10-04  3:36 ` [gentoo-user] unison james
  0 siblings, 2 replies; 14+ messages in thread
From: James @ 2006-10-04  3:09 UTC (permalink / raw
  To: gentoo-user

Hello,

I have 2 gentoo system, one x86 one amd64 to use unison to sync up
text files. Here's the error I get:
Uncaught exception Invalid_argument("ill-formed replica
ssh://192.168.2.23://home/james/projects")

Launching the gui from the command line with:
/usr/X11R6/bin/unison

I've have the same version on both sytems (2.13.16 )

and have tried many variations of dirs to sync.

Here's a the .unisom file that causes the above error:

root = /home/james/projects/manuals
root = ssh://192.168.2.23//home/james/projects/manuals


suggestions?


James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user]  unison
  2006-10-04  3:09 [gentoo-user] unison James
@ 2006-10-04  3:17 ` Ow Mun Heng
  2006-10-04  3:36 ` [gentoo-user] unison james
  1 sibling, 0 replies; 14+ messages in thread
From: Ow Mun Heng @ 2006-10-04  3:17 UTC (permalink / raw
  To: gentoo-user

On Wed, 2006-10-04 at 03:09 +0000, James wrote:
> Hello,
> 
> I have 2 gentoo system, one x86 one amd64 to use unison to sync up
> text files. Here's the error I get:
> Uncaught exception Invalid_argument("ill-formed replica
> ssh://192.168.2.23://home/james/projects")

> Here's a the .unisom file that causes the above error:
> 
> root = /home/james/projects/manuals
> root = ssh://192.168.2.23//home/james/projects/manuals

Nothing wrong as far as I can see.
I have the same setup

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user]  Re: unison
  2006-10-04  3:09 [gentoo-user] unison James
  2006-10-04  3:17 ` Ow Mun Heng
@ 2006-10-04  3:36 ` james
  2006-10-04  3:55   ` Ow Mun Heng
  1 sibling, 1 reply; 14+ messages in thread
From: james @ 2006-10-04  3:36 UTC (permalink / raw
  To: gentoo-user

James <wireless <at> tampabay.rr.com> writes:

> Here's the error I get:
> Uncaught exception Invalid_argument("ill-formed replica
> ssh://192.168.2.23://home/james/projects")

that error message was when I tried to sync the files
/home/james/projects

When I try to make it simpler (smaller)
using /home/james/projects/manuals   I get this error:

Uncaught exception Gpointer.Null   Killed by signal 1.

comments?


james

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user]  Re: unison
  2006-10-04  3:36 ` [gentoo-user] unison james
@ 2006-10-04  3:55   ` Ow Mun Heng
  2006-10-04 19:05     ` James
  0 siblings, 1 reply; 14+ messages in thread
From: Ow Mun Heng @ 2006-10-04  3:55 UTC (permalink / raw
  To: gentoo-user

On Wed, 2006-10-04 at 03:36 +0000, james wrote:
> James <wireless <at> tampabay.rr.com> writes:
> 
> > Here's the error I get:
> > Uncaught exception Invalid_argument("ill-formed replica
> > ssh://192.168.2.23://home/james/projects")
> 
> that error message was when I tried to sync the files
> /home/james/projects
> 
> When I try to make it simpler (smaller)
> using /home/james/projects/manuals   I get this error:
> 
> Uncaught exception Gpointer.Null   Killed by signal 1.
> 
> comments?
> 
This is weird.. But see here

http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=372545

It's a FONT problem??

What if you do it via the CLI??

$ unison -ui text ~/.unison/UNISON_OPERATION_NAME.prf




> 
> james
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user]  Re: unison
  2006-10-04  3:55   ` Ow Mun Heng
@ 2006-10-04 19:05     ` James
  2006-10-04 20:32       ` Neil Bothwick
  2006-10-05  0:46       ` Ow Mun Heng
  0 siblings, 2 replies; 14+ messages in thread
From: James @ 2006-10-04 19:05 UTC (permalink / raw
  To: gentoo-user

Ow Mun Heng <Ow.Mun.Heng <at> wdc.com> writes:

> > I get this error:

> > Uncaught exception Gpointer.Null   Killed by signal 1.

> This is weird.. But see here

> http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=372545

> It's a FONT problem??

Hello Ow,

It does look like a bug, but with little experience with unison,
somebody else is going to have to verify and post this bug,
or wait until I gain more experience with unison.

> What if you do it via the CLI??

Well following this doc:

http://www.cis.upenn.edu/~bcpierce/unison/download
/releases/stable/unison-manual.html

I can get the CLI to work. Interestingly, it starts
the gui for me to enter the remote passwd  into a gui
ssh session. With that, I can easily use the command
line, until I nail down the issue(s)....

I am using version 2.13.16 on both amd64 and x86 machines,
since that is the latestvstable version on x86 and all versions
are marked testing on the amd64. Or do you think I should install 
the 2.17.1-r1 version on the x86 and the amd64 machines?

unison-2.13.16 is working fine on both arch's using the CLI.


James




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user]  Re: unison
  2006-10-04 19:05     ` James
@ 2006-10-04 20:32       ` Neil Bothwick
  2006-10-05  0:49         ` Ow Mun Heng
  2006-10-05 15:31         ` James
  2006-10-05  0:46       ` Ow Mun Heng
  1 sibling, 2 replies; 14+ messages in thread
From: Neil Bothwick @ 2006-10-04 20:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

On Wed, 4 Oct 2006 19:05:07 +0000 (UTC), James wrote:

> > http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=372545  
> 
> > It's a FONT problem??  
> 
> Hello Ow,
> 
> It does look like a bug, but with little experience with unison,
> somebody else is going to have to verify and post this bug,
> or wait until I gain more experience with unison.

Is this an old thread or have I missed a lot of posts? Anyway, I had this
problem a while ago and the fix is simple, emerge
media-fonts/font-schumacher-misc


-- 
Neil Bothwick

You are a completely unique individual, just like everybody else.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user]  Re: unison
  2006-10-04 19:05     ` James
  2006-10-04 20:32       ` Neil Bothwick
@ 2006-10-05  0:46       ` Ow Mun Heng
  1 sibling, 0 replies; 14+ messages in thread
From: Ow Mun Heng @ 2006-10-05  0:46 UTC (permalink / raw
  To: gentoo-user

On Wed, 2006-10-04 at 19:05 +0000, James wrote:
> Ow Mun Heng <Ow.Mun.Heng <at> wdc.com> writes:
> > What if you do it via the CLI??
> 
> Well following this doc:
> 
> http://www.cis.upenn.edu/~bcpierce/unison/download
> /releases/stable/unison-manual.html
> 
> I can get the CLI to work. Interestingly, it starts
> 
> I am using version 2.13.16 on both amd64 and x86 machines,
> since that is the latestvstable version on x86 and all versions
> are marked testing on the amd64. Or do you think I should install 
> the 2.17.1-r1 version on the x86 and the amd64 machines?

if it's not stated as fixed, then I guess you can try it out anyway. No
harm I guess.

However, I do sometimes use the GUI, and it works. So I'm not too sure.
I'm also using 2.13.16

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user]  Re: unison
  2006-10-04 20:32       ` Neil Bothwick
@ 2006-10-05  0:49         ` Ow Mun Heng
  2006-10-05  8:09           ` Neil Bothwick
  2006-10-05 15:31         ` James
  1 sibling, 1 reply; 14+ messages in thread
From: Ow Mun Heng @ 2006-10-05  0:49 UTC (permalink / raw
  To: gentoo-user

On Wed, 2006-10-04 at 21:32 +0100, Neil Bothwick wrote:
> On Wed, 4 Oct 2006 19:05:07 +0000 (UTC), James wrote:
> 
> > > http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=372545  
> > 
> > > It's a FONT problem??  
> > 
> > Hello Ow,
> > 
> > It does look like a bug, but with little experience with unison,
> > somebody else is going to have to verify and post this bug,
> > or wait until I gain more experience with unison.
> 
> Is this an old thread or have I missed a lot of posts? 

Not really

> Anyway, I had this
> problem a while ago and the fix is simple, emerge
> media-fonts/font-schumacher-misc

I don't have this installed.

Then I tried to run the GUI and it failed!! It was working previously,
that's for sure. I wonder if the migrate to Xorg-7 caused this problem.
(I just migrated last week)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user]  Re: unison
  2006-10-05  0:49         ` Ow Mun Heng
@ 2006-10-05  8:09           ` Neil Bothwick
  0 siblings, 0 replies; 14+ messages in thread
From: Neil Bothwick @ 2006-10-05  8:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

On Thu, 05 Oct 2006 08:49:02 +0800, Ow Mun Heng wrote:

> > Anyway, I had this
> > problem a while ago and the fix is simple, emerge
> > media-fonts/font-schumacher-misc  
> 
> I don't have this installed.
> 
> Then I tried to run the GUI and it failed!!

Did you install it?

> It was working previously,
> that's for sure. I wonder if the migrate to Xorg-7 caused this problem.
> (I just migrated last week)

It was the upgrade to modular ~X that broke it for me. I used the
commandline version until I found out about the fonts with some fairly
intensive googling. It's clear you are missing something that was a part
of the old monolithic X, but the error message is about as useful as a
chocolate fireguard :(


-- 
Neil Bothwick

I yam Popeye o'de Borg. Preparez ta be askimiligrated.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user]  Re: unison
  2006-10-04 20:32       ` Neil Bothwick
  2006-10-05  0:49         ` Ow Mun Heng
@ 2006-10-05 15:31         ` James
  2006-10-05 15:59           ` Neil Bothwick
  1 sibling, 1 reply; 14+ messages in thread
From: James @ 2006-10-05 15:31 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil <at> digimed.co.uk> writes:


> > > http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=372545  

> > > It's a FONT problem??  



> Is this an old thread or have I missed a lot of posts? Anyway, I had this
> problem a while ago and the fix is simple, emerge
> media-fonts/font-schumacher-misc


Hello Neil,

I had these fonts installed on both systems already.
I went ahead and rebuilt the fonts and unison on both systems.

The gui interface now works great....no problems. (thanks)

On another note, since you have some experience with unison.

I want to sync up (2) portables, down to every file (including
dot files, email boxes etc) using unison.  This only applies
to the user's home dir, not any other files. I have to be ready to
travel at a moments notice and fix equipment for a variety of
installations.   I have identical setups on both portables,
one is a p4 the other an amd64(turion). I cannot be caught
in a situation where my portable is not ready for field support.
Are there any files in my home dir that I should exclude from unison
as they will be different, (due to the nature of the different
arch's of the machines)?

I do maintain identical world files on each machine as well as
similar make.conf entries(except for arch related stuff).

Off hand, I cannot think of any so I should just be able to point
unison to the user's home dir (/home/james) and duplicate
EVERYTHING??

I do have both system setup to only poll for email when I manually
request it, but, that's all I can think of. However, I have
not used something like unison before, so any suggestions
or caveats would be most welcome.


James





-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user]  Re: unison
  2006-10-05 15:31         ` James
@ 2006-10-05 15:59           ` Neil Bothwick
  2006-10-06  0:12             ` James
  0 siblings, 1 reply; 14+ messages in thread
From: Neil Bothwick @ 2006-10-05 15:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1683 bytes --]

On Thu, 5 Oct 2006 15:31:43 +0000 (UTC), James wrote:

> I want to sync up (2) portables, down to every file (including
> dot files, email boxes etc) using unison.  This only applies
> to the user's home dir, not any other files. I have to be ready to
> travel at a moments notice and fix equipment for a variety of
> installations.   I have identical setups on both portables,
> one is a p4 the other an amd64(turion). I cannot be caught
> in a situation where my portable is not ready for field support.
> Are there any files in my home dir that I should exclude from unison
> as they will be different, (due to the nature of the different
> arch's of the machines)?
> 
> I do maintain identical world files on each machine as well as
> similar make.conf entries(except for arch related stuff).
> 
> Off hand, I cannot think of any so I should just be able to point
> unison to the user's home dir (/home/james) and duplicate
> EVERYTHING??
> 
> I do have both system setup to only poll for email when I manually
> request it, but, that's all I can think of.

The only things you are likely to want to exclude are config files, such
as the mail config you mention. You also need to be sure that changes
"take"; for example if you sync your Konqueror bookmarks and Konqueror is
running, it will write its in-memory bookmarks to disc when it exits,
overwriting the ones you just copied over. You can avoid this by logging
out of the desktop on the destination machine before syncing.


-- 
Neil Bothwick

Several errant electrons jumped when they shouldn't have at a place they
shouldn't have, resulting in what shouldn't have. In short, a short.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user]  Re: unison
  2006-10-05 15:59           ` Neil Bothwick
@ 2006-10-06  0:12             ` James
  2006-10-06  9:18               ` Neil Bothwick
  0 siblings, 1 reply; 14+ messages in thread
From: James @ 2006-10-06  0:12 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil <at> digimed.co.uk> writes:


> The only things you are likely to want to exclude are config files, such
> as the mail config you mention. You also need to be sure that changes
> "take"; for example if you sync your Konqueror bookmarks and Konqueror is
> running, it will write its in-memory bookmarks to disc when it exits,
> overwriting the ones you just copied over. You can avoid this by logging
> out of the desktop on the destination machine before syncing.


Hello Neil,

It's almost working perfectly. I have one delimma that I can solve
with a script of my own, but, I was wondering if there is a method
using unison, that I have not read about. The issue is mozilla's
bookmarks.html file synchronization.

System A:
~/.mozilla/default/53a4kpfr.slt/bookmarks.html

System B:
~/.mozilla/default/6xnd2dcf.slt/bookmarks.html

Unison copies both dirs/files correctly back and forth
but the different installations of mozilla use different
paths to their bookmarks.html file.

How would you suggest I fix this (merge) or use one
as the master(correct) copy of bookmarks.html and get
the other installation of mozilla to use the copied
over file?



James


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user]  Re: unison
  2006-10-06  0:12             ` James
@ 2006-10-06  9:18               ` Neil Bothwick
  2006-10-06 12:03                 ` James
  0 siblings, 1 reply; 14+ messages in thread
From: Neil Bothwick @ 2006-10-06  9:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

On Fri, 6 Oct 2006 00:12:55 +0000 (UTC), James wrote:

> System A:
> ~/.mozilla/default/53a4kpfr.slt/bookmarks.html
> 
> System B:
> ~/.mozilla/default/6xnd2dcf.slt/bookmarks.html
> 
> Unison copies both dirs/files correctly back and forth
> but the different installations of mozilla use different
> paths to their bookmarks.html file.
> 
> How would you suggest I fix this (merge) or use one
> as the master(correct) copy of bookmarks.html and get
> the other installation of mozilla to use the copied
> over file?

I'd do "ln -s 53a4kpfr.slt ~/.mozilla/default/6xnd2dcf.slt" on System A
and put "follow .mozilla/default/6xnd2dcf.slt" in the Unison profile.


-- 
Neil Bothwick

I am Demon of Borg. Redialling is futile. 400 assimilator busy.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user]  Re: unison
  2006-10-06  9:18               ` Neil Bothwick
@ 2006-10-06 12:03                 ` James
  0 siblings, 0 replies; 14+ messages in thread
From: James @ 2006-10-06 12:03 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil <at> digimed.co.uk> writes:


> > Unison copies both dirs/files correctly back and forth
> > but the different installations of mozilla use different
> > paths to their bookmarks.html file.

> I'd do "ln -s 53a4kpfr.slt ~/.mozilla/default/6xnd2dcf.slt" on System A
> and put "follow .mozilla/default/6xnd2dcf.slt" in the Unison profile.


Yea, a symlink and a script outside of unison is what I was going to
do.

I like your suggestion to use the 'follow' option in the Unison profile.
Much cleaner.

Thanks Neil! Unison is  GREAT for my meeds. Also for programmers to back 
up their own projects and work to several different machines.

I'm also going to introduce it to some windows folks. It's great
for users/(non-admin programmers) to keep track of their files,
as a first response before asking for restores from backup. I just
hope it works on windows as well as it does on linux.....

We use quite a lot of different IDEs on PC to develop code for
all sorts of microprocessor/dsps/soc....
I'm sure there will be problems with this sort of licensed/proprietary
tools, but the sourcecode and the hex (binary) files should not be 
a problem under windows? 

Those files alone would be sufficient for a user level backup and to
sync up files among programmers.


James




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-10-06 12:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-04  3:09 [gentoo-user] unison James
2006-10-04  3:17 ` Ow Mun Heng
2006-10-04  3:36 ` [gentoo-user] unison james
2006-10-04  3:55   ` Ow Mun Heng
2006-10-04 19:05     ` James
2006-10-04 20:32       ` Neil Bothwick
2006-10-05  0:49         ` Ow Mun Heng
2006-10-05  8:09           ` Neil Bothwick
2006-10-05 15:31         ` James
2006-10-05 15:59           ` Neil Bothwick
2006-10-06  0:12             ` James
2006-10-06  9:18               ` Neil Bothwick
2006-10-06 12:03                 ` James
2006-10-05  0:46       ` Ow Mun Heng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox