Comments (5)
Totally open to this being entirely on me missing something obvious but I've done more than a few laps on this and can't seem to turn up anything that seems like it would cause this to fail. Any direction will be greatly appreciated.
from schemaspy.
Hi, sorry for late reply.
One thing that I'm unsure of is the validation. I know we have it in the code, but the noNamespaceSchemaLocation needs to be updated (possibly).
But that might be an issue after the parsing has passed.
I'll try to test a bit if I get time tonight. But some common problem that I've experienced with different parsers are.
File has switched encoding and there is a non printable char in the beginning of the file.
File isn't actually UTF-8 encoded.
As far as SchemaSpy goes it seems to think that the file exist and it runs in problems when trying to parse.
Secondly, which I think might be a typo either in command or when added to GitHub is the mount argument which might get treated as a volume and folder.
I checked the code last night and we might only look if it exists and not if it's a volume.
But as I wrote earlier I don't think that the mount works
-v "$PWD/.schemaspy/discovery_apic4e.meta.xml"
Since it's missing target/destination in container.
from schemaspy.
Totally unrelated to the issue, but I saw you are using MacOS, if your using Apple Silicon, you can use tag snapshot and get better performance since it has an arm64 image.
from schemaspy.
I've also verified that if the mount is wrong. SchemaSpy will try to parse a folder and that's wrong.
Need to add som validation that we are actually trying to read a file and that we are able to read it. So that is something we can do in regards to error handling.
As for the validation that I mentioned, it must be relaxed and ignore the defined one.
I copied the meta xml above and added it to folder and specified the folder as meta.
I was able to parse it without issues.
So either it's the file encoding issue or you mount is not correct.
You can add to nerdctl -ti --rm --entrypoint sh
and remove alla arguments after schemaspy/schemaspy:latest
this will drop you into a shell with in the container and you can validate the mounts and also run vi
and check the contents.
from schemaspy.
@npetzall youβre 100% right on the bad mount. Thanks a ton for the quick response
from schemaspy.
Related Issues (20)
- Docker: arm image HOT 1
- Moving GUI components
- GUI does not respond to re-sizing HOT 1
- No relationships image created HOT 6
- Too much information in error.
- Sign snapshots
- Cant get line breaks in Table Comments to work. HOT 6
- I am unable to get comments
- Oracle database - null password given HOT 5
- Driver Error HOT 7
- Terminating null reference error when generating HTML for Constraints MSSQL HOT 1
- SchemaSpy ERD (relationship tab) is not showing lines between tables HOT 4
- Relationship between Unique Keys and Foreign Key HOT 8
- ERROR - Bad config Schema (-s/-schemas) was not provided and unable to deduce schema, ... HOT 2
- Trying to set trustServerCertificate true in schemaspy.connprops Property in config file does not work HOT 2
- Getting an Exception when running against Oracle database in charset ISO-8859-15 HOT 2
- Feature request: "Comment" as title in relationships.html
- Get `AbstractMethodError` when connect to SQL Server by using `mssql17-jtds` driver. HOT 2
- Snowflake connection with private key pair HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schemaspy.