#2612: GetComponents assumes that $USER is defined
Reporter: Roland Haas
Status: new
Milestone:
Version: development version
Type: bug
Priority: minor
Component: GetComponents
Comment (by Roland Haas):
ugh, I did not know that. Checking… Simfactory has “workarounds”:
```python
def GetUsername():
if "USER" not in os.environ:
fd = simenv.popen("whoami")
username = fd.read().strip()
fd.close()
else:
username = os.environ["USER"]
return username
```
What’s wrong with `os.getlogin()` which is the first answer that Google finds for “Python get user name”: [https://www.geeksforgeeks.org/how-to-get-the-current-username-in-python/](h… and apparently part of Python since forever?
I’ll make a pull request for simfactory as well.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2612/getcomponents-ass…
#2612: GetComponents assumes that $USER is defined
Reporter: Roland Haas
Status: new
Milestone:
Version: development version
Type: bug
Priority: minor
Component: GetComponents
Comment (by Steven R. Brandt):
I believe that simfactory also assumes this.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2612/getcomponents-ass…
#2612: GetComponents assumes that $USER is defined
Reporter: Roland Haas
Status: new
Milestone:
Version: development version
Type: bug
Priority: minor
Component: GetComponents
Comment (by Roland Haas):
Please review.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2612/getcomponents-ass…
#2612: GetComponents assumes that $USER is defined
Reporter: Roland Haas
Status: new
Milestone:
Version: development version
Type: bug
Priority: minor
Component: GetComponents
Currently GetComponents assumes that the `$USER` environment variable is set. This is not true inside of docker containers and requires some workarounds in the Dockerfile to handle correctly.
Pull request [https://github.com/gridaphobe/CRL/pull/11/files](https://github.com/gridaph… instead uses Perl’s `getpwuid` to get the user name from the OS which does not rely on USER. I tested getpwuid to work fine in a Ubuntu container.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2612/getcomponents-ass…
#2174: Test "Multi Patch Scalar Wave Equation" example
Reporter: Roland Haas
Status: closed
Milestone: ET_2022_05
Version: development version
Type: task
Priority: major
Component: EinsteinToolkit website
Changes (by William Gabella):
status: closed (was open)
Comment (by William Gabella):
The example is updates.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2174/test-multi-patch-…
#2174: Test "Multi Patch Scalar Wave Equation" example
Reporter: Roland Haas
Status: open
Milestone: ET_2022_05
Version: development version
Type: task
Priority: major
Component: EinsteinToolkit website
Comment (by William Gabella):
I have updated the tarball and the www site for this example. I believe the gallery example update is finished. Let me know of any problems with it/them.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2174/test-multi-patch-…
#2174: Test "Multi Patch Scalar Wave Equation" example
Reporter: Roland Haas
Status: open
Milestone: ET_2022_05
Version: development version
Type: task
Priority: major
Component: EinsteinToolkit website
Comment (by William Gabella):
Re-ran the example with the final code, after Code Freeze. Same results. Ran reasonably quick and was able to use VisIT to produce the image \(for the web page\) and to view the animation of that data.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2174/test-multi-patch-…
#2611: disable use of mathml in online HTML docs
Reporter: Roland Haas
Status: open
Milestone:
Version: development version
Type: bug
Priority: minor
Component: Cactus
Changes (by Roland Haas):
status: open (was new)
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2611/disable-use-of-ma…