Installation To install Locust, follow the instructions at Locust Installation Troubleshooting If the check fails with the error message ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 40 from PyObject Make sure you use the Anaconda virtual Python environment to avoid version conflicts between installed Python components. Create your …
Category Archives: Not for home page
Returning trains do not follow the station list in Railway Empire 2
When we select stations to define a rail line, only one way travel is defined. The returning train always selects the shortest path. In this example Vienna West is in the station list, the return path is not defined, so the train will return through Vienna Ost, the shorter path. To make sure the returning …
Continue reading “Returning trains do not follow the station list in Railway Empire 2”
Making a profit in Railway Empire 2
To increase profit (or reduce losses) you can make adjustments to your empire. Keep a train lines profitable Train completed last tour without freight If the train frequently leaves a station without freight, set the minimum number of wagons to 4 for that station. The train will wait at the station until at least 4 …
Error: MUI: The data grid component requires all rows to have a unique id property
Error: MUI: The data grid component requires all rows to have a unique id property.Alternatively, you can use the getRowId prop to specify a custom id for each row.A row was provided without id in the rows prop: The Material UI Data Grid needs to have a unique ID to identify the rows. To specify …
Error: EACCES: permission denied, rename ‘/usr/local/lib/node_modules
When a software update changes folder permissions we can lose access to Node.js module locations. In case of the error message Error: EACCES: permission denied, rename ‘/usr/local/lib/node_modules
Railway Empire 2 industry needs chart
This chart contains the needs of each industries in Railway Empire 2. The industry needs of Railway Empire 2 To get the information When a city opens for a new industry
Build a high traffic railway station in Railway Empire 2
If only one main line runs through your railway station, but the traffic is very high, build a station with 8 tracks. To allow trains to use any track of the station, we could use 8 track gridirons, but those require long parallel tracks. We can use four 2 track gridirons, and combine the tracks …
Continue reading “Build a high traffic railway station in Railway Empire 2”
Data access in Remix React.js web applications
Remix vastly simplifies access to backend processes by auto-generating all API calls between the browser and the web server. We only need to create the “loader()” function to get data from the server and the “action()” function to submit a form. Reading Environment variable values For security reasons the Node.js web application environment variables are …
Continue reading “Data access in Remix React.js web applications”
Railway Empire 2 track building tips and tricks
Track must not end in tunnels A natural or manmade obstacle prevents track building. To clear the landscape for the tracks
Node.js application run and build error troubleshooting
sh: npm-run-all: command not found sh: cross-env: command not found