Skip to content

No title segments set #129

@ghost

Description

Hello,

Trying to run migrate-confluence analyze --src confluence/input/ --dest confluence/workspace/ -vvv on an export, and the following Exception is thrown:

In TitleBuilder.php line 154:

[HalloWelt\MediaWiki\Lib\Migration\InvalidTitleException]
No title segments set

Exception trace:
HalloWelt\MediaWiki\Lib\Migration\TitleBuilder->build() at phar:///usr/local/bin/migrate-confluence/src/Analyzer/ConfluenceAnalyzer.php:784
HalloWelt\MigrateConfluence\Analyzer\ConfluenceAnalyzer->makeMWUserName() at phar:///usr/local/bin/migrate-confluence/src/Analyzer/ConfluenceAnalyzer.php:745
HalloWelt\MigrateConfluence\Analyzer\ConfluenceAnalyzer->userMap() at phar:///usr/local/bin/migrate-confluence/src/Analyzer/ConfluenceAnalyzer.php:187
HalloWelt\MigrateConfluence\Analyzer\ConfluenceAnalyzer->doAnalyze() at phar:///usr/local/bin/migrate-confluence/vendor/hallowelt/mediawiki-lib-migration/src/AnalyzerBase.php:63
HalloWelt\MediaWiki\Lib\Migration\AnalyzerBase->analyze() at phar:///usr/local/bin/migrate-confluence/src/Analyzer/ConfluenceAnalyzer.php:159
HalloWelt\MigrateConfluence\Analyzer\ConfluenceAnalyzer->analyze() at phar:///usr/local/bin/migrate-confluence/vendor/hallowelt/mediawiki-lib-migration/src/Command/Analyze.php:59
HalloWelt\MediaWiki\Lib\Migration\Command\Analyze->doProcessFile() at phar:///usr/local/bin/migrate-confluence/src/Command/Analyze.php:47
HalloWelt\MigrateConfluence\Command\Analyze->doProcessFile() at phar:///usr/local/bin/migrate-confluence/vendor/hallowelt/mediawiki-lib-migration/src/CliCommandBase.php:88
HalloWelt\MediaWiki\Lib\Migration\CliCommandBase->processFile() at phar:///usr/local/bin/migrate-confluence/vendor/hallowelt/mediawiki-lib-commandline-tools/src/Commands/BatchFileProcessorBase.php:127
HalloWelt\MediaWiki\Lib\CommandLineTools\Commands\BatchFileProcessorBase->processFiles() at phar:///usr/local/bin/migrate-confluence/vendor/hallowelt/mediawiki-lib-migration/src/CliCommandBase.php:44
HalloWelt\MediaWiki\Lib\Migration\CliCommandBase->processFiles() at phar:///usr/local/bin/migrate-confluence/vendor/hallowelt/mediawiki-lib-commandline-tools/src/Commands/BatchFileProcessorBase.php:84
HalloWelt\MediaWiki\Lib\CommandLineTools\Commands\BatchFileProcessorBase->execute() at phar:///usr/local/bin/migrate-confluence/vendor/symfony/console/Command/Command.php:252
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/migrate-confluence/vendor/symfony/console/Application.php:946
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/migrate-confluence/vendor/symfony/console/Application.php:248
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/migrate-confluence/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/migrate-confluence/bin/migrate-confluence:37
require() at /usr/local/bin/migrate-confluence:14

I'm assuming something within the exported xml is missing, I'm just not sure what to look for.

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions