eveseat / seat

🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager
https://eveseat.github.io/docs/
GNU General Public License v2.0
430 stars 143 forks source link

esi:update:affiliations does not run without an argument #790

Closed yarmout closed 3 years ago

yarmout commented 3 years ago
warlof commented 3 years ago

Hi,

Can you also provide the stack trace here? It lacks of context 😛

piotrekdomin commented 3 years ago

I have similar problem:


[2021-04-21 23:01:03] local.ERROR: Not enough arguments (missing: "character_id"). {"exception":"[object] (Symfony\\Component\\Console\\Exception\\RuntimeException(code: 0): Not enough arguments (missing: \"character_id\"). at /srv/seat/vendor/symfony/console/Input/Input.php:76)
[stacktrace]

#0 /srv/seat/vendor/symfony/console/Command/Command.php(250): Symfony\\Component\\Console\\Input\\Input->validate()

#1 /srv/seat/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))

#2 /srv/seat/vendor/symfony/console/Application.php(1009): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))

#3 /srv/seat/vendor/symfony/console/Application.php(273): Symfony\\Component\\Console\\Application->doRunCommand(Object(Seat\\Eveapi\\Commands\\Esi\\Update\\Characters), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))

#4 /srv/seat/vendor/symfony/console/Application.php(149): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))

#5 /srv/seat/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))

#6 /srv/seat/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(131): Illuminate\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))

#7 /srv/seat/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))

#8 {main}
"}
warlof commented 3 years ago

Can you guys show your schedulers? The error seems truncated, but I don't think it's tied to affiliation.

piotrekdomin commented 3 years ago

You mean this? obraz

warlof commented 3 years ago

Yes, please use php artisan db:seed --class=Seat\\Console\\database\\seeds\\ScheduleSeeder to update your scheduler - it is completely outdated.

piotrekdomin commented 3 years ago

Now it works, thanks a lot! ;)

Crypta-Eve commented 3 years ago

Closing this as it appears resolved. Please reopen if the issue recurs.