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
Hi again,
I wanted to create a space for making notes for myself about administrating
xwiki.
As admin, I created new space, and wanted to add a link to XWikiPreferences.
I clicked Edit, to edit the page.
I clicked Link, to add a link to another page.
I expanded XWiki, but did not find XWikiPreferences
I typed in XWikiPreferences (see screenshot), and it seemed to work fine -
it found its child pages too
I clicked select, and then I saw what you see in the screenshot - a
"DocumentDoesNotExist" returned and squashed into a small box.
what happened?
thanks
Paul
Hi!
Kindly ask you to solve some unclear topics:
I. How can I find information about such dependencies:
- How many server RAM memory is required for each 1GB of attachments?
- The same for CPU.
How to estimate this and calculate hardware? What are main principles?
II. Is it possible to customise WYSIWYG editor separetly for each space in one sub-XWiki ?
III. Is there any way to manage anchors from Links plugin in WYSIWYG editor?
The logic is:
- select space
- select page
- select anchor on this page
- put the link
For now, even if I write down XWiki.WebHome#anchor in the link field manually, I get #anchor cut out.
And the only way to do it via source code editor manually. Then it works fine. Personally me found more or less suitable solution with FF plugin https://addons.mozilla.org/ru/firefox/addon/416/
It's very easy to get anchor, but not so easy to put it. For unqualified users it makes XWiki "one-handed".
IV. Is there any way to make TOC macro to build table of contents of several pages and put it on one page?
For Example:
toc Page1, Page2, Page3 ....
It's very useful, when one can group all project highligts together in one TOC.
I used to use Track Wiki, it works excellent in there. I suffer from it's absence now :-)
Thank you
Dmitry Bakbardin
Hi,
I have an existing XWiki enterprise 1.3.1 running with a mysql backend
and storage version 7351. I would like to upgrade to XWiki enterprise
2.6, but I am running into problems.
- a xar export eats all ram, and the max heap is already the maximum
of my 32-bit linux (-Xmx2600m) . When I increase it the jvm fails to
start. The backup.xar stops at around 1.1GB, and then I gets
OutOfMemory execeptions all over the place.
- when I install 2.6 using the same mysql backend, the storage
migration throws a massive amoutn of errors, mostly due to "Exception
while saving object XWiki.XWikiUsers". This is migration
R15428XWIKI2977.
Is there a way to perform an offline migration, so I can debug where
needed, ot a way to perform an export and import in a clean database
offline?
Regards,
Leen