Comments (8)
I removed all autoLayouts. Here's the browser javascript console:
LegacyDataMixin will be applied to all legacy elements.
Set `_legacyUndefinedCheck: true` on element class to enable.
DevTools failed to load source map: Could not load content for chrome-extension://akimgimeeoiognljlfchpbkpfbmeapkh/polyfills/web-animations-next-lite.min.js.map: System error: net::ERR_FILE_NOT_FOUND
After removing the autoLayouts, I got the following on the windows terminal used for invoking the command (after the usual copyright stuff):
2023-07-10T10:44:30.396-06:00 WARN 20844 --- [nio-8080-exec-1] com.structurizr.dsl.AbstractViewParser : Container-001 is an automatically generated view key - you will likely lose manual layout information when using automatically generated view keys.
2023-07-10T10:44:30.422-06:00 WARN 20844 --- [nio-8080-exec-1] com.structurizr.dsl.AbstractViewParser : Component-001 is an automatically generated view key - you will likely lose manual layout information when using automatically generated view keys.
2023-07-10T10:44:30.429-06:00 WARN 20844 --- [nio-8080-exec-1] com.structurizr.dsl.AbstractViewParser : Component-002 is an automatically generated view key - you will likely lose manual layout information when using automatically generated view keys.
2023-07-10T10:44:31.073-06:00 WARN 20844 --- [nio-8080-exec-1] com.structurizr.view.ViewSet : Could not find a matching view for "System Landscape" ... diagram layout information may be lost.
2023-07-10T10:44:31.073-06:00 WARN 20844 --- [nio-8080-exec-1] com.structurizr.view.ViewSet : Could not find a matching view for "C4 Dsl Extension - Containers" ... diagram layout information may be lost.
2023-07-10T10:44:31.078-06:00 WARN 20844 --- [nio-8080-exec-1] com.structurizr.view.ViewSet : Could not find a matching view for "C4 Dsl Extension - C4 DSL Client - Components" ... diagram layout information may be lost.
At this point I've stopped attempting to get the war file to work, since the docker version not only works but starts up faster. My guess is that it wouldn't be an impediment to narrow the instructions to just using the docker version, at least for windows. Especially since that seems to have a reliable testing process. (Insert requisite joke about "Java, write once run everywhere").
from lite.
Not sure if this helps: when I start with an empty Structurizr data directory, starting the app will produce a workspace.dsl
file, and then when I try to open the browser the workspace.json
file appears.
from lite.
The Docker version seems to work consistently.
from lite.
Just installed the Docker version on my desktop (the other was on my laptop) and it started seamlessly. (also a Windows 11 machine).
from lite.
Thanks for the information. Do you see any errors in your web browser's developer/JavaScript console? I'm wondering whether this is a problem with running Graphviz ... does commenting out autoLayout
in your workspace.dsl
file resolve the issue?
from lite.
I have a similar problem with the current structurizr-lite.war version. When I run that on a (virtual) machine with no internet access at all. The same dsl and war runs fine on another machine with http(s) internet access.
More info: the browser shows a lot of Server errros (500)
GET https://fonts.googleapis.com/css?family=Open+Sans:400,700 net::ERR_NAME_NOT_RESOLVED
structurizr-ui.js:1 Uncaught TypeError: Cannot set properties of undefined (setting 'DEFAULT_FONT_NAME')
at structurizr-ui.js:1:34
(anonymous) @ structurizr-ui.js:1
diagrams:368 Uncaught TypeError: Cannot set properties of undefined (setting 'ProgressMessage')
at diagrams:368:36
(anonymous) @ diagrams:368
diagrams:415 Uncaught TypeError: Cannot set properties of undefined (setting 'QuickNavigation')
at diagrams:415:36
(anonymous) @ diagrams:415
diagrams:681 Uncaught TypeError: Cannot set properties of undefined (setting 'Tooltip')
at diagrams:681:28
(anonymous) @ diagrams:681
jquery-3.6.3.min.js:2
POST http://localhost:8080/error 500 (Internal Server Error)
send @ jquery-3.6.3.min.js:2
ajax @ jquery-3.6.3.min.js:2
logError @ structurizr.js:54
window.onerror @ structurizr.js:49
error (async)
(anonymous) @ structurizr.js:48
structurizr.js:71 There was an error logging the error : error (HTTP status code=500)
diagrams:2137 Uncaught ReferenceError: progressMessage is not defined
at diagrams:2137:5
(anonymous) @ diagrams:2137
diagrams:3406 Uncaught TypeError: Cannot read properties of undefined (reading 'StructurizrApiClient')
at diagrams:3406:53
(anonymous) @ diagrams:3406
jquery-3.6.3.min.js:2
POST http://localhost:8080/error 500 (Internal Server Error)
send @ jquery-3.6.3.min.js:2
ajax @ jquery-3.6.3.min.js:2
logError @ structurizr.js:54
window.onerror @ structurizr.js:49
error (async)
(anonymous) @ structurizr.js:48
structurizr.js:71 There was an error logging the error : error (HTTP status code=500)
jquery-3.6.3.min.js:2
POST http://localhost:8080/error 500 (Internal Server Error)
send @ jquery-3.6.3.min.js:2
ajax @ jquery-3.6.3.min.js:2
logError @ structurizr.js:54
window.onerror @ structurizr.js:49
error (async)
(anonymous) @ structurizr.js:48
structurizr.js:71 There was an error logging the error : error (HTTP status code=500)
jquery-3.6.3.min.js:2
POST http://localhost:8080/error 500 (Internal Server Error)
send @ jquery-3.6.3.min.js:2
ajax @ jquery-3.6.3.min.js:2
logError @ structurizr.js:54
window.onerror @ structurizr.js:49
error (async)
(anonymous) @ structurizr.js:48
structurizr.js:71 There was an error logging the error : error (HTTP status code=500)
jquery-3.6.3.min.js:2
POST http://localhost:8080/error 500 (Internal Server Error)
send @ jquery-3.6.3.min.js:2
ajax @ jquery-3.6.3.min.js:2
logError @ structurizr.js:54
window.onerror @ structurizr.js:49
error (async)
(anonymous) @ structurizr.js:48
structurizr.js:71 There was an error logging the error : error (HTTP status code=500)
jquery-3.6.3.min.js:2
POST http://localhost:8080/error 500 (Internal Server Error)
send @ jquery-3.6.3.min.js:2
ajax @ jquery-3.6.3.min.js:2
logError @ structurizr.js:54
window.onerror @ structurizr.js:49
error (async)
(anonymous) @ structurizr.js:48
structurizr.js:71 There was an error logging the error : error (HTTP status code=500)
from lite.
from lite.
Closing as can't reproduce.
from lite.
Related Issues (20)
- No diagrams rendered since 3228 HOT 2
- Documentation headings are rendered incorrectly HOT 2
- workspace.dsl not loading in structurizr/lite Docker container
- Problem with import adrs starting with number as 001- HOT 1
- How to export java workspace to dsl format?
- Lite container 2024.01.02 actually starts the CLI HOT 2
- Starting Structurizr Lite fails with BeanCreationException
- Are image view actually supported in Strucutrizr Lite? HOT 2
- Issues with kts scripts HOT 3
- Java command for Spring Boot appears to be malformed HOT 3
- New versions of StruturizrR Lite fail to parse some relationships HOT 3
- Export HTML functionality is missing in new versions
- How can I modify the style of the box around a software system in the container view?
- Rendering plantuml / mermaid in markdowns included with !docs
- missing download files HOT 2
- Is it necessary to configure the API key on a Structurizr.lite installation that does not sync with the cloud?
- "MD5 hash doesn't match content" modal window HOT 7
- Please. Provide documentation for ADR link feature and how to see it in Decision Explorer HOT 1
- Bump up Java version from 17 to 21 HOT 3
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 lite.