Hi,
I had a look in the logs for something else and noticed this:
2010-12-08 16:29:50,190 [Lucene Index Updater] WARN
lucene.AttachmentData - error getting content of attachment
[cat2.jpg] for document [xwiki:XWiki.LightboxMacro]
org.apache.tika.exception.TikaException: Can't read JPEG metadata
at
org.apache.tika.parser.jpeg.JpegExtractor.parse(JpegExtractor.java:60)
at org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:55)
at
org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:132)
at
org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:99)
at org.apache.tika.Tika.parseToString(Tika.java:267)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:161)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:136)
at
com.xpn.xwiki.plugin.lucene.IndexData.getFullText(IndexData.java:190)
at
com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:146)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:65)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:296)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:237)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:171)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:153)
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.drew.metadata.MetadataException: Tag '9' cannot be cast to
int. It is of type 'class [I'.
at com.drew.metadata.Directory.getInt(Unknown Source)
at
com.drew.metadata.exif.CasioType2MakernoteDescriptor.getImageSizeDescription(Unknown
Source)
at
com.drew.metadata.exif.CasioType2MakernoteDescriptor.getDescription(Unknown
Source)
at com.drew.metadata.Directory.getDescription(Unknown Source)
at com.drew.metadata.Tag.getDescription(Unknown Source)
at
org.apache.tika.parser.jpeg.JpegExtractor.parse(JpegExtractor.java:54)
... 15 more
something to be fixed?
cheers
Paul
Hi!
Please, what how could I set XWiki to log Lucene messages at debug
level? Thanks!
Ricardo
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
How can I change Tomcat to use port 80 instead of 8180? I tried changing the
connector port in the xml file then restarted but with no avail..
Also is there a benefit from using Nginx to proxy into Tomcat? If so how
would one do that?
Thanks :)
- Eric
In case you guys didn't know the site is _crawling_ slow today. Almost like you guys are getting DDOS'd or something.
BTW thanks for your help Vincent.
Hi
I'd like to integrate the DisqUs javascript widget to an existing XWiki blog
section.
The site is www.parisjug.org. We deactivated the comment section
cause there's no captcha. Howerver I'd like to propose a solution
for our visitors, so one can comment easily our blogs posts.
DisqUs is an open solution that is based on a javascript widget.
Here is what I need to integrate in each page :
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'parisjug';
// Question pour XWiki : ici il faut que je configure un identifier
// c'est comme un sujet de Mail. Il faudrait que je mette par exemple
// l'url de la page XWiki afin que les commentaires soient regroupes
// ensemble par article. Bref est ce que vous pouvez me mettre un ID ?
// var disqus_identifier = 'unique_dynamic_id_1234';
// var disqus_url = 'http://example.com/permalink-to-page.html';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type =
'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a
href="http://disqus.com/?ref_noscript">comments powered by
Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered
by <span class="logo-disqus">Disqus</span></a>
I am a beginner at XWiki, so I don't know how to add this Javascript
section. Plus, it requires some sort of unique URL so that each comment
stream on DisqUs is attached to a page on XWiki
Does anybody tried already to integrate it with XWiki ?
Thanks for your help
Nicolas Martignole
Hi,
I'm looking to build a script that will delete all registered users from our XWiki
that did not complete the registration by replying to the email and look like SPAM registration (firstname = lastname)
The property of the object of XWiki.XWikiUsers -> active (of type boolean) is false
Now this is my first attempt to HQL and i need some help
#foreach($result in $xwiki.search("
select distinct doc.fullName,
prop.value
from XWikiDocument as doc,
BaseObject as obj,
StringProperty as prop,
BooleanProperty as acti
where obj.className='XWiki.XWikiUsers'
and obj.name=doc.fullName
and prop.id.id=obj.id
and prop.name='first_name'
and prop.value is not empty
and prop.value in (
select prop.value
from StringProperty as prop2
where prop2.id.id=obj.id
and prop2.name='last_name'
and prop2.value=prop.value)
and acti.id.id=obj.id
and acti.name='active'
and acti.value=false
"))
* $result.get(0) - $result.get(1)
#end
BooleanProperty is a wild guess of me looking at StringProperty as a example
The query should look for users where first-name = last-name and active is false
If possible I would like to check if the document creation date/time is more then 8 hours old
Gerritjan
Hello all.
I was wondering how one edits an FAQ entry after is been created? When on the FAQ.WebHome page (which contains all the FAQs I've created) how can I edit one of the existing FAQs to correct, for instance, a spelling error?
I see that you can click on Edit > Objects and choose the text of the FAQ. I would like the whole XWiki editing bar too.
Thanks!
Hello all.
1) Can we get the installer to run on 64-bit Windows?
2) Can we get the FAQ tutorial updated to reflect that
a) You need to be logged in with administrative privileges
b) What the default admin username/password are
Thanks
Hi all,
I want to change the primary space name from "Main" to "Public" to make it
clear to wiki users who is going to have access to the info in that space.
I've tried changing every mention of "Main" to "Public" in the WEB-INF
directory, restarting jetty and refreshing the webbrowser, and STILL it
redirects to "Main".
I've adjusted web.xml, portlet.xml, struts-config.xml, xwiki.cfg
is this hard-coded into XWiki?
thanks
Paul
Hi all,
Is there a date property I can use to automatically display the current date
on a page? I would do it in javascript but you can't embed <script> tags in
{{html}} so is there a way of doing it in velocity? I can't seem to find any
info on this.
Thanks,
Lockie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Display-current-date-on-page-tp5681412p56…
Sent from the XWiki- Users mailing list archive at Nabble.com.
According to this page http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial I should have an XWiki space on the default home page. It says I should be able to search for 'XWikiClasses' and find it in the XWiki space. I see neither the XWiki space under the "Spaces" heading nor do I get anything from the search result. Not sure if that tutorial is referencing some older version of the software or what.
I would like to use the wiki to create an online volunteer signup sheet for
jobs and commissions for a benefit music festival
(www.festivalatitlan.com). I
want to display tasks involved for each job/commission, and have a space
for my
users to sign up and enter their contact information, and to be able to see
who
else has signed up in that section (though not necessarily the contact
info).
My username is VioletaForegger, and the server name could be
VoluntariosFestivalAtitlan2011(.myxwiki.org)
Thanks
Violeta Foregger Velasquez
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web
Hi,
I use XWiki XEM 2.4.4 and when I add an annotation to a page, the include
macro (also present in the same page) displays :
"Failed to execute the [include] macro"
It seems to be the issue XSKINX-39 but it was fixed a long time ago.
Nothing in the xwiki or tomcat log.
Is there something to verify ?
Thank for your help.
Maxime
Hi all,
I've been looking for a wiki that simple MS Office users can use. XWord is
a brilliant idea and my friends jumped into it like ducks into a pond! The
familiarity of the MS Word really helped break down the barriers of learning
wikis.
However, I am totally confused about what version of XWord should be
installed.
On the one hand, there is this version that I assume is old:
http://xoffice.xwiki.org/xwiki/bin/view/XWord/
the links point to IP addresses rather than a host name!!
then there is two versions here:
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice
For "XOffice 1.2 M1", the link points to XWord 1.0
For "XOffice 1.1.1", the link points to XWord 1.1
so the "Latest" seems to give me an older version. I believe this is the
one that I installed, and we have found problems with uploading images from
XWord.
We are going to try the other version, but now I'd like to know: where is
version 1.2M1 ? Which one should I be using?
I checked the RoadMap, it looks a bit out of date. Is there anyone working
on XWord? This is a killer feature! I don't see any other wikis with this
sort of feature.
cheers
Paul
Hi again,
I wanted to protect my "Website Admin" from any non-admins,
So I edited the Rights to that space, and clicked the 'View' button on
'XWikiAllGroup' until it was a red cross.
Then I checked in the other webbrowser (logged in as a regular user), and
sure enough, I couldn't view the page.
However, I then went to this address:
http://domain.com/xwiki/edit/Website+Admin/
and the regular user was able to edit the page! which also includes a
'Preview' button, which shows them a View!
not good.
then it gets weirder, in a different way.
So far, as regular user, I've gone to Edit, then clicked Preview, and now I
clicked the back button, and I notice the status bar is going to my
redirect.com website...
I have set up my webserver (lighttpd), so that if anyone tries to go to
http://domain.com/ then it'll redirect to http://redirect.com - that way
noone can see the site until I am ready to make it live. The site currently
lives at http://domain.com/xwiki
So for some reason, going to Preview and back again has generated URLs that
are missing the xwiki part of the URL.
So anyway, I watch the page, and the usual Edit page reappears correctly,
but the CONTENT in the Edit window is wrong.
I am able to do this over and over again in Chrome, but not in Firefox.
If I go to Preview, then clear the Cache, and then hit the back button (on
browser, in Chrome), then I get a lot more rubbish in the Edit window:
<p><p>&lt;p&gt;&lt;!<del>startwikilink:false|-|doc|-|Timeline</del>&gt;&lt;span
class="wikilink"&gt;&lt;a
href="/xwiki/Website+Admin/Timeline"&gt;&lt;span
class="wikigeneratedlinkcontent"&gt;Timeline&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;!<del>stopwikilink</del>&gt;&lt;/p&gt;&lt;p&gt;&lt;br
class="spacer"&gt;&lt;/p&gt;&lt;p&gt;&lt;!<del>startwikilink:false|-|url|-|<!<del>startwikilink:false|-|url|-|<!
startwikilink:false|-|url|-|http://yahoo.com-\><span
class="wikiexternallink"><a class="wikimodel-freestanding" href="
http://yahoo.com-"><span class="wikigeneratedlinkcontent">http://yahoo.com-
</span></a></span><!stopwikilink>\-\</del>><span
class="wikiexternallink"><a class="wikimodel-freestanding" href="<!
startwikilink:false|-|url|-|http://yahoo.com-\-\><span
class="wikiexternallink"><a class="wikimodel-freestanding" href="
http://yahoo.com--"><span class="wikigeneratedlinkcontent">
http://yahoo.com--</span></a></span><!stopwikilink>"><span
class="wikigeneratedlinkcontent"><!startwikilink:false|-|url|-|
http://yahoo.com-\-\><span class="wikiexternallink"><a
class="wikimodel-freestanding" href="http://yahoo.com--"><span
class="wikigeneratedlinkcontent">http://yahoo.com--</span></a></span><!
stopwikilink></span></a></span><!<del>stopwikilink</del>>&gt;&lt;span
class="wikiexternallink"&gt;&lt;a
href="<!<del>startwikilink:false|-|url|-|<!startwikilink:false|-|url|-|
http://yahoo.com-\-\><span class="wikiexternallink"><a
class="wikimodel-freestanding" href="http://yahoo.com--"><span
class="wikigeneratedlinkcontent">http://yahoo.com--</span></a></span><!
stopwikilink>><span class="wikiexternallink"><a
class="wikimodel-freestanding" href="<!startwikilink:false|-|url|-|
http://yahoo.com--><span class="wikiexternallink"><a
class="wikimodel-freestanding" href="http://yahoo.com"><span
class="wikigeneratedlinkcontent">http://yahoo.com</span></a></span><!
stopwikilink>"><span class="wikigeneratedlinkcontent"><!
startwikilink:false|-|url|-|http://yahoo.com--><span
class="wikiexternallink"><a class="wikimodel-freestanding" href="
http://yahoo.com"><span class="wikigeneratedlinkcontent">http://yahoo.com
</span></a></span><!stopwikilink></span></a></span><!
Note the yahoo links, I have one yahoo.com link on that short page (its just
a test page at the moment).
The only unusual thing I can see in Chrome's developer tools is in the
Console, this error:
1. Uncaught TypeError: Cannot call method 'removeEventListener' of null
1. u1b6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:4711<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
2. Mmb6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:4770<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
3. Tmb6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:1101<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
4. a.contentWindow.onunload
6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:4965<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
5. qYb6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:5102<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
6. iG6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:4630<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
7. NG6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:3547<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
8. (anonymous function)
6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:3838<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
9. fq6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:4111<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
10. (anonymous function)
6CFB0256D9CA24B14DB51FFF0B45A9B5.cache.html:3566<http://www.ms-rap.com/xwiki/resources/js/xwiki/wysiwyg/xwe/6CFB0256D9CA24B1…>
Any ideas?
Oh, and: why is there .cache.html pages included in the static content? Why
isn't it using normal javascript file names?
thanks
Paul
ps are html emails to the list ok?
I am unable to complete the installation using either the Windows .exe or the jar file. I get to the unpacking step and the 'next arrow' doesn't do anything. I am running Windows 7 64-bit. I am running as administrator. In the command window I get:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
could not create shortcut instance
java.lang.Exception: error loading library
java.lang.Exception: can't locate library
at com.izforge.izpack.util.Librarian.loadArchSpecificLibrary(Unknown Sou
rce)
at com.izforge.izpack.util.Librarian.loadLibrary(Unknown Source)
at com.izforge.izpack.util.os.ShellLink.initialize(Unknown Source)
at com.izforge.izpack.util.os.ShellLink.<init>(Unknown Source)
at com.izforge.izpack.util.os.Win_Shortcut.initialize(Unknown Source)
at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)
at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown Sourc
e)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
ce)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
ce)
at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionP
erformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.NullPointerException
at com.izforge.izpack.util.os.Win_Shortcut.getProgramsFolder(Unknown Sou
rce)
at com.izforge.izpack.panels.ShortcutPanel.getProgramsFolder(Unknown Sou
rce)
at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)
at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown Sourc
e)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
ce)
at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
ce)
at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionP
erformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Hi,
I tried to follow the instructions here:
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
and the URLs look great, but I couldn't get the skins and logo to work.
The problem is this part of the instructions:
<servlet>
<servlet-name>defaultSkins</servlet-name>
<servlet-class>org.mortbay.jetty.servlet.Default</servlet-class>
<init-param>
<param-name>relativeResourceBase</param-name>
<param-value>skins</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>defaultSkins</servlet-name>
<url-pattern>/skins/*</url-pattern>
</servlet-mapping>
This is totally wrong for me. I'm using xwiki + Jetty + lighttpd on Debian
stable/testing.
The correct entry into web.xml is to add:
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/resources/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>/skins/*</url-pattern>
</servlet-mapping>
in addition to:
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
It would also help if someone wrote WHERE to put these things in the web.xml
file. I guessed, and it appears to work.
thanks,
Paul
Hi,
I use latest XWiki with Tomcat 5 and MySQL 5. When I create page with
slash, like "test/test", nothing happens -- I got a blank browser
page. Maybe I forgot to add some options to Xwiki or Tomcat? Thanks in
advance.
Hi again,
I would like to get this working:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Timeline
I've looked through the documentation and can't figure out what I'm supposed
to do with all that # code...
Is there something obvious I'm missing?
* I've added the javascript line to the bottom of the HTTP Meta info (which,
by the way - i only want to do on the page that has the timeline!),
* i've copy-pasted that code onto a page, but all i see is the code... no
timeline
thanks
Paul
Still more problems,
I just created a new space (called "space to delete" - i'm trying to figure
out how to delete a space, is it enough to just delete all of the content?
do i need to delete something else to clear the Rights settings for the
space out of the database?)
Then, first problem, I noticed on the "Recent Changes" section of the front
page that the space was created 6 hours ago. Is this a UTC/GMT thing? But
that doesn't make any sense either, because local time is 2pm, UTC is
earlier at 6am.
So I went across to check Timeline, and it gave me the "v1 is null" error
again.
I watched in Firebug and identified that point of failure, see attached
screenshots.
In short, it checks typeof v1 == "object" before it calls n1=v1.getTime()
HOWEVER, when v1 is null, v1 is also an object! So this test is invalid.
Yes, this is a fault with the timeline javascript, however why is there null
date/times being passed to the javascript in the first place?
thanks
Paul
Hi all,
I just reset my forgotten password on my xwiki. I clicked on Forgot
Password, entered the username (why are usernames case sensitive? this is
not the norm, can it be changed?). Clicked the reset button and this
message appeared in my webbrowser:
An e-mail was sent to <tt>my(a)email.address</tt>. Please follow the
instructions in that e-mail to complete the password reset procedure.
whats with the <tt> ?
cheers
Paul
Hi again,
I'm investigating the problem with Publishing via XWord (with images), and
it appears to be a problem with XWiki rather than XWord
* Edit Sandbox Test Page1 in XWord
* Clear entire document with ctrl-a, delete
* Insert an image
* Click Publish
I hacked XWord a bit so I could see what it was doing.
in XWikiXMLRPCClient.cs around line 220 in method SavePageHTML(), it does
this:
page.content = proxy.Convert(token, page.content, "xhtml/1.0", syntax);
lets break it down...
proxy.Convert calls:
/// <summary>
/// Converts a wiki source from a syntax to another syntax.
/// </summary>
/// <param name="token">The authentication token.</param>
/// <param name="source">The content to be converted.</param>
/// <param name="initialSyntaxId">The initial syntax of the
source.</param>
/// <param name="targetSyntaxId">The final syntax of the returned
content.</param>
/// <returns>The converted source.</returns>
[XmlRpcMethod("confluence1.convert")]
String Convert(String token, String source, String initialSyntaxId,
String targetSyntaxId);
Looking on the webserver logs, I see a call to xmlrpc
I hacked XWord a little so it told me what page.content originally was...
this is what was sent to xmlrpc
<div class="WordSection1">
<p>
<span>
<!--startimage:image001.png-->
<img width="236" height="158" src="image001.png" alt="demo_image.png"
/>
<!--stopimage-->
</span>
</p>
</div>
so thats very simple. I've checked with another document that just contains
text, and what proxy.Convert() will return is the wiki-code equivalent of
the HTML that it was given.
HOWEVER, with this as the input, the xmlrpc call NEVER returns - the dialog
box stays stuck, and I know it never returns as i asked a messagebox to
appear after the call, which never appears.
Checking the website logs reveals a boat load of errors, I've attached them
in a text file.
I can't see how XWord could do things better... its asking the xwiki for the
correct syntax, and its passing valid html.
ideas?
Thanks,
Paul
Hi, I have been trying to setup my eclipse to develop an exception, as shown
here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents .
However right after importing the project, when I try to run the =mvn
install= command I get this error:
vito@vitox:~/workspace/routes-wiki-1.x/RoutesAccessPoint$ mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building XWiki Macro - Hello World Component
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
Downloading:
http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-component-defau…
[INFO] Unable to find resource
'org.xwiki.platform:xwiki-core-component-default:pom:2.5' in repository
central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-script/2.5/xwik…
[INFO] Unable to find resource
'org.xwiki.platform:xwiki-core-script:pom:2.5' in repository central
(http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-shared-tests/2.…
[INFO] Unable to find resource
'org.xwiki.platform:xwiki-core-shared-tests:pom:2.5' in repository central
(http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-component-defau…
[INFO] Unable to find resource
'org.xwiki.platform:xwiki-core-component-default:jar:2.5' in repository
central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/xwiki/platform/xwiki-core-script/2.5/xwik…
[INFO] Unable to find resource
'org.xwiki.platform:xwiki-core-script:jar:2.5' in repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.xwiki.platform:xwiki-core-component-default:jar:2.5
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-component-default -Dversion=2.5 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-component-default -Dversion=2.5 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) ch.olsen.routes.wiki:RoutesAccessPoint:jar:1.0-SNAPSHOT
2) org.xwiki.platform:xwiki-core-component-default:jar:2.5
2) org.xwiki.platform:xwiki-core-script:jar:2.5
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-script -Dversion=2.5 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.xwiki.platform
-DartifactId=xwiki-core-script -Dversion=2.5 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) ch.olsen.routes.wiki:RoutesAccessPoint:jar:1.0-SNAPSHOT
2) org.xwiki.platform:xwiki-core-script:jar:2.5
----------
2 required artifacts are missing.
for artifact:
ch.olsen.routes.wiki:RoutesAccessPoint:jar:1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Dec 08 17:18:11 CET 2010
[INFO] Final Memory: 14M/103M
[INFO]
------------------------------------------------------------------------
Am I missing something?
do I perhaps have to install the whole xwiki source code base first? how?
thanks
Vito
--
View this message in context: http://xwiki.475771.n2.nabble.com/help-in-setup-component-development-tp581…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there,
Hasn't anyone else noticed that the option
# rendering.imageDimensionsIncludedInImageURL = true
completely breaks all transparent png files?
see attached image file, try adding it to an xwiki sandbox page.
the image will appear to have a BLACK background rather than a transparent
background, if the "imageDimensionsIncludedInImageURL" is turned on.
AND if you turn OFF that option, the background will still be black in the
"Insert or edit image" dialog box when editing the page.
does anyone else see this?
thanks
Paul