environ is a Clojure library for accessing environment variables
Questions tagged [environ]
52 questions
2
votes
1 answer
Set environment variables in Counterclockwise
I am trying to set production and dev profiles in Eclipse in order to deploy my compojure/ring app on Heroku. However, the Counterclockwise plug-in doesn't load up environment variables from the profile. I have added the variables in the environment…

Nasko Apostolov
- 43
- 5
1
vote
1 answer
Is it safe to use Environ("Username") as authentication method in MS Access / Active Directory?
I'm developping an application within our small company environment. This is our setup in a nutshell:
Employees log into their PCs via their Active Directory login
The application I'm developing uses MS Access as the front end and MS SQL Server…

ThomassoCZ
- 73
- 6
1
vote
1 answer
Add new Environment Variable Name and Value
I wanted to set a new Environment Variables Name "Sample" and Value "E:\Sample" onto user variables not on system variables.
How do I do this using VBA excel?
Thank you and kind regards,

vague guy
- 29
- 4
1
vote
2 answers
Replace a variable Environ in vba
Please, I had already create à variable Environ("MYXLSPATH")
Dim vr As String
vr = "SETX MYXLSPATH """ & ThisWorkbook.FullName & """"
Call Shell(vr)
And now, I want to replace the content of this variable by: "NAME"
Dim vr As…

farouq mousmi
- 11
- 1
1
vote
3 answers
Why does my Environ import doesn't import .env variables?
I'm building a Django app but I've got an issue. I've imported the environ package in order to store all my variables in a .env file, but actually it seems my app doesn't read it and I can't get why.
Here is my .env…

Davide
- 435
- 1
- 5
- 12
1
vote
1 answer
Issue loading PYOMO. I cannot use Pyomo
I have tried to install pyomo with the extras in pip and also using later Conda. Everything shows to be fine but when I try to use it, I receive the following error.
from pyomo.environ import *
File "C:....\pyomo.py", line 8, in
from…

srgam
- 366
- 1
- 13
1
vote
1 answer
Editing an automated naming macro in excel (based on PC name and date, with variable save path)
I'm currently trying to get an excel file to save into YYYYMMDD_fixed name piece_INITIALS OF LAST PERSON TO EDIT.
I'm using Environ function to call the User's and PC's name in a cell that i've found can be used to add to the name.
The issues i'm…

ciuncky
- 15
- 4
1
vote
1 answer
In Visual Basic 6, Environ() function returns null value for CLIENTNAME
I have a legacy application in Visual Basic 6 that uses the Environ() function to get the environment variable CLIENTNAME.
The function returns no value. However, if I use the command "SET CLIENTNAME" from the shell, I get the correct value.
If the…

JGarate
- 13
- 2
1
vote
3 answers
Copying strings from extern char environ in C
I have a question pertaining to the extern char **environ. I'm trying to make a C program that counts the size of the environ list, copies it to an array of strings (array of array of chars), and then sorts it alphabetically with a bubble sort. It…

Dawson Binder
- 25
- 4
1
vote
1 answer
how to query specific profile with environ
I know (env) gives the full environment and (env :something) does a single lookup. Is there any way to query the contents of a profile? For instance, get a map of everything defined in the dev profile?

Chip
- 75
- 8
1
vote
2 answers
UserProfile environ on vba
First I'm new to vba coding . I wrote a form in Access 2013 - VBA and created a function that generates a PDF/txt document on button click, thing is that boss wants it to save on a shared folder that´s located on %userprofile% path - like…

Alex
- 487
- 1
- 5
- 10
1
vote
1 answer
Environ("username") returning wrong user names
When I execute my Access application across alternating sessions, the function Environ("username") returns the user name of a person in my department other than the actual user whose machine I am then currently using to execute the code.
No other…

Eric Hondzinski
- 65
- 10
1
vote
2 answers
Clojure Environ sending map to java
I'm new to Clojure, and I'm working with an application that has leiningen + clojure + java
the problem is with the plugin lein-environ "1.0.0".
within the app, its using a lot the "env" map. either by reading existing values defined within the…

cesaregb
- 765
- 1
- 11
- 27
0
votes
1 answer
A variable imported with environ doesn't transfer to another file
I have two files in my Telegram bot called loader.py and start_message.py:
loader.py:
from aiogram import Bot, Dispatcher
import environ
from environment import TOKEN
bot = Bot(token=TOKEN)
dp = Dispatcher(bot)
loader.py works perfectly well and…

Anna
- 101
- 8
0
votes
1 answer
How do I persist environment variable changes in python?
import os
os.environ['my_variable'] = 'hello world'
you are able to edit the environment variable while the python process is running but as soon as the python process is terminated, the environment variable changes do not persist. most…