You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The getenv() function has stopped working. The following statement used to work correctly
!$ROOT_DIR = %getenv("SN_DATA_MODEL_DIR")
Now there is no error generated but the getenv() call returns nothing and the variable $ROOT_DIR is not set.
To Reproduce
using the following version of PlantUML:
PlantUML version 1.2024.3 (Thu Feb 15 14:40:05 EST 2024)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: UTF-8
Language: en
Country: US
and the following test.puml file contents:
@startuml
!$ROOT_DIR = %getenv("SN_DATA_MODEL_DIR")
!$DATE = %date("yyyy.MM.dd' at 'HH:mm")
A -> B :$ROOT_DIR
A1 -> B1 :$DATE
@enduml
enter the following command:
plantuml test.puml
Expected behavior
The PNG file produced should have the following on the line going from A to B
"/Users/kd353c/workspace-st_nast/tnidm/Data_Models"
Screenshots
Desktop (please complete the following information):
macOS
Version 14.4.1
Additional context
I have the same issue when using VSCode PlantUML version 2.18.0 extension
The text was updated successfully, but these errors were encountered:
Describe the bug
The getenv() function has stopped working. The following statement used to work correctly
!$ROOT_DIR = %getenv("SN_DATA_MODEL_DIR")
Now there is no error generated but the getenv() call returns nothing and the variable $ROOT_DIR is not set.
To Reproduce
using the following version of PlantUML:
PlantUML version 1.2024.3 (Thu Feb 15 14:40:05 EST 2024)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: UTF-8
Language: en
Country: US
and the following test.puml file contents:
@startuml
!$ROOT_DIR = %getenv("SN_DATA_MODEL_DIR")
!$DATE = %date("yyyy.MM.dd' at 'HH:mm")
A -> B :$ROOT_DIR
A1 -> B1 :$DATE
@enduml
enter the following command:
plantuml test.puml
Expected behavior
The PNG file produced should have the following on the line going from A to B
"/Users/kd353c/workspace-st_nast/tnidm/Data_Models"
Screenshots
Desktop (please complete the following information):
Additional context
I have the same issue when using VSCode PlantUML version 2.18.0 extension
The text was updated successfully, but these errors were encountered: