call for testers: build/install/run iFolder Client GUI from "source deb"

51 views
Skip to first unread message

csights

unread,
Apr 30, 2010, 12:11:29 AM4/30/10
to iFolder-Ubuntu-Debian-Android-dev
Hi all,
If anyone is interested in compiling the iFolder Client GUI from a
source deb I would be interested in hearing how it goes.
So far it is working for me, but I wouldn't try to share anything
important. :)
First you have to build some "simias" debs, a build dependency of
ifolder-client.

Install the packages bzr, bzr-builddeb, devscripts.
Add repository to /etc/apt/sources.list (for cli-common-dev >
0.7.1)
deb http://badgerports.org/ lucid main

Execute these commands:
bzr branch http://bazaar.launchpad.net/~csights/+junk/simias/
cd simias
(Next install build-deps)
mk-build-deps
sudo dpkg -i simias-build-deps_1.0_all.deb
sudo aptitude
(in aptitude, or however, make sure all build-deps are satified)

bzr-buildpackage

The source will be downloaded, unpacked, built, and binary debs
created. If you are missing build dependencies the script will bail
out and tell you what is missing. Install them and run 'bzr-
buildpackage' again. Also tell me what they are.
If this doesn't work, post to this thread and I'll get back to you
eventually. :)

ignore: running debsign failed bzr: ERROR: The build failed.

Next, install the simias debs that are the build dependencies of
ifolder-client The way I do it is:
cd ../build-area
sudo dpkg -i simias-common*deb libsimias*deb simias-client*deb

Get the ifolder-client "source deb"

bzr branch http://bazaar.launchpad.net/~csights/+junk/ifolder-client/
cd ifolder-client
(Next install build-deps)
mk-build-deps
sudo dpkg -i ifolder3-build-deps_1.0_all.deb
sudo aptitude
in aptitude, or however, make sure all dependencies are satisfied
then,

bzr-buildpackage

This should compile the iFolder GUI and create binary debs.
Next, install the binary deb.
cd ../build-area
sudo dpkg -i ifolder*deb
Again, use aptitude or however to satisfy all dependencies.

The GUI should be installed! Now you should be able to start it by
typing 'ifolder' at the command line. All you need now is a server to
test it with.
Unfortunately, currently a server and client cannot be installed on
the same computer. But probably on a virtual machine on the same
computer. ?

Hope it works for you!
C.

Sanjaya Yogi

unread,
Apr 30, 2010, 1:38:08 AM4/30/10
to ifolder-ubun...@googlegroups.com
Anybody need a server to test with I will set up accounts to test with...

Post what you need  here or send me an email:
sanjaya dot yogi at gmail dot com

csights

unread,
May 1, 2010, 3:08:28 AM5/1/10
to iFolder-Ubuntu-Debian-Android-dev
> Anybody need a server to test with I will set up accounts to test with...


Thanks Sanjaya!

Raphaël Droz

unread,
May 6, 2010, 9:01:22 AM5/6/10
to iFolder-Ubuntu-Debian-Android-dev
> ./env.h
/usr/bin/soapcpp2 -c -penv ./env.h

** The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.9l
** Copyright (C) 2000-2007, Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any
warranty.
** The gSOAP compiler is released under one of the following three
licenses:
** GPL, the gSOAP public license, or the commercial license by
Genivia Inc.

Saving envStub.h
Saving envH.h
Saving envC.c
Saving envClient.c
Saving envClientLib.c
Saving envServer.c
Saving envServerLib.c

Compilation successful

/bin/bash ../../../libtool --tag=CC --mode=compile gcc -
DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -
DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -
DPACKAGE=\"simias\" -DVERSION=\"1.8\" -DSTDC_HEADERS=1 -
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. `xml2-config --cflags` -
DWITH_NONAMESPACES -DWITH_COOKIES -MT libsimias_la-envC.lo -MD -MP -
MF .deps/libsimias_la-envC.Tpo -c -o libsimias_la-envC.lo `test -f
'envC.c' || echo './'`envC.c
libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DPACKAGE_URL=\"\" -DPACKAGE=\"simias\" -DVERSION=\"1.8\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/
include/libxml2 -DWITH_NONAMESPACES -DWITH_COOKIES -MT libsimias_la-
envC.lo -MD -MP -MF .deps/libsimias_la-envC.Tpo -c envC.c -fPIC -DPIC
-o .libs/libsimias_la-envC.o
libtool: compile: gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DPACKAGE_URL=\"\" -DPACKAGE=\"simias\" -DVERSION=\"1.8\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/
include/libxml2 -DWITH_NONAMESPACES -DWITH_COOKIES -MT libsimias_la-
envC.lo -MD -MP -MF .deps/libsimias_la-envC.Tpo -c envC.c -o
libsimias_la-envC.o >/dev/null 2>&1
mv -f .deps/libsimias_la-envC.Tpo .deps/libsimias_la-envC.Plo
/usr/bin/wsdl2h -c -o libsimias.h ../WebService/Simias.wsdl
Hi, I'm getting this compilation warnings, I don't remember I had them
when I manually compiled :

** The gSOAP WSDL parser for C and C++ 1.2.9l
** Copyright (C) 2000-2007 Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any
warranty.
** The gSOAP WSDL parser is released under one of the following two
licenses:
** GPL or the commercial license by Genivia Inc. Use option -l for
more info.

Saving libsimias.h

Cannot open file 'typemap.dat'
Problem reading type map file typemap.dat.
Using internal type definitions for C instead.

Reading file '../WebService/Simias.wsdl'
Warning: element 'wsdl:documentation' at level 3 was not recognized
and will be ignored
[...]
Warning: element 'http:urlEncoded' at level 4 was not recognized and
will be ignored
Warning: element 'mime:mimeXml' at level 4 was not recognized and will
be ignored
Warning: element 'http:urlEncoded' at level 4 was not recognized and
will be ignored
Warning: element 'mime:mimeXml' at level 4 was not recognized and will
be ignored
[...]
Warning: element 'wsdl:documentation' at level 2 was not recognized
and will be ignored
Warning: no binding 'Simias Web ServiceSoap' portType '"http://
novell.com/simias/web/":Simias wsdl:Web wsdl:ServiceSoap' in WSDL
definitions 'Simias Web Service' namespace http://novell.com/simias/web/
Warning: no operation 'PingSimias' in WSDL definitions 'Simias Web
Service' namespace http://novell.com/simias/web/
Warning: no operation 'AddMemberToDomain' in WSDL definitions 'Simias
Web Service' namespace http://novell.com/simias/web/
[...]
Warning: no operation 'GetSimiasProcessID' in WSDL definitions 'Simias
Web Service' namespace http://novell.com/simias/web/
Warning: no port 'Simias Web ServiceSoap' binding '"http://novell.com/
simias/web/":Simias wsdl:Web wsdl:ServiceSoap' in WSDL definitions
'Simias Web Service' namespace http://novell.com/simias/web/
Warning: no port 'Simias Web ServiceHttpGet' binding '"http://
novell.com/simias/web/":Simias wsdl:Web wsdl:ServiceHttpGet' in WSDL
definitions 'Simias Web Service' namespace http://novell.com/simias/web/
Warning: no port 'Simias Web ServiceHttpPost' binding '"http://
novell.com/simias/web/":Simias wsdl:Web wsdl:ServiceHttpPost' in WSDL
definitions 'Simias Web Service' namespace http://novell.com/simias/web/
Error: no wsdl:definitions/portType/operation
[...]

and this warning :
./Global.asax.cs(74,45): warning CS0618:
`System.Net.ServicePointManager.CertificatePolicy' is obsolete: `Use
ServerCertificateValidationCallback instead'
./Global.asax.cs(277,73): warning CS0618:
`System.Security.Cryptography.X509Certificates.X509Certificate.GetIssuerName()'
is obsolete: `Use the Issuer property.'



My main problem is that the WebService description at /simias10/
Simias.asmx is accessible (auth works) but not /ifolder/
It may be related to the fact that the simas server generated
certificate doesn't a good value for certificate issuer (thus SSL
handshake warnings in my apache logs)
Any comment / observations ?

As a side note :
Now signing changes and any dsc files...
Could not find a signing program (pgp or gpg)!
debuild: fatal error at line 1251:
running debsign failed
bzr: ERROR: The build failed

(yes I know I should have it, but maybe gpg presence should be checked
by simias-build-deps_1.0_all.deb as its a fatal error afterall)

Raphaël Droz

unread,
May 6, 2010, 9:12:31 AM5/6/10
to iFolder-Ubuntu-Debian-Android-dev
And the following :


libtool: compile: g++-4.3 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -
DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -
DPACKAGE_URL=\"\" -DPACKAGE=\"simias\" -DVERSION=\"1.8\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -fshort-
wchar -DFLAIMWRAPPER_EXPORTS -DUNIX -D_REENTRANT -c -g -O2 -MT
libFlaimWrapper_la-FlaimWrapper.lo -MD -MP -MF .deps/
libFlaimWrapper_la-FlaimWrapper.Tpo -c FlaimWrapper.cpp -o
libFlaimWrapper_la-FlaimWrapper.o >/dev/null 2>&1
mv -f .deps/libFlaimWrapper_la-FlaimWrapper.Tpo .deps/
libFlaimWrapper_la-FlaimWrapper.Plo
/bin/bash ../../../../libtool --tag=CXX --mode=link g++-4.3 -fshort-
wchar -DFLAIMWRAPPER_EXPORTS -DUNIX -D_REENTRANT -c -g -O2 "-lpthread -
lrt -lstdc++ -ldl -lncurses /usr/lib/libflaim.a" -o
libFlaimWrapper.la -rpath /usr/lib libFlaimWrapper_la-
CSPObjectIterator.lo libFlaimWrapper_la-CSPropertyIterator.lo
libFlaimWrapper_la-CSPStore.lo libFlaimWrapper_la-CSPStoreObject.lo
libFlaimWrapper_la-FlaimWrapper.lo

