Questions tagged [configuration-files]
Files that configure the initial settings for some computer programs.
2,250
questions
1
vote
0
answers
7
views
GridDB Error CM_NOT_SUPPORTED - How to Check and Set Specified Index Type for a Column?
I'm currently working with GridDB, and I've encountered the "CM_NOT_SUPPORTED" error. From my research, it seems to be related to checking whether a specified index type can be set for a ...
0
votes
0
answers
24
views
Unable to access new File("webapp/WEB-INF/classes/hibernate.cfg.xml") in a servlet environment [duplicate]
I am creating a hibernate project and I have problems creating a sessionFactory in a servlet.
I'm using Glassfish 7.0.82 and JDK 20.
I have a HibernateUtil class
import org.hibernate.SessionFactory;
...
0
votes
0
answers
33
views
Internationalization is not working for spring reactive that is also when using flatmap which is asynchronous
By passing Locale field to the validateExistingShipments method ...it is
0
votes
0
answers
19
views
SpringBoot service application port 1433 problem with external datasource config values
I am developing a simple web service application in Spring boot.I am using HikariCP, MSSQL server 2012
My application passes all tests and runs successfully on server, when my datasource settings are ...
0
votes
1
answer
16
views
How to collect data from one host osquery agent to cenral server?
//hOST MACHINE configuraTION"
{
"options": {
"distributed_plugin": "tls",
"distributed_interval": "3600",
"enroll_tls_endpoint" : "...
0
votes
0
answers
6
views
Store config for individual ConfigurationElement in external .NET config file
I've seen that we can use the configSource attribute on certain sections in a .NET configuraton file. For example, connectionStrings, appSettings, etc. I'm looking for a way to do this on the level of ...
0
votes
0
answers
21
views
Dll Config not being recognized
I'm working on a dll (MyExtension.dll) that will be an extension for a host application. When the host application launches it recognizes the dll and makes the functionality available to the user. My ...
1
vote
1
answer
69
views
how can I make readthedocs find my configuration file which is already in GitHub project repository root directory?
I am trying to publish a Python package's documentation on readthedocs.org.
It was being published in previous releases. However, I am getting
"The configuration file required to build ...
0
votes
0
answers
41
views
configparser Not Recognizing Sections in config.ini
I'm trying to use the configparser module in Python to read from a config.ini file. Despite having a [example_section] in my config.ini file, when I run my script, it keeps printing that the section ...
1
vote
0
answers
28
views
A human-readable ASCII configuration/serialization file format with comments and parsers for multiple languages that preserve order and comments [closed]
My project uses .py files as config files right now. They are very hard to modify from scripts, we had to write our own simplified-python parser. The config files are complex, lots of dicts and we ...
0
votes
0
answers
44
views
Creating default user configuration files if missing in spring boot
How can I have spring create a default configuration file for the end user if it does not exist at the target location. I would like this configuration file to be mapped to a bean after it has been ...
0
votes
2
answers
252
views
Cypress: cypress-cloud configuration can't load due to typscript
I need to run cypress tests locally before figuring them out in Jenkins. The config file I'm wanting to use works properly when I run npm run cypress open --config-file=cypress/config/cypress.test....
0
votes
0
answers
22
views
Apache 2.4 directory access
I have to create code inside the directory container in my main Apache 2.4 configuration file .
I need to permit access from everywhere including 137.37.120.1 (which was previously written with ...
1
vote
2
answers
174
views
How to properly read and write .cfg files through python
I need help with reading and writing to .cfg files in Python. The .cfg files that I want to read and write have a specific format which cannot be changed.
An example .cfg file:
[META]
title = "...
1
vote
0
answers
73
views
Issue with Using Published NPM Library: Empty Object Returned when Consuming the Library
I am currently using ToolJet to create a report template. I have successfully built the project and published it to deployment platforms like Netlify. However, when I attempted to build it for ...
0
votes
0
answers
76
views
How to set mimimum level to serilog sinks in appsettings.json
Microsoft.Extensions.Logging Trace vs Serilog Verbose
the workaround: https://github.com/Su-s/serilogworkaround
this is the configuration in my appsettings.json
"WriteTo": [
{
&...
1
vote
0
answers
91
views
AppStore Review Rejecting Subscription Because They Aren't Selecting the StoreKit Configuration
I've been working with the AppStore Review process for several iterations, and their most recent message to me was this:
"We noticed that your app did not meet all the terms and conditions for ...
0
votes
0
answers
77
views
Why am I getting an ERR_CONNECTION_REFUSED error when trying to run HTML/CSS files with 'run without debugging'?
I'm not really a programmer, I'm just learning some basic stuff. So I was working on some html/css and I tried to "run without debugging" and it gave me a blank page, telling me "This ...
0
votes
0
answers
103
views
How to replace application.properties entries and expose them as a code or bean
In our team, we agreed that we are gonna use all of the configurations as a code (let's Say AppConfiguration class) i.e :
@Value("${spring.datasource.url:jdbc:postgresql://localhost:5432/postgres}...
0
votes
0
answers
27
views
How to change color of brackets, parentheses and braces in ZeroBrane IDE apart of operators?
I included this code into user.lua:
styles.operator = {fg = {104,151,187}}
The color of operators has changed, everthing is ok with operators, such as =, ==, <, but somehow 3 kind of brackets also ...
0
votes
0
answers
34
views
How to save a ConfigurationSection in a config file without specifying the version?
I'm using a custom ConfigurationSection that I'm saving into a file:
System.Configuration.Configuration configuration = ConfigurationManager.OpenMappedExeConfiguration(configFileMap, ...
0
votes
1
answer
156
views
Connect to External JanusGraph Server With JanusGraphFactory
Problem
How do you connect to an external JanusGraph Server with JanusGraphFactory?
I don't know what I'm doing and new to JanusGraph and Graph-Databases in-general.
What is the JanusGraph > ...
0
votes
0
answers
36
views
How do I share application settings with other classes java android
Working through java/android learning curve... I created a text file where I want to keep all the settings for my app. Reading these from the file is working OK. Now, how could I simply use these ...
0
votes
0
answers
36
views
configure directory with custom localhost in c#
i have create localhost using following code in c#
static HttpListener _httpListener = new HttpListener();
[STAThread]
static void Main()
{
Console.WriteLine("Starting ...
0
votes
1
answer
101
views
line 15: unexpected EOF while looking for matching `"'
When I try to start my ark server made with lgsm it states the following error:
arkserver@ark-HP-Compaq-Elite-8300-SFF:~$ ./arkserver start
/home/arkserver/lgsm/config-lgsm/arkserver/arkserver.cfg: ...
0
votes
0
answers
111
views
How to get a config file provider plugin configuration using python client?
I have Jenkins instance with the Config File Provider Plugin installed, and I have configured some files using this plugin. I want to retrieve the configuration of these files programmatically using ...
1
vote
0
answers
140
views
Failed to load configuration files in docker container
i have a microservice application written in Go. Each service has a Dockerfile and config file in their directories. Here's the structure of my project https://i.stack.imgur.com/lvelM.png. When i ...
0
votes
1
answer
58
views
Is there a way to change git's default configuration file?
I see git allows me to choose any file I want as a global exclude file but it can't see that you can change the default global configuration file ?
Did I miss it or is it impossible? Are there ...
-1
votes
2
answers
211
views
postgresql.conf file on TimescaleDB official Docker image is all commented, why?
The postgresql.conf file found in /var/lib/postgresql/data is all commented (I checked)
like this:
but when I try to get some configurations using: SELECT current_setting('autovacuum')
why is that? ...
0
votes
1
answer
257
views
Write in configuration files of prometheus pod in microk8s
I'm using the microk8s addon prometheus and I want to define new jobs in order to monitoring specific pods.
I can access to the console of the pod prometheus-k8s-0 but I can't write in any of the ...
0
votes
0
answers
68
views
Question about the COTURN config file - Is it safe to map my own IP address?
There is an environment variable in the config file -
# External IP-Address of the TURN server external-ip=IP_ADDRESS
I am assuming that this is where you map your host server's IP address - but is ...
0
votes
0
answers
49
views
Program stopped accessing Config file
I´ve developped a C# program and I have a problem with configuration file.
I use Visual Studio 2022 and Windows 10. The DB is SQL Server.
To start, the program acesses the configuration file to read ...
0
votes
3
answers
3k
views
How to configure 'TLS1.2 only' in OpenSSL 1.0.2 config file?
I would like to update the configuration of OpenSSL 1.0.2 (specifically 1.0.2k-fips as found on AWS's Amazon Linux 2 AMIs), so that any client using OpenSSL refuses TLSv1.1, TLSv1, or anything lower ...
0
votes
0
answers
47
views
how to read array from json settings file in net 6
i need to read this section from web api project in net 6
{
"ProductsMigration": {
"Products": [
{
"Product":
{
"...
-1
votes
1
answer
62
views
Is it possible to automatically run a cmd command when I open a particular folder in VS code?
So I am working on a project where I have activate a python virtual environment in the cmd terminal so when I heard about task in vs i tried to implement it. But almost all I found was related to npm ...
0
votes
0
answers
15
views
How to discard annotations based on size with tensorflow 2 object detection API’s pipeline config
I am using tensorflow 2 object detection api with a custom dataset to train object detection networks. Some of the labels in the dataset are too big and cover regions that they should not cover. Is ...
0
votes
1
answer
79
views
Right datastore to store vernacular application data in backend, based on users input language
We are building a vernacular application in which we need to show the information/content to the user based on the language selected by user. Currently we support English and 10 regional languages.
...
1
vote
1
answer
312
views
apoc installed on neo4j desktop but no apoc procedures registered for database
I cannot get APOC to work on neo4j.
Documentation is good ... when present!
I installed the apoc library via Neo4j Desktop:
Launch Neo4j Desktop
Locate DBMS
Select Plugins tab on right
installed the ...
0
votes
0
answers
136
views
Spring boot JedisConnectionFactory not loading settings from application.yml
I have a spring book (kotlin) app using Jedis to connect to redis.
Spring has documented a list of common connection properties for redis. My understanding from reading blog posts and documentation is ...
0
votes
1
answer
597
views
How to specify opentelemetry configuration file path
I want to filter some endpoints and omit them from telemetry. I put opentelemetry-javaagent.jar in project folder and specify path in JAVA_OPTS variable. I run my application with next parameters:
...
0
votes
1
answer
69
views
How to pass text in configuration file with a call to parameter
I have a package that sends emails, I have it set with a configuration file so I can pass a parameter with the addresses, attachments, etc. that I want to use, one of these parameters is the ...
0
votes
0
answers
438
views
How do I encrypt a ConfigurationSection in ASP.NET Core 7.0?
I have a project with an appsettings.Development.json file, to which I've added the following section:
"ConnectionStrings": {
"Database one": "<Host...;Username=...;...
1
vote
1
answer
705
views
Docker Can't find kubernetes Config File
I'm trying to containerize a python application, where I used the Kubernetes package. My Dockerfile is:
FROM python:3.10.6
ADD App_pod.py .
ADD config.yml ~/.kube/config
RUN pip3 install requests ...
1
vote
1
answer
438
views
How can we inject properties into wso2 Micro Integrator and Enterprise Integrator using file.properties?
I want to use the .car file on another server without using integration studio. So I want to be able to change the hostname and port dynamically using a configuration file. My endpoint URL has ...
-2
votes
1
answer
233
views
Python .toml and .cfg nonsense?
I am having a hard time configure proper cfg and toml files....
I just want to understand these, I am coming from a Java background, and nothing clear from my researches.
Why namespaces are so bad ? ...
1
vote
1
answer
38
views
ConfigurationManager.RefreshSection doesn't work with web.config but work with app.config
I made some tests in a console application and all is working properly.
After calling:
ConfigurationManager.RefreshSection("appSettings");
I'm able to access settings with ...
0
votes
2
answers
211
views
Trying to read a config file in order to connect to twitter API
I am brand new at all of this and I am completely lost even after Googling, watching hours of youtube videos, and reading posts on this site for the past week.
I am using Jupyter notebook
I have a ...
1
vote
2
answers
333
views
I want to create json file by substituting values from environment variables in a json template file
One requirement of mine is - Using windows, not use any tools not already available as part of aws cli or windows
For example, I have this json file test.json with below content:
"My number is $...
1
vote
2
answers
143
views
How to read a TRUE or FALSE from a .conf file with Powershell?
I am trying to build a small program that shutdown WSL and other programs that are running WSL in it like Windows Terminal.
I want the user to be able to set TRUE or FALSE in a .conf file variable ...
0
votes
1
answer
115
views
Can I use System.ConfigurationManager to read another config file - in PowerShell
We have some config parms in our BizTalk config file. I'd like to access them in PowerShell using System.ConfigurationManger, rather than writing a custom function to parse the xml and do it.
I'm ...