packages.flutter icon indicating copy to clipboard operation
packages.flutter copied to clipboard

Appears to be a bug in Version 2.9.0 No value passed for parameter 'forPrint'

Open Daniel-Harding opened this issue 8 months ago β€’ 7 comments

Describe the bug Execution failed for task ':pdfx:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction

To Reproduce Compiling using VS Code with Android SDK 35 and Java 21... if I use pdfx version 2.8.0 no error but if I change to version 2.9.0 in pubspec.yaml, I get the error message above when compiling.

Expected behavior Expected it to compile with no error messages.

Screenshots

Image

Smartphone (please complete the following information): Tried on both Android 16 and Android 14 and got the same results

Additional context My only other thought is the "forPrint" was added as optional some versions ago but maybe now is mandatory and thus the error for code that doesn't set that parameter???

Daniel-Harding avatar Apr 16 '25 15:04 Daniel-Harding

I've fixed this issue in my local system.

In File ".pub-cache/hosted/pub.dev/pdfx-2.9.0/android/src/main/kotlin/io/scer/pdfx/Messages.kt"

Line number 210, just add true/false with comma after quality

Replace below code

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality )

to

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality, false )

Salim-Ali-Flutter avatar Apr 17 '25 14:04 Salim-Ali-Flutter

Thanks for the quick fix on that! 😊

[STEMCO_RGB-01.png]

@.https://www.facebook.com/STEMCOLP/ @. https://www.linkedin.com/company/stemcoproducts?trk=organization_guest_main-feed-card_feed-actor-name @.*** https://www.youtube.com/c/STEMCOLP Dan Harding Principal Engineer

E: @.tel:903-240-1001 P: 903-239-4176tel:903-239-4176 | M: @.> 300 Industrial Dr., Longview,Texas 75602 www.stemco.comhttps://www.stemco.com/

All STEMCO Locations will be closed on Friday, April 18, 2025 in observance of Good Friday. From: Salim @.> Sent: Thursday, April 17, 2025 9:37 AM To: ScerIO/packages.flutter @.> Cc: Harding, Dan @.>; Author @.> Subject: Re: [ScerIO/packages.flutter] Appears to be a bug in Version 2.9.0 No value passed for parameter 'forPrint' (Issue #573)

I've fixed this issue in my local system. In File ".β€Špub-cache/hosted/pub.β€Šdev/pdfx-2.β€Š9.β€Š0/android/src/main/kotlin/io/scer/pdfx/Messages.β€Škt" Line number 210, just add true/false with comma after quality Replace below code // background thread render

I've fixed this issue in my local system.

In File ".pub-cache/hosted/pub.dev/pdfx-2.9.0/android/src/main/kotlin/io/scer/pdfx/Messages.kt"

Line number 210, just add true/false with comma after quality

Replace below code

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality )

to

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality, false )

β€” Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2813150552__;Iw!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eSotbrUyg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ATVJV3ZMIC4NWU2LGZSCBEL2Z637XAVCNFSM6AAAAAB3IUYJDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJTGE2TANJVGI__;!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eTWICDsVA$. You are receiving this because you authored the thread.Message ID: @.@.>> [https://avatars.githubusercontent.com/u/105727265?s=20&v=4]Salim-Flutter left a comment (ScerIO/packages.flutter#573)https://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2813150552__;Iw!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eSotbrUyg$

I've fixed this issue in my local system.

In File ".pub-cache/hosted/pub.dev/pdfx-2.9.0/android/src/main/kotlin/io/scer/pdfx/Messages.kt"

Line number 210, just add true/false with comma after quality

Replace below code

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality )

to

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality, false )

β€” Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2813150552__;Iw!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eSotbrUyg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ATVJV3ZMIC4NWU2LGZSCBEL2Z637XAVCNFSM6AAAAAB3IUYJDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJTGE2TANJVGI__;!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eTWICDsVA$. You are receiving this because you authored the thread.Message ID: @.@.>>

----------Legal Disclaimer---------- The information contained in this message may be privileged and confidential, and is intended solely for the use of the named addressee. No other person is authorized to access, copy or re-use this message (or any information contained herein). If you are not the intended recipient, please notify us immediately by replying to this message and delete it from your computer.

Daniel-Harding avatar Apr 17 '25 15:04 Daniel-Harding

Any chance you can increase the dependency level of the device_info_ plus on your next release?

Because pdfx 2.8.0 depends on device_info_plus ^10.1.2 and bluefang depends on device_info_plus ^11.3.3, pdfx 2.8.0 is forbidden

[STEMCO_RGB-01.png]

