Hi again,
sorry I'm a bit slow at trying this out atm...
On Fri, 2008-05-30 at 11:42 +0100, Dr J A Gow wrote:
> On Fri, 2008-05-30 at 15:21 +0930, Iain Buchanan wrote:
> > Hi,
> >
> > thanks for the quick response.
>
> The problem is simply that sync-engine is not, for some reason, finding
> the authorization tool on your system.
>
> Can you update again from SVN (to r3470 or greater) and re-run the test.
First thing: config/config.xml is still listed in setup.py - I think
it's change to config/syncengine.conf.xml and where is it supposed to go
now? /etc? I'm happy if you leave it out of setup.py, then the distro
can do it.
> There will be no change in functionality, but I have altered a debug
> message to highlight the absolute path to the authorization tool. The
> line 'auth: auth prog INTERNAL_GUI does not exist' should now read
> 'auth: auth prog <filename> does not exist'. Can you check whether
> <filename> is present on your system and let me know the result?
It says:
auth: auth prog /usr/lib/python2.5/site-packages/SyncEngine/../tools/authgui.py
does not exist
and there is no authgiu.py installed anywhere. Is this a packaging
thing?
I added
'tools/authgui.py',
to setup.py, which installed it into /usr/bin (not sure if this is the
right way), then changed AuthMethod in /etc/syncengine.conf.xml to
<AuthMethod>/usr/bin/authgui.py</AuthMethod>
But I see this from sync-engine:
2008-06-05 11:36:14,699 INFO engine.config.Config : UpdateConfig - unable to
open system config file - using defaults
2008-06-05 11:36:14,699 INFO engine.config.Config : UpdateConfig - unable to
open system config file - using defaults
2008-06-05 11:36:14,701 INFO engine.syncengine.kernel : device IO2 connected
2008-06-05 11:36:14,702 INFO engine.syncengine.kernel : ProcessAuth :
processing authorization for device 'IO2'
auth: auth prog /usr/lib/python2.5/site-packages/SyncEngine/../tools/authgui.py
does not exist
I checked the permissions on /etc/syncengine.conf.xml, and its readable
by everyone. I checked config.py and it seems to be building the
path /etc/syncengine.conf.xml.
Finally I copied authgui.py
to /usr/lib/python2.5/site-packages/SyncEngine/../tools/authgui.py and
ran sync-engine again. This time it worked - popping up the gui.
So in summarising, these are the questions I'm left with:
1. Where should syncengine.conf.xml go
2. Where should the internal authgui.py go
3. Why did I see "unable to open system config file"
4. Even without the internal auth gui, I was using synce-gnome to
authenticate - why didn't sync-engine like this?
thanks heaps,
--
Iain Buchanan <iaindb at netspace dot net dot au>
As part of the conversion, computer specialists rewrote 1,500 programs;
a process that traditionally requires some debugging.
-- USA Today, referring to the Internal Revenue Service
conversion to a new computer system.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
SynCE-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synce-devel