*** Warning: Linking the shared library libFlaimWrapper.la against the
*** static library /usr/lib/libflaim.a is not portable!
libtool: link: g++-4.3 -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/
4.3.4/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.3.4/
crtbeginS.o .libs/libFlaimWrapper_la-CSPObjectIterator.o .libs/
libFlaimWrapper_la-CSPropertyIterator.o .libs/libFlaimWrapper_la-
CSPStore.o .libs/libFlaimWrapper_la-CSPStoreObject.o .libs/
libFlaimWrapper_la-FlaimWrapper.o -lpthread -lrt -ldl -lncurses /usr/
lib/libflaim.a -L/usr/lib/gcc/i486-linux-gnu/4.3.4 -L/usr/lib/gcc/i486-
linux-gnu/4.3.4/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/
lib/gcc/i486-linux-gnu/4.3.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/
lib/gcc/i486-linux-gnu/4.3.4/crtendS.o /usr/lib/gcc/i486-linux-gnu/
4.3.4/../../../../lib/crtn.o -Wl,-soname -Wl,libFlaimWrapper.so.0 -
o .libs/libFlaimWrapper.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libFlaimWrapper.so.0" && ln -s
"libFlaimWrapper.so.0.0.0" "libFlaimWrapper.so.0")
libtool: link: (cd ".libs" && rm -f "libFlaimWrapper.so" && ln -s
"libFlaimWrapper.so.0.0.0" "libFlaimWrapper.so")
libtool: link: ar cru .libs/libFlaimWrapper.a libFlaimWrapper_la-
CSPObjectIterator.o libFlaimWrapper_la-CSPropertyIterator.o
libFlaimWrapper_la-CSPStore.o libFlaimWrapper_la-CSPStoreObject.o
libFlaimWrapper_la-FlaimWrapper.o
libtool: link: ranlib .libs/libFlaimWrapper.a
libtool: link: ( cd ".libs" && rm -f "libFlaimWrapper.la" && ln -s "../
libFlaimWrapper.la" "libFlaimWrapper.la" )


Moreover my main question is :
where is /UI/Linux/LinuxClient directory ? they are part of the client
but they are not in the archive, they are in ifolder3-3.8.0.9328.1
archive.

Raphaël Droz

unread,
May 6, 2010, 11:50:32 AM5/6/10
to iFolder-Ubuntu-Debian-Android-dev
just ignore the "main" question at the end of my previous post :)
I choose to test the client (I didn't install simias-
server_1.8.3.9328.1+dfsg-1_all.deb)
and it compiled and now works like a charm !
I will test with other machine soon.
To be neatpicking, there is an awful :
PID=`ps -o "\"%p\"," -o cmd | grep -i Simias | grep -v grep | cut -
d"\"" -f2`
if test "$PID"
then
if [ "$PID" -gt 0 ]
then
kill -9 $PID
fi
fi
... in /usr/bin/ifolder3
I don't know if it even works (I think it doesn't), and it should be
replaced by something like :
pkill -9 simias
It should be noted that it kills the simias, not the iFolder process
(I don't know why)
pkill / pgrep are part of the procps package that even apache2-common
uses

For the server I'll try in the coming days.
Huge thanks for your work !

csights

unread,
May 6, 2010, 3:37:43 PM5/6/10
to iFolder-Ubuntu-Debian-Android-dev
Hi Raphael!
Thanks for testing!
Most of the work was done by directhex, so I'll redirect your thanks
to him. :) He knows what is going on, so hopefully he'll look at
your comments as well.
I'll comment to the best of my ability.

> Hi, I'm getting this compilation warnings, I don't remember I had them
> when I manually compiled :

One difference btw manually compiling and using the deb is that the
deb
source has a patch to use the system's gsoap compiler rather than the
one
included in source code. I don't know why the warning.

> and this warning :
> ./Global.asax.cs(74,45): warning CS0618:
> `System.Net.ServicePointManager.CertificatePolicy' is obsolete: `Use
> ServerCertificateValidationCallback instead'
> ./Global.asax.cs(277,73): warning CS0618:
> `System.Security.Cryptography.X509Certificates.X509Certificate.GetIssuerNam
> e()' is obsolete: `Use the Issuer property.'

To me looks like mono is complaining that deprecated methods are
being used.
Something for Novell ifolder team. ?

> My main problem is that the WebService description at /simias10/
> Simias.asmx is accessible (auth works) but not /ifolder/
> It may be related to the fact that the simas server generated
> certificate doesn't a good value for certificate issuer (thus SSL
> handshake warnings in my apache logs)
> Any comment / observations ?

My guess is that if you installed simias-client (and not simias-
server)
/ifolder/ and /webadmin/ don't work b/c the client only has /
simias10/.

> Now signing changes and any dsc files...
> Could not find a signing program (pgp or gpg)!
> debuild: fatal error at line 1251:
> running debsign failed
> bzr: ERROR: The build failed

With pgp or gpg the error would be something about not finding
directhex's
keys. This step if for signing the build debs with the maintainers
key. (If
you run a plain dpkg-buildpackage in the build-area this error won't
appear.
It is a bzr-buildpackage automation.)

> *** Warning: Linking the shared library libFlaimWrapper.la against the
> *** static library /usr/lib/libflaim.a is not portable!

Definitely for directhex! :)

> PID=`ps -o "\"%p\"," -o cmd | grep -i Simias | grep -v grep | cut -
> d"\"" -f2`
> if test "$PID"
> then
>
> if [ "$PID" -gt 0 ]
> then
>
> kill -9 $PID
>
> fi
>
> fi

It might be that killing simias brings down the UI as well. But if
you
find a better solution report it to Novell's bugzilla! Also I'll
might add a
patch to my bzr branch, and then directhex can decide to take or leave
it
later.
https://bugzilla.novell.com/ICSLogin/?%22https://bugzilla.novell.com/ichainlogin.cgi?target=enter_bug.cgi?format%3Dguided%26classification%3D14%26product%3DiFolder%2520Denali%26submit%3DUse%2520This%2520Product%22

Thanks for testing and your look over the output!
C.

Lyndon Lu

unread,
May 6, 2010, 11:26:20 PM5/6/10
to ifolder-ubun...@googlegroups.com
Hi Guys,
 
     Is there an option to build ifolder client only other than both (server and client)?
 
Cheers,
Lyndon.

csights

unread,
May 7, 2010, 3:04:57 PM5/7/10
to iFolder-Ubuntu-Debian-Android-dev
Hi Lyndon,
The "source deb" for simias (which builds simias-client and simias-
server) is meant to build the binary debs for Ubuntu/Debian someday.
There we want all the different binary debs built.
So it possible to build just simias-client only by modifying the
debian/rules file. But one can just delete the simias-server*deb file
and that would be equivalent (other than compile time!).

TTYL,
C.

DocHofa

unread,
May 21, 2010, 11:41:08 AM5/21/10
to iFolder-Ubuntu-Debian-Android-dev
Hi,

first of all I tried to install the all-in-one package from Sanjaya
Yogi: the installation went ok, but starting ifolder ends with
recurring "[: 14: unexpected operator".

Then I went through your installation guide "from source deb". The
Compilation of the debs went ok, but starting ifolder shows the same
error-message like mentioned before.

I'm using Ubuntu 10.04 i386.

csights

unread,
May 21, 2010, 12:07:36 PM5/21/10
to iFolder-Ubuntu-Debian-Android-dev
Hi DocHofa,
I think that error "[: 14: unexpected operator" comes from some
shell script. It doesn't seem to affect operation of iFolder for me,
so I ignore it.

C.

Sanjaya Yogi

unread,
May 21, 2010, 1:02:14 PM5/21/10
to ifolder-ubun...@googlegroups.com
If you need a test account to test clients let me know. I can set one up for you on Sanjayayogi.com

csights

unread,
May 21, 2010, 1:36:42 PM5/21/10
to iFolder-Ubuntu-Debian-Android-dev
From:
DocHofa <boris....@gmail.com>
To:
csights <csi...@fastmail.fm>
Date:
Today 09:05:58

Hi,

in my environment the wizard for setting up the connection to an
ifolder server doesn't pop up. The icon stays in the notification area
with a watch symbol. I cannot setup my ifolders. Ok, the error
shouldn't impact ifolder function. So I looked a little bit
further ...

Simias.log shows "Failed to create Flaim DB."

-------

2010-05-21 14:50:05,474 [Simias Manager Start] ERROR
Simias.Service.Manager - Failed to create Flaim DB.
Simias.CreateException: Failed to create Flaim DB. --->
Simias.SimiasException: Flaim error FERR_IO_ACCESS_DENIED
FERR_IO_ACCESS_DENIED
--- End of inner exception stack trace ---
at Simias.Storage.Provider.Flaim.FlaimProvider.CreateStore ()
[0x00000]
at Simias.Storage.Provider.Provider.Connect
(Simias.Storage.Provider.ProviderConfig conf, System.Boolean& created)
[0x00000]
at Simias.Storage.Store..ctor () [0x00000]
at Simias.Storage.Store.GetStore () [0x00000]
at Simias.Storage.ChangeLog.Start () [0x00000]
at Simias.Service.ThreadServiceCtl.Start () [0x00000]
at Simias.Service.Manager.messageDispatcher (Simias.Service.Message
msg) [0x00000]
2010-05-21 14:50:05,592 [Simias Manager Start] ERROR
Simias.Service.Manager - Exception has been thrown by the target of an
invocation.
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> Simias.CreateException: Failed to
create Flaim DB. ---> Simias.SimiasE
xception: Flaim error FERR_FILE_EXISTS FERR_FILE_EXISTS
--- End of inner exception stack trace ---
at Simias.Storage.Provider.Flaim.FlaimProvider.CreateStore ()
[0x00000]
at Simias.Storage.Provider.Provider.Connect
(Simias.Storage.Provider.ProviderConfig conf, System.Boolean& created)
[0x00000]
at Simias.Storage.Store..ctor () [0x00000]
at Simias.Storage.Store.GetStore () [0x00000]
at Simias.LocalProvider..ctor () [0x00000]
at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke
(object,object[],System.Exception&)
at System.Reflection.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureIn
fo culture) [0x00000]
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureIn
fo culture) [0x00000]
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x0000
0]
at System.Reflection.ConstructorInfo.Invoke (System.Object[]
parameters) [0x00000]
at System.Activator.CreateInstance (System.Type type, Boolean
nonPublic) [0x00000]
at System.Activator.CreateInstance (System.Type type) [0x00000]
at System.Reflection.Assembly.CreateInstance (System.String
typeName, Boolean ignoreCase) [0x00000]
at System.Reflection.Assembly.CreateInstance (System.String
typeName) [0x00000]
at Simias.Service.ThreadServiceCtl.Start () [0x00000]
at Simias.Service.Manager.messageDispatcher (Simias.Service.Message
msg) [0x00000]

---------

Did the script use the wrong FlaimDB-Version? In my environment I had
to install libflam4.1 and libflaim-dev 4.9.966-0ubuntu3

DocHofa

csights

unread,
May 21, 2010, 1:54:42 PM5/21/10
to iFolder-Ubuntu-Debian-Android-dev
Hey DocHofa,
I'm not sure what the problem is there, so I'm posing to the list in
case someone else has a clue.

> Did the script use the wrong FlaimDB-Version? In my environment I had
> to install libflam4.1 and libflaim-dev 4.9.966-0ubuntu3

In the build environment I've got libflaim-dev 4.9.966-0ubuntu2. I
think the -0ubuntu3 is required for 64 bit computers. Are you
building on a 64 bit computer? It is a long shot but maybe there;s a
difference.

Also, is this the client or server? If it is the server here is a
thread on novells forums (look at last message).

http://forums.novell.com/novell-product-support-forums/ifolder/339729-failed-create-flaim-db-error.html

If it is the client, maybe try quitting iFolder, make sure all simias
processes are dead, delete ~/.local/share/simias and try to run it
again.

Thanks for reporting this problem.
C.

x2b4

unread,
May 21, 2010, 2:08:19 PM5/21/10
to ifolder-ubun...@googlegroups.com
Le 21/05/2010 15:36, csights a �crit :
> in my environment the wizard for setting up the connection to an
> ifolder server doesn't pop up. The icon stays in the notification area
> with a watch symbol. I cannot setup my ifolders. Ok, the error
> shouldn't impact ifolder function. So I looked a little bit
> further ...
>
> Simias.log shows "Failed to create Flaim DB."
>
> -------
>
>
This is the same error I got on Ubuntu NetBook Remix 9.04. So far I did
not found a solution :-(

x2b4

--
http://www.x2b4.com

DocHofa

unread,
May 22, 2010, 5:15:32 PM5/22/10
to iFolder-Ubuntu-Debian-Android-dev
Hi,

libflaim-dev 4.9.966-0ubuntu3 is the version I got as the default from
ubuntu 10.04.

> Are you building on a 64 bit computer?

No, I'm building on 32 bit.

> Also, is this the client or server?

I'm building the client.

> If it is the client, maybe try quitting iFolder, make sure all simias
> processes are dead,  delete ~/.local/share/simias and try to run it
> again.

Done, but with the same behaviour.

Has anyone an idea?

ikus060

unread,
May 23, 2010, 9:47:59 PM5/23/10
to iFolder-Ubuntu-Debian-Android-dev
Hi,

I try with the giving procedure, but I got an error while signing the
files. Any tips ?

[...]
W: simias-common: executable-not-elf-or-script ./usr/lib/pkgconfig/
simias.pc
W: libsimias0: new-package-should-close-itp-bug
W: libsimias0: wrong-bug-number-in-closes l3:#XXXXXX
E: libsimias0: no-copyright-file
Finished running lintian.
Now signing changes and any dsc files...
signfile simias_1.8.3.9328.1+dfsg-1.dsc Jo Shields
<dire...@apebox.org>
gpg: skipped "Jo Shields <dire...@apebox.org>": secret key not
available
gpg: /tmp/debsign.ioIvuuzg/simias_1.8.3.9328.1+dfsg-1.dsc: clearsign
failed: secret key not available
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1261:

csights

unread,
May 25, 2010, 12:28:36 AM5/25/10
to iFolder-Ubuntu-Debian-Android-dev


On May 23, 5:47 pm, ikus060 <ikus...@gmail.com> wrote:
> Hi,
>
> I try with the giving procedure, but I got an error while signing the
> files. Any tips ?
>

Yes, check ../build-area for the deb file. That error usually occurs
at the end of a successful build when the package cannot be signed
with the package maintainer's key. Otherwise the build should have
been successful.

C.

ikus060

unread,
May 27, 2010, 7:39:10 PM5/27/10
to iFolder-Ubuntu-Debian-Android-dev
Thanks csights,

It's actually working. I get iFolder install an running.
I have a general question : What's next to improve the quality of
those deb ?

ikus060

ikus060

unread,
May 27, 2010, 11:16:42 PM5/27/10
to iFolder-Ubuntu-Debian-Android-dev
As a way to improve the documentation about how to install iFolder and
also to make it more accessible for people that want to install it, I
create/update this wiki page which is most likely the procedure
describe in the first post. https://help.ubuntu.com/community/iFolderClient

I invite all people to improve the content of this page.

csights

unread,
May 28, 2010, 1:25:29 AM5/28/10
to iFolder-Ubuntu-Debian-Android-dev
Thanks, that is a neater with nice formatting. I hope to upload a
newer version of simias (client and server) this weekend. Some things
have changed, so I'll try to update that wiki. I might create an
iFolder server (simias-server) page as well.

On May 27, 7:16 pm, ikus060 <ikus...@gmail.com> wrote:
> As a way to improve the documentation about how to install iFolder and
> also to make it more accessible for people that want to install it, I
> create/update this wiki page which is most likely the procedure
> describe in the first post.https://help.ubuntu.com/community/iFolderClient

Sanjaya Yogi

unread,
May 28, 2010, 2:15:23 AM5/28/10
to ifolder-ubun...@googlegroups.com
It is good to simplify at this point, I could do some deleting of some of the early ifolder-ubuntu-debian-dev pages and post new ones so new comers do not have to go through painful learning processes. Any suggestions on what to delete and or add?

Or we could create a new page that is the one that new comers should go to first to get the best information first.

Sanjaya Yogi

csights

unread,
May 28, 2010, 1:31:25 PM5/28/10
to iFolder-Ubuntu-Debian-Android-dev

> It's actually working. I get iFolder install an running.
> I have a general question : What's next to improve the quality of
> those deb ?

I would say the biggest user-visible improvement would be for someone
to write debconf interactions instead of the simias-server-setup,
ifolder-*setup programs.

One way to do it is to use debconf to interface with those programs by
asking questions for them and then feeding the results to them. The
nice thing about this would be the questions would only get asked
once* and irrelevant questions wouldn't get asked (like apache user/
group).
(*I think it was envisioned that those three programs could be used
to setup three different servers, each independent of the other. In
practice (at least so far) they set up all three on the same machine.)

Any volunteers? It would require C# programming and debconf figuring
out. :)

C.

Ravi Kumar

unread,
May 28, 2010, 4:32:36 PM5/28/10
to iFolder-Ubuntu-Debian-Android-dev

This would of great help. We could publish this link on community.ifolder.com and other mailing lists.


ravi

>>> ikus060 <iku...@gmail.com> 5/28/2010 4:46 AM >>>

ikus060

unread,
May 29, 2010, 5:16:52 PM5/29/10
to iFolder-Ubuntu-Debian-Android-dev
Hi,

I've test the creation of the .deb, it's working well. Now I'm
wondering how may we improve it ?
- Is there file to be moved, symbolic link to be create (e.g for
log) ?
- I also notice there is a ifolder-nautilus folder in the source. May
we create a package for it ?
- I notice the iFolder icons is located in Applications -> Accessories
instead of Application -> Internet. May we move it ?

The question also apply to iFolder Server...

ikus060

On May 28, 12:32 pm, "Ravi Kumar" <rku...@novell.com> wrote:
> This would of great help. We could publish this link on community.ifolder.com and other mailing lists.
>
> ravi
>
> >>> ikus060 <ikus...@gmail.com> 5/28/2010 4:46 AM >>>
>
> As a way to improve the documentation about how to install iFolder and
> also to make it more accessible for people that want to install it, I
> create/update this wiki page which is most likely the procedure
> describe in the first post.https://help.ubuntu.com/community/iFolderClient

csights

unread,
May 30, 2010, 12:53:17 AM5/30/10
to iFolder-Ubuntu-Debian-Android-dev
Hi Patrik,

> - Is there file to be moved, symbolic link to be create (e.g for
> log) ?

Probably. :) There seem to be configuration files in /usr/lib/
simias. I don't know Debian/Ubuntu policy, but maybe these need to be
moved. or symlinked to elsewhere, eventually.

> - I also notice there is a ifolder-nautilus folder in the source. May
> we create a package for it ?

If you wish. There are also plugins for both client and server. I
don't know what they do, but someday they should be packaged as well.

> - I notice the iFolder icons is located in Applications -> Accessories
> instead of Application -> Internet. May we move it ?

This shouldn't be too hard... but I don't know how right now.
Where ever it is it is getting put there automatically.

Thanks for testing!
C.

Sanjaya Yogi

unread,
May 30, 2010, 1:31:12 AM5/30/10
to ifolder-ubun...@googlegroups.com
Note: the Nautilus plugin is buggy, it crashed my  computer when I installed the plugin the first time. I had to install a secondary file manager for a bit and then un-installed the plugin.

The Nautilus plugin enables a right click context menu from what I understand per Ravi Kumar.  The client deb works fine with out it, I un-installed the Nautilus plugin deb and have been using the iFolder client deb with out it for several months. Everything is stable without it.

Ravi Kumar

unread,
May 30, 2010, 3:30:11 AM5/30/10
to ifolder-ubun...@googlegroups.com

Can some one can pass on the nautilus crash logs to me ?


ravi

>>> Sanjaya Yogi <sanjay...@gmail.com> 5/30/2010 7:01 AM >>>

ajft

unread,
Jun 8, 2010, 1:52:19 AM6/8/10
to iFolder-Ubuntu-Debian-Android-dev
Does anyone know which of the shell scripts has the syntax error in
it? Scripts written with bash syntax shouldn't be configured to run
under sh.

I'm trying to get an iFolder3 client to run on ubuntu 10.04, no
success so far other than a graphic splash screen, error messages and
error logs.

Starting from no ~/.local/share/simias directory, running iFolder