@.https://www.facebook.com/STEMCOLP/ @. https://www.linkedin.com/company/stemcoproducts?trk=organization_guest_main-feed-card_feed-actor-name @.*** https://www.youtube.com/c/STEMCOLP Dan Harding Principal Engineer

E: @.tel:903-240-1001 P: 903-239-4176tel:903-239-4176 | M: @.> 300 Industrial Dr., Longview,Texas 75602 www.stemco.comhttps://www.stemco.com/

All STEMCO Locations will be closed on Friday, April 18, 2025 in observance of Good Friday. From: Salim @.> Sent: Thursday, April 17, 2025 9:37 AM To: ScerIO/packages.flutter @.> Cc: Harding, Dan @.>; Author @.> Subject: Re: [ScerIO/packages.flutter] Appears to be a bug in Version 2.9.0 No value passed for parameter 'forPrint' (Issue #573)

I've fixed this issue in my local system. In File ".β€Špub-cache/hosted/pub.β€Šdev/pdfx-2.β€Š9.β€Š0/android/src/main/kotlin/io/scer/pdfx/Messages.β€Škt" Line number 210, just add true/false with comma after quality Replace below code // background thread render

I've fixed this issue in my local system.

In File ".pub-cache/hosted/pub.dev/pdfx-2.9.0/android/src/main/kotlin/io/scer/pdfx/Messages.kt"

Line number 210, just add true/false with comma after quality

Replace below code

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality )

to

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality, false )

β€” Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2813150552__;Iw!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eSotbrUyg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ATVJV3ZMIC4NWU2LGZSCBEL2Z637XAVCNFSM6AAAAAB3IUYJDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJTGE2TANJVGI__;!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eTWICDsVA$. You are receiving this because you authored the thread.Message ID: @.@.>> [https://avatars.githubusercontent.com/u/105727265?s=20&v=4]Salim-Flutter left a comment (ScerIO/packages.flutter#573)https://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2813150552__;Iw!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eSotbrUyg$

I've fixed this issue in my local system.

In File ".pub-cache/hosted/pub.dev/pdfx-2.9.0/android/src/main/kotlin/io/scer/pdfx/Messages.kt"

Line number 210, just add true/false with comma after quality

Replace below code

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality )

to

// background thread render val pageImage = page.render( tempOutFile, width, height, color, format, crop, cropX, cropY, cropW, cropH, quality, false )

β€” Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2813150552__;Iw!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eSotbrUyg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ATVJV3ZMIC4NWU2LGZSCBEL2Z637XAVCNFSM6AAAAAB3IUYJDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJTGE2TANJVGI__;!!O-n7Zp04WiWL4uU!6i19jv2Okt5zW1DisUwEF0iiRMaqNGvLwu_M7igRNyp2ThSuHq_Ondf5Czh46Qhs_E96GOPLEQOU3Igu5eTWICDsVA$. You are receiving this because you authored the thread.Message ID: @.@.>>

----------Legal Disclaimer---------- The information contained in this message may be privileged and confidential, and is intended solely for the use of the named addressee. No other person is authorized to access, copy or re-use this message (or any information contained herein). If you are not the intended recipient, please notify us immediately by replying to this message and delete it from your computer.

Daniel-Harding avatar Apr 17 '25 21:04 Daniel-Harding

I have followed @Salim-Flutter's solution and it works great. Since I can't wait for a release I have created a temporary fork with the solution

It includes a fix for this issue and the #570.

It can be used in the pubspec.yaml like this

# pdfx: ^2.9.0
pdfx:
  git:
    url: https://github.com/SamuelGadiel/packages.flutter.git
    path: packages/pdfx

SamuelGadiel avatar Apr 18 '25 13:04 SamuelGadiel

Awesome! I didn't know you could include a URL in the source code to grab a custom fork...thanks for including the source code example as that makes it clear what I need to do to be able to use it in my source code.

Dan


From: Samuel Gadiel @.> Sent: Friday, April 18, 2025 8:42 AM To: ScerIO/packages.flutter @.> Cc: Harding, Dan @.>; Author @.> Subject: Re: [ScerIO/packages.flutter] Appears to be a bug in Version 2.9.0 No value passed for parameter 'forPrint' (Issue #573)

I have followed @Salim-Flutter's solution and it works great. Since I can't wait for a release I have created a temporary fork with the solution It includes a fix for this issue and the #570. It can be used in the pubspec.β€Šyaml like this # pdfx:β€Š

I have followed @Salim-Flutterhttps://urldefense.com/v3/__https://github.com/Salim-Flutter__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZAxU6jrwA$'s solution and it works great. Since I can't wait for a release I have created a temporary forkhttps://urldefense.com/v3/__https://github.com/SamuelGadiel/packages.flutter__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZCBNpK05w$ with the solution

It includes a fix for this issue and the #570https://urldefense.com/v3/__https://github.com/ScerIO/packages.flutter/issues/570__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZBSGl512A$.

It can be used in the pubspec.yaml like this

pdfx: ^2.9.0

pdfx: git: url: https://github.com/SamuelGadiel/packages.flutter.githttps://urldefense.com/v3/__https://github.com/SamuelGadiel/packages.flutter.git__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDeMLgGDQ$ path: packages/pdfx

β€” Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/ScerIO/packages.flutter/issues/573*issuecomment-2815473647__;Iw!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDBvHDO6Q$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ATVJV375FUNZ5CSDZYL7YA322D6K7AVCNFSM6AAAAAB3IUYJDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGQ3TGNRUG4__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDI-5rOmg$. You are receiving this because you authored the thread.Message ID: @.***>

[https://avatars.githubusercontent.com/u/22757108?s=20&v=4]SamuelGadiel left a comment (ScerIO/packages.flutter#573)https://urldefense.com/v3/__https://github.com/ScerIO/packages.flutter/issues/573*issuecomment-2815473647__;Iw!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDBvHDO6Q$

I have followed @Salim-Flutterhttps://urldefense.com/v3/__https://github.com/Salim-Flutter__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZAxU6jrwA$'s solution and it works great. Since I can't wait for a release I have created a temporary forkhttps://urldefense.com/v3/__https://github.com/SamuelGadiel/packages.flutter__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZCBNpK05w$ with the solution

It includes a fix for this issue and the #570https://urldefense.com/v3/__https://github.com/ScerIO/packages.flutter/issues/570__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZBSGl512A$.

It can be used in the pubspec.yaml like this

pdfx: ^2.9.0

pdfx: git: url: https://github.com/SamuelGadiel/packages.flutter.githttps://urldefense.com/v3/__https://github.com/SamuelGadiel/packages.flutter.git__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDeMLgGDQ$ path: packages/pdfx

β€” Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/ScerIO/packages.flutter/issues/573*issuecomment-2815473647__;Iw!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDBvHDO6Q$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ATVJV375FUNZ5CSDZYL7YA322D6K7AVCNFSM6AAAAAB3IUYJDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGQ3TGNRUG4__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDI-5rOmg$. You are receiving this because you authored the thread.Message ID: @.***>

----------Legal Disclaimer---------- The information contained in this message may be privileged and confidential, and is intended solely for the use of the named addressee. No other person is authorized to access, copy or re-use this message (or any information contained herein). If you are not the intended recipient, please notify us immediately by replying to this message and delete it from your computer.

Daniel-Harding avatar Apr 18 '25 17:04 Daniel-Harding

This issue has been resolved on 2.9.1 version and it can be closed @SergeShkurko

vicajilau avatar May 03 '25 06:05 vicajilau

So version 2.9.1 fixed the Print issue BUT the second issue still remains so I am still using the custom branch you created. Execution failed for task ':pdfx:compileDebugKotlin'.

@.***

Do you know when this bug will be corrected in the main branch of the pdfx pub so I will no longer need to use the custom branch?

Here is the full error log in case it is helpful in the debugging process.

e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:193:34 Cannot access 'Repository' which is a supertype of 'PageRepository'. Check your module classpath for missing or conflicting dependencies. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:193:34 Unresolved reference 'get'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:206:57 Unresolved reference 'randomFilename'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:241:19 Cannot access 'Repository' which is a supertype of 'PageRepository'. Check your module classpath for missing or conflicting dependencies. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:244:21 Unresolved reference 'RepositoryItemNotFoundException'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:298:34 Cannot access 'Repository' which is a supertype of 'DocumentRepository'. Check your module classpath for missing or conflicting dependencies. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:298:34 Unresolved reference 'get'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:300:55 Unresolved reference 'width'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:301:57 Unresolved reference 'height'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:315:58 Unresolved reference 'width'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:315:120 Unresolved reference 'height'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:322:22 Unresolved reference 'render'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:360:72 Unresolved reference 'randomFilename'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:370:73 Unresolved reference 'randomFilename'. e: file:///C:/Users/djh/AppData/Local/Pub/Cache/hosted/pub.dev/pdfx-2.9.1/android/src/main/kotlin/io/scer/pdfx/Messages.kt:373:25 Unresolved reference 'toFile'.

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':pdfx:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org.

BUILD FAILED in 1m 6s Error: Gradle task assembleDebug failed with exit code 1

[STEMCO_RGB-01.png]

@.https://www.facebook.com/STEMCOLP/ @. https://www.linkedin.com/company/stemcoproducts?trk=organization_guest_main-feed-card_feed-actor-name @.*** https://www.youtube.com/c/STEMCOLP Dan Harding Principal Engineer

E: @.@.> P: 903-239-4176tel:903-239-4176 | M: 903-240-1001 300 Industrial Dr., Longview,Texas 75602 www.stemco.comhttps://www.stemco.com/

The STEMCO Longview Location will be closed on Friday, June 6, 2025 for our physical inventory. All shipping activities will cease at 2:00 PM CST on Thursday, June 5 with regular business hours resuming on Monday, June 9, 2025.

From: Harding, Dan @.> Sent: Friday, April 18, 2025 12:04 PM To: Samuel Gadiel @.>; ScerIO/packages.flutter @.>; ScerIO/packages.flutter @.> Cc: Author @.***> Subject: Re: [ScerIO/packages.flutter] Appears to be a bug in Version 2.9.0 No value passed for parameter 'forPrint' (Issue #573)

Awesome! I didn't know you could include a URL in the source code to grab a custom fork...thanks for including the source code example as that makes it clear what I need to do to be able to use it in my source code.

Dan


From: Samuel Gadiel @.@.>> Sent: Friday, April 18, 2025 8:42 AM To: ScerIO/packages.flutter @.@.>> Cc: Harding, Dan @.@.>>; Author @.@.>> Subject: Re: [ScerIO/packages.flutter] Appears to be a bug in Version 2.9.0 No value passed for parameter 'forPrint' (Issue #573)

I have followed @Salim-Flutter's solution and it works great. Since I can't wait for a release I have created a temporary fork with the solution It includes a fix for this issue and the #570. It can be used in the pubspec.β€Šyaml like this # pdfx:β€Š

I have followed @Salim-Flutterhttps://urldefense.com/v3/__https:/github.com/Salim-Flutter__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZAxU6jrwA$'s solution and it works great. Since I can't wait for a release I have created a temporary forkhttps://urldefense.com/v3/__https:/github.com/SamuelGadiel/packages.flutter__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZCBNpK05w$ with the solution

It includes a fix for this issue and the #570https://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/570__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZBSGl512A$.

It can be used in the pubspec.yaml like this

pdfx: ^2.9.0

pdfx:

git:

url: https://github.com/SamuelGadiel/packages.flutter.git<https://urldefense.com/v3/__https:/github.com/SamuelGadiel/packages.flutter.git__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDeMLgGDQ$>

path: packages/pdfx

β€” Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2815473647__;Iw!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDBvHDO6Q$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ATVJV375FUNZ5CSDZYL7YA322D6K7AVCNFSM6AAAAAB3IUYJDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGQ3TGNRUG4__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDI-5rOmg$. You are receiving this because you authored the thread.Message ID: @.@.>> [https://avatars.githubusercontent.com/u/22757108?s=20&v=4]SamuelGadiel left a comment (ScerIO/packages.flutter#573)https://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2815473647__;Iw!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDBvHDO6Q$

I have followed @Salim-Flutterhttps://urldefense.com/v3/__https:/github.com/Salim-Flutter__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZAxU6jrwA$'s solution and it works great. Since I can't wait for a release I have created a temporary forkhttps://urldefense.com/v3/__https:/github.com/SamuelGadiel/packages.flutter__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZCBNpK05w$ with the solution

It includes a fix for this issue and the #570https://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/570__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZBSGl512A$.

It can be used in the pubspec.yaml like this

pdfx: ^2.9.0

pdfx:

git:

url: https://github.com/SamuelGadiel/packages.flutter.git<https://urldefense.com/v3/__https:/github.com/SamuelGadiel/packages.flutter.git__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDeMLgGDQ$>

path: packages/pdfx

β€” Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/ScerIO/packages.flutter/issues/573*issuecomment-2815473647__;Iw!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDBvHDO6Q$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ATVJV375FUNZ5CSDZYL7YA322D6K7AVCNFSM6AAAAAB3IUYJDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGQ3TGNRUG4__;!!O-n7Zp04WiWL4uU!4oyjR-N_24kuYs2mc2m7jQuAcZ3Lgy07DGyFrmkUtXVxejjcPIYyWCwxyh6bcxutlPOtXWDXEzWKcLpofZDI-5rOmg$. You are receiving this because you authored the thread.Message ID: @.@.>>

----------Legal Disclaimer---------- The information contained in this message may be privileged and confidential, and is intended solely for the use of the named addressee. No other person is authorized to access, copy or re-use this message (or any information contained herein). If you are not the intended recipient, please notify us immediately by replying to this message and delete it from your computer.

Daniel-Harding avatar May 29 '25 22:05 Daniel-Harding