Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/export: League\Flysystem\FileExistsException #29

Open
Amgine0 opened this issue Feb 21, 2018 · 2 comments
Open

tools/export: League\Flysystem\FileExistsException #29

Amgine0 opened this issue Feb 21, 2018 · 2 comments

Comments

@Amgine0
Copy link

Amgine0 commented Feb 21, 2018

In Filesystem.php line 402:
                                                  
  [League\Flysystem\FileExistsException]          
  File already exists at path: places/flags/.png  
                                                  

Exception trace:
 League\Flysystem\Filesystem->assertAbsent() at /Volumes/Seagate_HFS/Amgine/ownCloud/Code/webtrees/geodata2/vendor/league/flysystem/src/Filesystem.php:66
 League\Flysystem\Filesystem->write() at /Volumes/Seagate_HFS/Amgine/ownCloud/Code/webtrees/geodata2/src/ExportCommand.php:146
 Webtrees\Geodata\ExportCommand->exportData() at /Volumes/Seagate_HFS/Amgine/ownCloud/Code/webtrees/geodata2/src/ExportCommand.php:68
 Webtrees\Geodata\ExportCommand->execute() at /Volumes/Seagate_HFS/Amgine/ownCloud/Code/webtrees/geodata2/vendor/symfony/console/Command/Command.php:252
 Symfony\Component\Console\Command\Command->run() at /Volumes/Seagate_HFS/Amgine/ownCloud/Code/webtrees/geodata2/vendor/symfony/console/Application.php:865
 Symfony\Component\Console\Application->doRunCommand() at /Volumes/Seagate_HFS/Amgine/ownCloud/Code/webtrees/geodata2/vendor/symfony/console/Application.php:241
 Symfony\Component\Console\Application->doRun() at /Volumes/Seagate_HFS/Amgine/ownCloud/Code/webtrees/geodata2/vendor/symfony/console/Application.php:143
 Symfony\Component\Console\Application->run() at /Volumes/Seagate_HFS/Amgine/ownCloud/Code/webtrees/geodata2/tools/export:13

export [--language LANGUAGE] [--prefix [PREFIX]]

Exporting after adding flags and places for Norway/Østfeldt/[all municipalities]/[some villages] using tools/wiki-place and tools/wiki-flag.

@fisharebest
Copy link
Member

File already exists at path: places/flags/.png

Empty filename?

Does the flag's placename exist as a feature in the parent data.geojson file?

@Amgine0
Copy link
Author

Amgine0 commented Feb 21, 2018

These three issues were all from a single run of export. The immediately previous output was a PHP Notice for undefined index for Våler, which does have a placename as a feature in the parent data.geojson, and Våler's data.geojson has a placename feature for Kirkebygden (which does not yet have a flag/coat of arms)

But I have a suspicion: would the Scilly Isles .svg happen to have an embedded png in it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants