Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

UWC exception: RemoteException: No such user with username

Kunal Khanna June 1, 2016

Environment:

  • UWC revision: 110067b2d3d3 (Dec 24, 2014)
  • media-wiki version: 1.21.1
  • Confluence Version: 5.9.8,
  • UDMF plugin version: 1.1

 

Settings:

  • converter.mediawiki.properties:
Mediawiki.0004.userdate.class=com.atlassian.uwc.converters.mediawiki.UserDateConverter
Mediawiki.0004.users-must-exist.property=false
  • exporter.mediawiki.properties:
history=true
history-suffix=-#.txt
## {user:foobar}
## {timestamp:yyyymmddhhmmss}
udmf=true

 

Error observed:

2016-06-01 16:11:38,532 ERROR [main] - REMOTE_API_ERROR: Problem setting creator or last modifier data.

org.apache.xmlrpc.XmlRpcException: java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: No such user with username [bot]

    at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:104)

    at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:71)

    at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)

    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)

    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)

    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)

    at biz.artemis.confluence.xmlrpcwrapper.RemoteWikiBroker.setLastModifier(RemoteWikiBroker.java:1868)

    at com.atlassian.uwc.ui.ConverterEngine.sendAuthor(ConverterEngine.java:2239)

    at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:2039)

    at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:1719)

    at com.atlassian.uwc.ui.ConverterEngine.writePages(ConverterEngine.java:1356)

    at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:421)

    at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:215)

    at com.atlassian.uwc.ui.UWCCommandLineInterface.convert(UWCCommandLineInterface.java:175)

    at com.atlassian.uwc.ui.UWCCommandLineInterface.main(UWCCommandLineInterface.java:55)

2016-06-01 16:11:44,994 ERROR [main] - REMOTE_API_ERROR: Problem setting creator or last modifier data.

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2016

You're trying to import data for a user who you have not created.  The error in your log below tells you which one - create that user and try again.

com.atlassian.confluence.rpc.RemoteException: No such user with username [bot]

Kunal Khanna June 2, 2016

UWC provides a mechanism to import mediawiki pages into confluence whose usernames do not yet exist. This somehow does not seem to work from me and the exception is coming not from UWC but from Confluence.

Could it be that I need to do additional configuration in Confluence to allow page migration of non existent users. Or is this feature not supported in Confluence version I am using(5.9.8)?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events