Incorrect Error Message in Data.connect(...)
See original GitHub issue requireIsHardware(this, "data to be connected")
requireIsHardware(that, "data to be connected")
The first error message is incorrect. It should be something like left hand side of the connection
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Troubleshooting
Unable to launch DataConnect or displays an error while creating or opening artifacts. Solution: Eclipse may persist its state during installations.
Read more >Connecting to your data: Error messages - Klipfolio Help Center
When you connect to your data using Klipfolio's REST/URL connector, you may encounter an error message. To help find a solution to the......
Read more >Handling data source errors (Power Query) - Microsoft Support
Advice on how to identify, deal with, and resolve errors from externals data sources and Power Query when you refresh data.
Read more >Data Source Connection Error - IBM
1. The data source credentials are invalid in the server configuration. Contact the administrator. 2. The connection test failed 3. The data ...
Read more >Common error messages you receive when trying to connect ...
The error “proxy host not found” indicates that the proxy server is incorrectly specified in the Internet Preferences for Stata. Contact your network ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Onyinye91-ctrl thanks for looking into this! I think @ekiwi was suggesting to add a new “property” to that
ConnectSpec
, something like:but since we are especially interested in intercepting the error message and seeing that it is your new message, not sure this is exactly right and I’m not sure what to put for the
???
from that file… looking to see if there is a better example in the codebase.EDIT: Perhaps you could add a new circuit at the top of the file:
Then your property could be:
Here is a scastie link that shows the error message that we currently get “data to be connected…” when trying to build my BadConnectLeft example:
https://scastie.scala-lang.org/sYbi2GJQRqG0WOaH0y4l6g
Something like:
The usage is that if user does something wrong, they would get an error like “The left hand side of the connection must be hardware, but it is not”.
The link is outdated, here is an update one:
https://github.com/chipsalliance/chisel3/blob/1ceb974c55c6785c21ab3934fa750ade0702e276/core/src/main/scala/chisel3/Data.scala#L469
There may be some unit tests that will fail if they were checking for that exact message, and if so the task would also need to update what those tests are checking for (but I don’t know if there are any tests for this error message).
EDIT: @ekiwi said it better!