BLAH:~$ ifolder
[: 14: unexpected operator

The simias directory contains:

BLAH:~/.local/share/simias$ ls -al
total 8205
drwxr-xr-x 1 ajft ajft 162 2010-06-08 11:41 ./
drwxr-xr-x 1 ajft ajft 386 2010-06-08 11:41 ../
-rw------- 1 ajft ajft 8388608 2010-06-08 11:41 FlaimSimias.01
-rw------- 1 ajft ajft 0 2010-06-08 11:41 FlaimSimias.lck
-rw-r--r-- 1 ajft ajft 73 2010-06-08 11:41 Simias.access.log
-rw-r--r-- 1 ajft ajft 11216 2010-06-08 11:41 Simias.log
-rwxr-xr-x 1 ajft ajft 1384 2010-06-08 11:41 Simias.log4net*
-rw-r--r-- 1 ajft ajft 67 2010-06-08 11:41 xspport.cfg

BLAH:~/.local/share/simias$ tail --follow Simias.log
Simias.CreateException: Failed to create Flaim DB. --->
Simias.SimiasException: Flaim error FERR_INVALID_PARM
FERR_INVALID_PARM
--- End of inner exception stack trace ---
at Simias.Storage.Provider.Flaim.FlaimProvider.CreateStore ()
[0x00000]
at Simias.Storage.Provider.Provider.Connect
(Simias.Storage.Provider.ProviderConfig conf, System.Boolean& created)
[0x00000]
at Simias.Storage.Store..ctor () [0x00000]
at Simias.Storage.Store.GetStore () [0x00000]
at Simias.Sync.SyncClient.Start () [0x00000]
at Simias.Service.ThreadServiceCtl.Start () [0x00000]
at Simias.Service.Manager.messageDispatcher (Simias.Service.Message
msg) [0x00000]
2010-06-08 11:41:17,553 [Simias Manager Start] INFO
Simias.Service.Manager - Services started.


BLAH:~$ mono --version
Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none

ps, anyone else noticed that mono says its available options include
"--verbose, -v" and "--version, -v".

On May 21, 10:07 pm, csights <csig...@fastmail.fm> wrote:
> Hi DocHofa,
>    I think that error "[: 14:unexpectedoperator" comes from some

x2b4

unread,
Jun 8, 2010, 6:44:48 AM6/8/10
to ifolder-ubun...@googlegroups.com
Le 08/06/2010 03:52, ajft a �crit :

> Does anyone know which of the shell scripts has the syntax error in
> it? Scripts written with bash syntax shouldn't be configured to run
> under sh.
>
> I'm trying to get an iFolder3 client to run on ubuntu 10.04, no
> success so far other than a graphic splash screen, error messages and
> error logs.
>
> Starting from no ~/.local/share/simias directory, running iFolder
>
> BLAH:~$ ifolder
> [: 14: unexpected operator
>

This errors come from either /usr/bin/simias or /usr/bin/ifolder
You can remove it removing the offending lines from the script (I think
they are made for OSX if I recall correctly).

But removing this error will correct the Flaim error I believe...

Good luck !

x2b4

csights

unread,
Jun 10, 2010, 12:42:53 AM6/10/10
to iFolder-Ubuntu-Debian-Android-dev
If you run each command in the /usr/bin/simias script by hand, the

[: 14: unexpected operator

message appears after running
mono /usr/lib/simias/web/bin/Simias.exe --runasclient $@

So maybe Simias.exe calls another script or maybe Simias.exe itself
emits this message.

It certainly appears to be a script error, so maybe Simias.exe calls
another script?

Sanjaya Yogi

unread,
Jun 10, 2010, 1:36:16 AM6/10/10
to ifolder-ubun...@googlegroups.com
Ravi is travelling for a month, I do not know if any of the other
Novell iFolder packager maintainers are watching these posting.

Any body know the answer to this question?

Sanjaya Yogi

ikus060

unread,
Jun 10, 2010, 8:53:09 PM6/10/10
to iFolder-Ubuntu-Debian-Android-dev
Hi sanjaya Yogi,

I suggest you to run ifolder with strace. It's should give you in
detail which process write "[: 14: unexpected operator" to console.

On my side I run "strace -f -o ifolder.trace ifolder"
It's produce a file name ifolder.trace.
My research lead me to the file /usr/lib/simias/web/bin/ifdata

On Jun 9, 9:36 pm, Sanjaya Yogi <sanjaya.y...@gmail.com> wrote:
> Ravi is travelling for a month, I do not know if any of the other
> Novell iFolder packager maintainers are watching these posting.
>
> Any body know the answer to this question?
>
> Sanjaya Yogi
>

ajft

unread,
Jun 16, 2010, 5:01:01 AM6/16/10
to iFolder-Ubuntu-Debian-Android-dev
/usr/lib/simias/web/bin/ifdata is the culprit, a BASH syntax script
invoking /bin/sh

*** ifdata 2010-06-16 14:56:08.497708565 +1000
--- ifdata.orig 2010-06-16 14:55:28.321708892 +1000
***************
*** 9 ****
! if [ x$ostype = xdarwin ]
--- 9 ----
! if [ "$ostype" == "darwin" ]

Still doesn't help me after fixing the script though, Simias database
never gets created, nothing ever happens

2010-06-16 14:59:04,040 [Simias Manager Start] ERROR
Simias.Service.Manager - Failed to create Flaim DB.
Simias.CreateException: Failed to create Flaim DB. --->
Simias.SimiasException: Flaim error FERR_INVALID_PARM
FERR_INVALID_PARM
--- End of inner exception stack trace ---
at Simias.Storage.Provider.Flaim.FlaimProvider.CreateStore ()
[0x00000] in <filename unknown>:0
at Simias.Storage.Provider.Provider.Connect
(Simias.Storage.Provider.ProviderConfig conf, System.Boolean& created)
[0x00000] in <filename unknown>:0
at Simias.Storage.Store..ctor () [0x00000] in <filename unknown>:0
at Simias.Storage.Store.GetStore () [0x00000] in <filename unknown>:
0
at Simias.Sync.SyncClient.Start () [0x00000] in <filename unknown>:
0
at Simias.Service.ThreadServiceCtl.Start () [0x00000] in <filename
unknown>:0
at Simias.Service.Manager.messageDispatcher (Simias.Service.Message
msg) [0x00000] in <filename unknown>:0
2010-06-16 14:59:04,042 [Simias Manager Start] INFO
Simias.Service.Manager - Services started.

csights

unread,
Jun 17, 2010, 2:19:30 AM6/17/10
to iFolder-Ubuntu-Debian-Android-dev
Thanks!
I've patched the "source deb" and submitted it to Novell
https://bugzilla.novell.com/show_bug.cgi?id=614964

As for the Flaim DB error, maybe you could try running 'ifolder' under
with strace and see what files it is attempting to access when the
error occurs?

ikus060 says it can be done like this:
>On my side I run "strace -f -o ifolder.trace ifolder"
>It's produce a file name ifolder.trace.


C.

Johnny Jacob

unread,
Jun 24, 2010, 12:01:04 PM6/24/10
to ifolder-ubun...@googlegroups.com
On Thu, Jun 17, 2010 at 7:49 AM, csights <csi...@fastmail.fm> wrote:
Thanks!
 I've patched the "source deb" and submitted it to Novell
https://bugzilla.novell.com/show_bug.cgi?id=614964


Patch committed to simias trunk - 7398.
--
[johnnyjacob.org] "May you share freely, never taking more than you give "

Johnny Jacob

unread,
Jun 24, 2010, 12:01:45 PM6/24/10
to ifolder-ubun...@googlegroups.com
On Thu, Jun 17, 2010 at 7:49 AM, csights <csi...@fastmail.fm> wrote:
Thanks!
 I've patched the "source deb" and submitted it to Novell
https://bugzilla.novell.com/show_bug.cgi?id=614964

 
Patch committed to simias trunk - 7398. Thanks.

Donty

unread,
Jun 25, 2010, 2:45:10 PM6/25/10
to iFolder-Ubuntu-Debian-Android-dev
Hi All

Using the debs posted by Sanjaya I get the:

[Simias Manager Start] ERROR Simias.Service.Manager - Failed to create
Flaim DB.
Simias.CreateException: Failed to create Flaim DB. --->
Simias.SimiasException: Flaim error FERR_IO_ACCESS_DENIED
FERR_IO_ACCESS_DENIED

Also seeing:

[Simias Manager Start] ERROR Simias.Service.Manager - Exception has
been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> Simias.CreateException: Failed to
create Flaim DB. ---> Simias.SimiasException: Flaim error
FERR_FILE_EXISTS FERR_FILE_EXISTS


It is a recent clean install on Lucid but I had to manually install
the flaim-dev and 4.1 as they didnt seem to load from the ifolder
client deb install.

Any ideas about this? Seems to be a common error but no solutions
offered that I have found have dealt with it yet.

Killing processes, deleting the ./local/share/simias dir and
restarting ifolder client didnt help. There appear to be all
FlaimSimias.db Simias.access.log Simias.log Simias.log4net
xspport.cfg files created (though FlaimSimias.db is zero length).

Target server is a current opensuse install that works fine over the
web and with Win32 client and is fine over the web from lucid.

Would be good to drop dropbox and reduce the file store fees for us.

Happy to test an install.

K

On Jun 17, 3:19 am, csights <csig...@fastmail.fm> wrote:
> Thanks!
>   I've patched the "source deb" and submitted it to Novellhttps://bugzilla.novell.com/show_bug.cgi?id=614964
>
> As for theFlaimDBerror, maybe you could try running 'ifolder' under

Donty

unread,
Jun 25, 2010, 2:54:45 PM6/25/10
to iFolder-Ubuntu-Debian-Android-dev
Sanjaya, using your deb install for lucid 32bit, if I run ifolder as
sudo then ifolder starts but not as my local user account. That seems
to be the issue around the cannot create the the db and errors posted
earlier.

Must be something to do with perms in the system area not allowing
execution I presume. Is this normal or am I just lucky! ;-)

Donty

csights

unread,
Jun 26, 2010, 3:44:48 PM6/26/10
to iFolder-Ubuntu-Debian-Android-dev
Hi Donty,
The FLAIM error is often reported on this group. Did you also try
the "source deb"?
https://help.ubuntu.com/community/iFolderInstall

If you could run ifolder with strace and post the log here it might
help us figure out what is going on.

Run "strace -f -o ifolder.trace ifolder"
It will produce a file name ifolder.trace. Copy and paste that here.

Thanks!
C.

Kevin

unread,
Jun 27, 2010, 1:34:28 PM6/27/10
to ifolder-ubun...@googlegroups.com
Hi,

Tried the source before but saw so many dependencies to faff with when I saw the deb binary I lept at it ;-)

Thanks, it results in about 3MB whilst the startup goes on. Shall I post the first 100 lines or so or do you want the file sent to you?

Cheers

Donty

csights

unread,
Jun 27, 2010, 11:25:46 PM6/27/10
to iFolder-Ubuntu-Debian-Android-dev
> Thanks, it results in about 3MB whilst the startup goes on. Shall I post the first 100 lines or so or do you want the file sent to you?

Could you upload that file to the "files" section? If that doesn't
work, try posting the last 100 lines. Hopefully the error will be
visible.... Don't get your hopes up! :)

Also, is this error from the prebuilt binary or the "source deb"?

Thanks!
C.

Kevin

unread,
Jun 28, 2010, 7:53:07 AM6/28/10
to ifolder-ubun...@googlegroups.com
Thanks, will do.

This is for the binary not the source, wanted to leave this one in place for more testing if it helps find a problem before moving off to the source. I always have hope ;-)

----- Original Message -----
From: "csights" <csi...@fastmail.fm>
To: "iFolder-Ubuntu-Debian-Android-dev" <ifolder-ubun...@googlegroups.com>
Sent: Monday, 28 June, 2010 12:25:46 AM
Subject: Re: {iFolder-Ubuntu-Debian-Android-dev} Re: call for testers: build/install/run iFolder Client GUI from "source deb"

Kevin

unread,
Jun 28, 2010, 7:54:45 AM6/28/10
to ifolder-ubun...@googlegroups.com
ifolder.trace.zip in files.

----- Original Message -----
From: "csights" <csi...@fastmail.fm>
To: "iFolder-Ubuntu-Debian-Android-dev" <ifolder-ubun...@googlegroups.com>
Sent: Monday, 28 June, 2010 12:25:46 AM
Subject: Re: {iFolder-Ubuntu-Debian-Android-dev} Re: call for testers: build/install/run iFolder Client GUI from "source deb"

csights

unread,
Jun 30, 2010, 3:15:01 PM6/30/10
to iFolder-Ubuntu-Debian-Android-dev
I see ifolder.trace.zip in the files section, but I can't download
it. I get "The page you navigated to does not exist." Could you
send it to csights fastmail fm ?

On Jun 28, 3:54 am, Kevin <dont...@googlemail.com> wrote:
> ifolder.trace.zip in files.
Reply all
Reply to author
Forward
0 new messages