[xwiki-users] Doc Viewer Macro
Hi, I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use. Is this macro ready for use in 2.0? Thanks hel. ----- semantic-web.hel.at [email protected] -- View this message in context: http://n2.nabble.com/Doc-Viewer-Macro-tp3753919p3753919.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello Hel, There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated. If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved. Thanks, Jerome. hel-o wrote:
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks hel.
----- semantic-web.hel.at [email protected]
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following 2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space Will also try on the main wiki. hel. Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote:
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks hel.
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected] -- View this message in context: http://n2.nabble.com/Doc-Viewer-Macro-tp3753919p3755757.html Sent from the XWiki- Users mailing list archive at Nabble.com.
On Oct 2, 2009, at 4:42 PM, hel-o wrote:
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following
2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space
Apparently you're missing PermGen. I have the feeling we have a pb with XE 2.0 in which we upgraded jython to the latest release. It's possible it's eating more permgen space than before. We need to investigate this. In the meantime you'll need to increase your permgen space: http://www.brokenbuild.com/blog/2006/08/04/java-jvm-gc-permgen-and-memory-op... Are you using XE 2.0? Thanks -Vincent
Will also try on the main wiki.
hel.
Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote:
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks hel.
hel-o wrote:
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following
Right. Wiki macros can only be added in the main wiki as of version 2.0, and are available in all wikis. We plan to implement local wiki macros - isolated from one wiki to another, with the possibility to have "global" macros visible from all wikis -, in version 2.0.1 AFAIK (Vincent, can you confirm ?) Jerome.
2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space
Will also try on the main wiki.
hel.
Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote:
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks hel.
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
Yes, im using XE 2.0. Tried import on the main wiki. There it worked, tried to import again as Admin in virtual wiki now it works here to. Rights problem? I don't know. Thanks hel. vmassol wrote:
On Oct 2, 2009, at 4:42 PM, hel-o wrote:
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following
2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space
Apparently you're missing PermGen.
I have the feeling we have a pb with XE 2.0 in which we upgraded jython to the latest release. It's possible it's eating more permgen space than before. We need to investigate this.
In the meantime you'll need to increase your permgen space: http://www.brokenbuild.com/blog/2006/08/04/java-jvm-gc-permgen-and-memory-op...
Are you using XE 2.0?
Thanks -Vincent
Will also try on the main wiki.
hel.
Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote:
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks hel.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected] -- View this message in context: http://n2.nabble.com/Doc-Viewer-Macro-tp3753919p3755829.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, one usage question. macro is working. I'm trying to show an attached pdf in the macro. What is the correct url vor that? http://domain/bin/view/space/page/heuristik.pdf does not work Thanks hel. Jerome Velociter-2 wrote:
hel-o wrote:
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following
Right. Wiki macros can only be added in the main wiki as of version 2.0, and are available in all wikis. We plan to implement local wiki macros - isolated from one wiki to another, with the possibility to have "global" macros visible from all wikis -, in version 2.0.1 AFAIK (Vincent, can you confirm ?)
Jerome.
2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space
Will also try on the main wiki.
hel.
Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote:
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks hel.
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected] -- View this message in context: http://n2.nabble.com/Doc-Viewer-Macro-tp3753919p3760420.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, hel-o wrote:
Hi,
one usage question.
macro is working. I'm trying to show an attached pdf in the macro. What is the correct url vor that?
http://domain/bin/view/space/page/heuristik.pdf does not work
It would be http://domain/bin/download/space/page/heuristik.pdf Of course for this to work, the pdf has to be viewable from the outsied (i.e. google) withouth the need to login on the wiki. In a future version, I might add support for wiki-style reference, like "attach:heuristik.pdf" or "attach:[email protected]". Hope this helps, Jerome PS: Please, don't hesitate to improve the macro documentation with in-wiki document this usage.
Thanks hel.
Jerome Velociter-2 wrote:
hel-o wrote:
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following Right. Wiki macros can only be added in the main wiki as of version 2.0, and are available in all wikis. We plan to implement local wiki macros - isolated from one wiki to another, with the possibility to have "global" macros visible from all wikis -, in version 2.0.1 AFAIK (Vincent, can you confirm ?)
Jerome.
2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space
Will also try on the main wiki.
hel.
Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote:
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks hel.
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
Also tried that. Not working too. http://semantic-web.hel.at/bin/view/Glossary/Heuristik hel. Jerome Velociter-2 wrote:
Hi,
hel-o wrote:
Hi,
one usage question.
macro is working. I'm trying to show an attached pdf in the macro. What is the correct url vor that?
http://domain/bin/view/space/page/heuristik.pdf does not work
It would be http://domain/bin/download/space/page/heuristik.pdf
Of course for this to work, the pdf has to be viewable from the outsied (i.e. google) withouth the need to login on the wiki.
In a future version, I might add support for wiki-style reference, like "attach:heuristik.pdf" or "attach:[email protected]".
Hope this helps, Jerome
PS: Please, don't hesitate to improve the macro documentation with in-wiki document this usage.
Thanks hel.
Jerome Velociter-2 wrote:
hel-o wrote:
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following Right. Wiki macros can only be added in the main wiki as of version 2.0, and are available in all wikis. We plan to implement local wiki macros - isolated from one wiki to another, with the possibility to have "global" macros visible from all wikis -, in version 2.0.1 AFAIK (Vincent, can you confirm ?)
Jerome.
2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space
Will also try on the main wiki.
hel.
Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote:
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks hel.
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected] -- View this message in context: http://n2.nabble.com/Doc-Viewer-Macro-tp3753919p3763508.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Strange... works good when hitting the URL manually (i.e. I can download and read the PDF.) Do you confirm the macro works for PDF externals to the site ? Maybe we have to look at generated headers to see why google wouldn't take PDF from XWiki attachments. Jerome. hel-o wrote:
Also tried that. Not working too.
http://semantic-web.hel.at/bin/view/Glossary/Heuristik
hel.
Jerome Velociter-2 wrote:
Hi,
hel-o wrote:
Hi,
one usage question.
macro is working. I'm trying to show an attached pdf in the macro. What is the correct url vor that?
http://domain/bin/view/space/page/heuristik.pdf does not work It would be http://domain/bin/download/space/page/heuristik.pdf
Of course for this to work, the pdf has to be viewable from the outsied (i.e. google) withouth the need to login on the wiki.
In a future version, I might add support for wiki-style reference, like "attach:heuristik.pdf" or "attach:[email protected]".
Hope this helps, Jerome
PS: Please, don't hesitate to improve the macro documentation with in-wiki document this usage.
Thanks hel.
Jerome Velociter-2 wrote:
hel-o wrote:
I imported it on a virtual Wiki the Macro is not available and when i try to view the DocViewerMacro Page i get the following Right. Wiki macros can only be added in the main wiki as of version 2.0, and are available in all wikis. We plan to implement local wiki macros - isolated from one wiki to another, with the possibility to have "global" macros visible from all wikis -, in version 2.0.1 AFAIK (Vincent, can you confirm ?)
Jerome.
2009-10-02 16:31:34,152 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN doc.XWikiDocument - Failed to displ\ ay field [description] in [view] mode for Object [XWiki.DocViewerMacro] 2009-10-02 16:31:43,891 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] ERROR internal.DefaultVelocityEngine - Exception in ma\ cro #template at /templates/view.vm[line 19, column 5] 2009-10-02 16:31:47,774 [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro] [http://semantic-web.hel.at/bin/view/XWiki/DocViewerMacro?null] WARN web.XWikiAction - Uncaught except\ ion: Error number 0 in 11: Uncaught exception Wrapped Exception: PermGen space
Will also try on the main wiki.
hel.
Jerome Velociter-2 wrote:
Hello Hel,
There is nothing more to do. I've just tested on a XE 2.0, it works straight after import. You should find the macro in the WYSIWYG macro dialog. You can also visit XWiki.DocViewerMacro document : its usage is illustrated.
If you think the installations instructions are still not clear, please let us know what would have helped you, and how they could be improved.
Thanks, Jerome.
hel-o wrote: > Hi, > > I'd like to use this macro. I imported the xar but couldn't find any > other > instructions for installation or use. > > Is this macro ready for use in 2.0? > > Thanks > hel. > > > ----- > semantic-web.hel.at > [email protected] > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
----- semantic-web.hel.at [email protected]
Hi, Jerome Velociter-2 wrote:
Do you confirm the macro works for PDF externals to the site ?
No, doesn't work either. Also tried now on the main wiki -> same thing. Is there a size restriction? or do i need a google account? or do i miss something else? Thanks hel. ----- semantic-web.hel.at [email protected] -- View this message in context: http://n2.nabble.com/Doc-Viewer-Macro-tp3753919p3800537.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (3)
-
hel-o -
Jerome Velociter -
Vincent Massol