Hello, I downloaded separate country end try to seed it.
And that's what i got.
My commands was:
php artisan geo:seed --chunk=3000 IN --append
and
php -d memory_limit=8000M artisan geo:seed --chunk=1000 IN --append
filesize(): stat failed for /Users/user/some-path-to-project/storage/geo/IN.txt
at vendor/igaster/laravel_cities/src/commands/seedGeoFile.php:108
104|
105| public function readFile(string $fileName, string $country = null)
106| {
107| $this->info("Reading File '$fileName'");
> 108| $filesize = filesize($fileName);
109| $handle = fopen($fileName, 'r');
110| $count = 0;
111|
112| $progressBar = new ProgressBar($this->output, 100);
How can I fix it ?
Hello, I downloaded separate country end try to seed it.
And that's what i got.
My commands was:
php artisan geo:seed --chunk=3000 IN --appendand
php -d memory_limit=8000M artisan geo:seed --chunk=1000 IN --appendfilesize(): stat failed for /Users/user/some-path-to-project/storage/geo/IN.txt
at vendor/igaster/laravel_cities/src/commands/seedGeoFile.php:108
How can I fix it ?