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 2024/05/30 16:22:30 UTC
[I] Fix TDML Copy, Execute and Append functionality in MacOS Platform [daffodil-vscode]
hdalsania opened a new issue, #1035:
URL: https://github.com/apache/daffodil-vscode/issues/1035
TDML Copy, Execute and Append functionality is broken since inception of the TDML GUI editor (PR# 936).
Fix the default settings for test case name, description and path as it is showing as "Undefined" in Launch.json file.
The _Copy TDML File_ button exists but will not save the `.tdml` file anywhere once the data debugger is finished and I attempt to save.
<h3>VSCode Debug Output</h3>
```
simulatorDirPath: undefined
deviceFilePath: undefined
simulatorDirPath: undefined
deviceFilePath: undefined
detected java homes: [{"path":"/Library/Java/JavaVirtualMachines/jdk-11.0.16.1.jdk/Contents/Home","version":"11.0.16","security":0,"isJDK":true,"is64Bit":true,"executables":{"java":"/Library/Java/JavaVirtualMachines/jdk-11.0.16.1.jdk/Contents/Home/bin/java","javac":"/Library/Java/JavaVirtualMachines/jdk-11.0.16.1.jdk/Contents/Home/bin/javac","javap":"/Library/Java/JavaVirtualMachines/jdk-11.0.16.1.jdk/Contents/Home/bin/javap"}},{"path":"/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home","version":"11.0.16","security":0,"isJDK":true,"is64Bit":true,"executables":{"java":"/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/java","javac":"/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/javac","javap":"/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/javap"}},{"path":"/Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home","version":"1.8.0","security":302,"isJDK":true,"is64Bit":true,"executables":{"java":"/
Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home/bin/java","javac":"/Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home/bin/javac","javap":"/Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home/bin/javap"}}]
choosing java home at /Library/Java/JavaVirtualMachines/jdk-11.0.16.1.jdk/Contents/Home, version 11.0.16, is at least JDK 17: false
No test suite found in source XML buffer
```
The output line: `No test suite found in source XML buffer` gets outputted every time I attempt to save the generate `.tdml` file via _Copy TDML File_.
_Originally posted by @stricklandrbls in https://github.com/apache/daffodil-vscode/issues/1022#issuecomment-2135799767_
@stricklandrbls did a little digging and running the extension in debug mode w/ breakpoints. It looks like this is coming from this scope of code:
https://github.com/apache/daffodil-vscode/blob/5bd426e1dbdf25b40193ba0a2eb17dbc9d861ba1/src/tdmlEditor/utilities/tdmlXmlUtils.ts#L277-L295
I think it has something to do with this function being `async` but not returning a `Promise` because this block of code throws with _all_ of the scoped variables being `undefined` or uninitialized.
_Originally posted by @stricklandrbls in https://github.com/apache/daffodil-vscode/issues/1022#issuecomment-2136309539_
--
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] Fix TDML Copy, Execute and Append functionality in MacOS Platform [daffodil-vscode]
Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell closed issue #1035: Fix TDML Copy, Execute and Append functionality in MacOS Platform
URL: https://github.com/apache/daffodil-vscode/issues/1035
--
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] Fix TDML Copy, Execute and Append functionality in MacOS Platform [daffodil-vscode]
Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell commented on issue #1035:
URL: https://github.com/apache/daffodil-vscode/issues/1035#issuecomment-3201006527
1. Copy was removed.
2. Execute worked fine.
3. Append currently doesn't work. When trying to run an append I get this in a popup:
```bash
TDML ERROR: Test suite not found. Ensure that the TDML action is set to "generate" for your DFDL debugging launch configuration before appending.
```
--
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] Fix TDML Copy, Execute and Append functionality in MacOS Platform [daffodil-vscode]
Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell commented on issue #1035:
URL: https://github.com/apache/daffodil-vscode/issues/1035#issuecomment-3324552584
All of the TDML functionality is now working due to some more updates to TDML related code. This issue can/will be closed
--
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] Fix TDML Copy, Execute and Append functionality in MacOS Platform [daffodil-vscode]
Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell commented on issue #1035:
URL: https://github.com/apache/daffodil-vscode/issues/1035#issuecomment-3211135760
Sorry copy was not removed it is only available for a `dfdl` file not a `tdml` file. Copy is also broken and gives the same error as append:
```bash
TDML ERROR: Test suite not found. Ensure that the TDML action is set to "generate" for your DFDL debugging launch configuration before appending.
```
--
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] Fix TDML Copy, Execute and Append functionality in MacOS Platform [daffodil-vscode]
Posted by "JeremyYao (via GitHub)" <gi...@apache.org>.
JeremyYao commented on issue #1035:
URL: https://github.com/apache/daffodil-vscode/issues/1035#issuecomment-2916834295
@shanedell, would this conflict with https://github.com/apache/daffodil-vscode/pull/1276?
--
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] Fix TDML Copy, Execute and Append functionality in MacOS Platform [daffodil-vscode]
Posted by "JeremyYao (via GitHub)" <gi...@apache.org>.
JeremyYao commented on issue #1035:
URL: https://github.com/apache/daffodil-vscode/issues/1035#issuecomment-2919828837
@shanedell, additionally, are you able to test https://github.com/apache/daffodil-vscode/pull/1276 on MacOS too?
--
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