Announcement

Collapse
No announcement yet.

Problems with open-xchange-gui

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest started a topic Problems with open-xchange-gui

    Problems with open-xchange-gui

    There is a small misstype in build.xml (cvs version 6.0.1) on line 75:
    <file name="livegrid.css[spacechar]"/>

    Space char should be removed.


    I use saxon8.jar from saxon8-9j, but compilation fails...


    (ox)root@gw:/packages/open-xchange-gui# ant -Dlib.dir=/packages/open-xchange-lib/
    Buildfile: build.xml

    css:
    [xslt] Processing /packages/open-xchange-gui/style.xml to /packages/open-xchange-gui/build/border.css
    [xslt] Loading stylesheet /packages/open-xchange-gui/css.xsl

    html:

    build page:
    [xslt] Processing /packages/open-xchange-gui/html/index.xml to /packages/open-xchange-gui/index.html
    [xslt] Loading stylesheet /packages/open-xchange-gui/build.xsl
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 48: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#default'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 103: An attribute whose value must be a QName or whitespace-separated list of QNames had the value 'include misc border layout i18n'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 104: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 107: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#all'
    [xslt] : Error! Syntax error in 'element()'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 141: Error parsing XPath expression 'element()'.
    [xslt] : Error! Syntax error in 'attribute()'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 149: Error parsing XPath expression 'attribute()'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 156: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 162: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 169: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 196: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 201: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 219: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 227: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 260: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 276: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! Syntax error in 'concat( if (not($first)) then 'position:absolute;left:0;top:0;width:100%;height: 100%;' else '', if ($last) then @style else '')'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 339: Error parsing XPath expression 'concat( if (not($first)) then 'position:absolute;left:0;top:0;width:100%;height: 100%;' else '', if ($last) then @style else '')'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 339: Required attribute 'select' is missing.
    [xslt] : Error! Syntax error in 'if (@oxadding) then concat('padding: ', @oxadding, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 406: Error parsing XPath expression 'if (@oxadding) then concat('padding: ', @oxadding, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 406: Required attribute 'select' is missing.
    [xslt] : Error! Syntax error in 'if (@ox:border) then concat('border-width: ', @ox:border, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 407: Error parsing XPath expression 'if (@ox:border) then concat('border-width: ', @ox:border, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 407: Required attribute 'select' is missing.
    [xslt] : Error! Syntax error in 'if (@ox:margin) then concat('margin: ', @ox:margin, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 408: Error parsing XPath expression 'if (@ox:margin) then concat('margin: ', @ox:margin, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 408: Required attribute 'select' is missing.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 411: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 423: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Fatal Error! Could not compile stylesheet
    [xslt] Failed to process /packages/open-xchange-gui/html/index.xml

    BUILD FAILED
    /packages/open-xchange-gui/build.xml:89: The following error occurred while executing this line:
    /packages/open-xchange-gui/build.xml:45: Fatal error during transformation

    Total time: 5 seconds

  • Stefan Preuss
    replied
    Originally posted by oprocopio View Post
    I build the file with:

    Code:
    ant -lib /opt/open-xchange/lib/ deploy
    (maybe a error in the installinstructions?)

    now seems everything is ok.

    orlando
    No, the install instruction is OK. It seems like you already have any other XSLT jar/installation in your classpath which conflicts with the saxon package.
    Last edited by Stefan Preuss; 03-13-2007, 06:03 PM.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    I build the file with:

    Code:
    ant -lib /opt/open-xchange/lib/ deploy
    (maybe a error in the installinstructions?)

    now seems everything is ok.

    orlando

    Leave a comment:


  • Guest's Avatar
    Guest replied
    thank you for your answer.

    I have downloaded this file and copied saxon8.jar to /opt/open-xchange/lib.

    still the same error.

    I have also updated to ant 1.7

    do I forgot something??

    orlando

    Leave a comment:


  • Stefan Preuss
    replied
    Originally posted by oprocopio View Post
    I hope someone can also help me...

    when I compile the gui I recieve the following error-message

    Code:
    Buildfile: build.xml
    
    css:
         [xslt] Processing /root/ox/open-xchange-gui/style.xml to /root/ox/open-xchange-gui/build/border.css
         [xslt] Loading stylesheet /root/ox/open-xchange-gui/css.xsl
    
    BUILD FAILED
    /root/ox/open-xchange-gui/build.xml:57: javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
    I try to install OX on ubuntu 6.10

    thanks, orlando
    This problem has been already posted here
    http://www.open-xchange.com/forum/sh...?p=409#post409

    Leave a comment:


  • Guest's Avatar
    Guest replied
    I hope someone can also help me...

    when I compile the gui I recieve the following error-message

    Code:
    Buildfile: build.xml
    
    css:
         [xslt] Processing /root/ox/open-xchange-gui/style.xml to /root/ox/open-xchange-gui/build/border.css
         [xslt] Loading stylesheet /root/ox/open-xchange-gui/css.xsl
    
    BUILD FAILED
    /root/ox/open-xchange-gui/build.xml:57: javax.xml.transform.TransformerFactoryConfigurationError: Provider net.sf.saxon.TransformerFactoryImpl not found
    I try to install OX on ubuntu 6.10

    thanks, orlando

    Leave a comment:


  • Daniel Halbe
    replied
    Originally posted by lenda View Post
    @Daniel Halbe
    Just followed the Installation-Docs. Tested open-xchange on my privat computer and changed no USE-flags.
    But what about the USE-flags for cyrus, apache2, mysql, ...


    Daniel

    Leave a comment:


  • lenda
    replied
    @Daniel Halbe
    Just followed the Installation-Docs. Tested open-xchange on my privat computer and changed no USE-flags.
    I will check the installation on a fresh gentoo

    Ok... quick and dirty!!!

    -> /etc/conf.d/apache2: APACHE2_OPTS="... -D JK"
    -> /etc/apache2/jk-workers.properties: not changed
    -> /etc/apache2/modules.d/88_mod_jk.conf: added "jkMount /ajax/* ajp13" and "jkMount /servlet/* ajp13"
    -> /etc/imapd.conf: see Inst-Docs
    -> /etc/pam.d/imap: see Inst-Docs (just the two entrys...)

    compile open-xchange with the parameters in the Docs
    compile open-xchange-gui with -Dhtdoc=/var/www/localhost/htdocs/open-xchange (before compiling rename /usr/.../xalan.jar to something else, compile, rename it back to xalan.jar)

    start open-xchange-admin and open-xchange

    thats for me... but will check it on a fresh install...

    David

    Leave a comment:


  • Daniel Halbe
    replied
    @lenda

    Great!

    Please provide a short documentation what you installed, which USE-flags and so on. We have some experienced Gentoo guys here, too who will review it so we can create official documentation together with you

    Thanks
    Daniel

    Leave a comment:


  • lenda
    replied
    Hi

    on gentoo moved /usr/share/xalan/lib/xalan.jar away before compiling open-xchange-gui and it works.

    Installation is now complete and the gui works.

    David
    Last edited by lenda; 03-06-2007, 05:17 PM.

    Leave a comment:


  • Viktor Pracht
    replied
    Xalan is an XSLT processor which supports XSLT 1.0. The GUI requires XSLT 2.0 and uses Saxon to process it. The error was that Ant chooses the wrong XSLT processor when both are available in the classpath.

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Allmost there ... [SOLVED]

    Originally posted by tronn View Post
    On my system Centos 4.3 I have successfully compiled open-xchange and open-xchange-admin, set db only I need to do is compile the gui, but im not able to do that, im using ant ant-optional 1.5-2.5, the error msg is get is as follow

    Buildfile: build.xml

    BUILD FAILED
    file:/home/OX6/open-xchange-gui/build.xml:61: The <filelist> data type doesn't support the nested "file" element.

    Total time: 0 seconds

    Tronn
    I moved all the xalan files to another directory

    Downloaded the latest ant from ant.apache.org to /tmp
    extracted the files, tar zxvf ant-1.7.0.tar.gz
    mv apache-ant-1.7.0 ant [renamed the directory ]
    mv ant/ /usr/local/ [ moved the ant directory to /usr/local/ant ]
    export ANT_HOME=/usr/local/ant [ set the enviroment ]
    export PATH=$PATH:/usr/local/ant/bin [ set the new path to ant ]

    then I compiled the open-xchange-gui as described in the guide


    This worked for me, hope it could help others with the same problem


    Tronn

    PS Do I need the xalan files ?

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Originally posted by arcade View Post
    I found out the same problem under Fedora Core and solved it removing the xalan-j2 jars from the classpath (on Fedora just move the /usr/share/java/xalan-j2* files to somewhere else when you are compiling).

    Not sure about Gentoo, but it worked for me.
    That did it for me too, tnx .

    Now all we need to find out is whether Xalan is required to build this stuff normally (cause according to what I found on Google that means the build.xsl is faulty).

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Allmost there ...

    On my system Centos 4.3 I have successfully compiled open-xchange and open-xchange-admin, set db only I need to do is compile the gui, but im not able to do that, im using ant ant-optional 1.5-2.5, the error msg is get is as follow

    Buildfile: build.xml

    BUILD FAILED
    file:/home/OX6/open-xchange-gui/build.xml:61: The <filelist> data type doesn't support the nested "file" element.

    Total time: 0 seconds

    Tronn

    Leave a comment:


  • arcade
    replied
    Originally posted by RedNalie View Post
    Code:
    build page:
         [xslt] Processing /tmp/open-xchange-gui/html/index.xml to /tmp/open-xchange-gui/index.html
         [xslt] Loading stylesheet /tmp/open-xchange-gui/build.xsl
         [xslt] : Fatal Error! org.xml.sax.SAXException: Can not resolve namespace prefix: #all Cause: org.xml.sax.SAXException: Can not resolve namespace prefix: #all
         [xslt] Failed to process /tmp/open-xchange-gui/html/index.xml
    
    BUILD FAILED
    /tmp/open-xchange-gui/build.xml:89: The following error occurred while executing this line:
    /tmp/open-xchange-gui/build.xml:45: Fatal error during transformation
    
    Total time: 0 seconds
    The livegrid.css error seems to have returned, and another glitch has presented itself. I've installed all the ant-packages that I could find (this time under Gentoo), so I haven't got a clue where it relates to...
    I found out the same problem under Fedora Core and solved it removing the xalan-j2 jars from the classpath (on Fedora just move the /usr/share/java/xalan-j2* files to somewhere else when you are compiling).

    Not sure about Gentoo, but it worked for me.

    Leave a comment:

Working...
X