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

php artisan lychee:sync failing with Unresolvable dependency resolving bool $enableCLIFormatting #1318

Closed
mederel opened this issue May 9, 2022 · 0 comments · Fixed by #1319
Labels
bug Something isn't working

Comments

@mederel
Copy link
Contributor

mederel commented May 9, 2022

I am not probably the typical user that would do its album imports through the UI. I like to do it with the following command line:

php artisan lychee:sync path/to/folder

My installation is a direct git clone, which I regularly update. After the latest update I discovered this command stopped working with the following error message in the logs:

2022-05-09 18:59:07 -- error   -- Illuminate\Foundation\Console\Kernel::handle -- 37 -- Unresolvable dependency resolving [Parameter #1 [ <required> bool $enableCLIFormatting ]] in class App\Actions\Import\Exec; caused by
2022-05-09 18:59:07 -- error   -- Illuminate\Container\Container::unresolvablePrimitive -- 1104 -- Unresolvable dependency resolving [Parameter #1 [ <required> bool $enableCLIFormatting ]] in class App\Actions\Import\Exec

I have already probably found a fix that I will join with an upcoming PR, which is to define a default value to this parameter. But that is to be reviewed, as I do not know anything about Laravel.

mederel added a commit to mederel/Lychee that referenced this issue May 9, 2022
@nagmat84 nagmat84 added More info required Issue which will be closed under 14 days if not replied by the author bug Something isn't working and removed More info required Issue which will be closed under 14 days if not replied by the author labels May 9, 2022
mederel added a commit to mederel/Lychee that referenced this issue May 9, 2022
…g bool $enableCLIFormatting

fixes LycheeOrg#1318

Getting the following exception:

```
Unresolvable dependency resolving [Parameter LycheeOrg#1 [ <required> bool $enableCLIFormatting ]] in class App\Actions\Import\Exec
```

when running:

```
php artisan lychee:sync myfolder
```
mederel added a commit to mederel/Lychee that referenced this issue May 10, 2022
…g bool $enableCLIFormatting

fixes LycheeOrg#1318

Getting the following exception:

```
Unresolvable dependency resolving [Parameter LycheeOrg#1 [ <required> bool $enableCLIFormatting ]] in class App\Actions\Import\Exec
```

when running:

```
php artisan lychee:sync myfolder
```
nagmat84 pushed a commit that referenced this issue May 10, 2022
…g bool $enableCLIFormatting (#1319)

Fixes #1318

Getting the following exception:

```
Unresolvable dependency resolving [Parameter #1 [ <required> bool $enableCLIFormatting ]] in class App\Actions\Import\Exec
```

when running:

```
php artisan lychee:sync myfolder
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants