You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "hdalsania (via GitHub)" <gi...@apache.org> on 2025/07/07 20:44:14 UTC
[I] Update to Apache Daffodil 3.11 [daffodil-vscode]
hdalsania opened a new issue, #1320:
URL: https://github.com/apache/daffodil-vscode/issues/1320
We are currently using version 3.10.0, Version 3.11.0 is the latest daffodil version as of now, we should update our package and ensure functionally of the extension is still stable. This update has breaking changes with newer scala version support. This will require to update the scala code within the extension codebase to be compatible with Scala 2.13
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Update to Apache Daffodil 3.11 [daffodil-vscode]
Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell commented on issue #1320:
URL: https://github.com/apache/daffodil-vscode/issues/1320#issuecomment-3049943603
@stevedlawrence I am working on this currently but I have having an issue. The problem is with this code snippet:
```scala
def dispatchRequest(request: Request): Unit =
dispatcher.unsafeRunSync {
for {
_ <- Logger[IO].info(show"R> $request")
_ <- requests.send(request).recoverWith {
// format: off
case t => Logger[IO].error(t)(show"error during handling of request $request")
// format: on
}
} yield ()
}
```
Specifically the `recoverWith` method where this error is being thrown:
```bash
[error] /daffodil-vscode/debugger/src/main/scala/org.apache.daffodil.debugger.dap/DAPodil.scala:101:39: a type was inferred to be `Any`; this may indicate a programming error.
[error] _ <- requests.send(request).recoverWith {
[error]
```
I have tried a couple different things but that same error keep coming up. Are you aware of what might be causing the issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Update to Apache Daffodil 3.11 [daffodil-vscode]
Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell commented on issue #1320:
URL: https://github.com/apache/daffodil-vscode/issues/1320#issuecomment-3050232859
@stevedlawrence Nevermind looks like the fix was:
```scala
def dispatchRequest(request: Request): Unit =
dispatcher.unsafeRunSync {
for {
_ <- Logger[IO].info(show"R> $request")
_ <- requests.send(request).void.recoverWith {
// format: off
case t => Logger[IO].error(t)(show"error during handling of request $request")
// format: on
}
} yield ()
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Update to Apache Daffodil 3.11 [daffodil-vscode]
Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell closed issue #1320: Update to Apache Daffodil 3.11
URL: https://github.com/apache/daffodil-vscode/issues/1320
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org