1,670 questions
-2
votes
0
answers
75
views
Is it possible to dynamically create buttons in WPF based on the number of devices set in an INI file? [duplicate]
Assuming the number of devices is set in the config.ini file as follows:
[Device]
Count = 10
When my WPF program starts, I want to automatically create buttons based on the Count value. For example, ...
0
votes
0
answers
35
views
ini file - mark where variable shall be [duplicate]
I have created an ini file with loads of strings set into an array
ini-file:
_GO = Go
_CANCEL = Cancel
_LEFT = Left
_RIGTH = Right
_NEXT = Next
_PREVIOUS = Previous
_DIRECTION = Direction
_ASCENDING = ...
0
votes
0
answers
132
views
Why does PHP not find ini files even though it scanned the directory they're in?
I'm trying to run composer install but it's not finding my extensions. It suggests I run php --ini as a debug step, and it reports "(none)" additional .ini files parsed:
- Running `php --...
0
votes
0
answers
37
views
Copying and pasting PHP.ini-development and renaming to 'php.ini' doesn't work [duplicate]
I wanted to try out PHP v8.4 and installed the Windows version from PHP.net, but there's an issue: there's no PHP.ini configuration file and I need to enable some things. There's just php.ini-...
0
votes
1
answer
73
views
Unable to setup a PHP variable "max_input_vars"
I'm trying to install the moodle cms on debian12 and php8.2.
I have followed the official guide.
I'm trying to set the variable max_input_vars to the value of 5000 editing the system php.ini file at ...
0
votes
1
answer
71
views
Spark-submit warns about non-Spark properties from an ini file but works when passed directly
I have an ini file that sets some environment-specific properties.
cmds.ini
[DEV]
spark_submit=spark3-submit
[PROD]
spark_submit=spark3-submit
I am parsing this file in shell script and creating ...
0
votes
1
answer
46
views
Received error Salaros.Configuration.ConfigParserException: 'This key value pair is orphan, ....."
I'm trying to make a program the saves value to ini file. Already imported Salaros.configparser, declare path with string and try to save some value after some dropdowm value with yes and no.
I follow ...
0
votes
1
answer
327
views
When to Use dotenv, .YAML, .INI, .CFG and .TOML in Project?
I’m a bit confused about the different configuration file formats: dotenv, YAML, INI, CFG(inc: .conf, .cfg, .config), and TOML. They all seem to serve the same purpose of storing configurations, keys ...
0
votes
1
answer
73
views
How to edit /etc/krb5.conf from cli with the "git config" command?
I'm trying to edit /etc/krb5.conf with the git config command according to this example.
I tried this :
$ git config --file=/etc/krb5.conf libdefaults.renew_lifetime 7d
error: invalid key: libdefaults....
0
votes
1
answer
228
views
Trying to update pytest.ini file during runtime but the settings are not picked up for the same test execution instance
`I'm trying to update pytest.ini file during runtime (Wanted the log folder to pick up current date and time as a file name) but the settings are not picked up for the same test execution.
For example,...
0
votes
1
answer
68
views
ConfigParser - write a list as a duplicate key
I have searched stackoverflow but can't seem to find an answer similar to mine.
Most people want to parse duplicate keys, however I want to write them. (I'd prefer to do this using async file writes ...
1
vote
0
answers
556
views
Cannot access Filament admin panel pages except dashboard in the production website
"laravel/framework": "^10.10",
"filament/filament": "3.2",
"php": "^8.1",
I am facing one error in this laravel jetstream filament ...
0
votes
1
answer
106
views
Passing a Boolean variable from configuration file to tkinter checkbox
I have a problem with the behavior of checkboxes when working with the configparser for Python. The checkbox should be either checked or unchecked depending on a Boolean variable stored in config.ini. ...
2
votes
1
answer
86
views
php.ini Path Disagreement
There are two tools commonly used to identify the configuration file path of php.ini. But in my environment, Ubuntu running Apache and PHP 8.2.21, the two tools disagree.
From my browser, running a ...
0
votes
0
answers
94
views
Is there a way to know which .user.ini files have been loaded for the currently running php script?
Since the .user.ini per directory php ini files can be used to set the auto_append_file setting, thus prepending each and every php script in the folder with another script, I wanted to know if and ...
-1
votes
1
answer
67
views
How can I parse a .ini file with this type of format?
I would like to parse a generated .ini file containing some config parameters, but I am a little uncertain of the format used. I am not able to change the format of the generated .ini file. This is a ...
0
votes
1
answer
85
views
how to get the source dir of the exe file in c#
I created a setup project in Visual Studio.
In this project I need to run a C# application as customer action during installation and I need the path of the setup file (.exe).
How can I get the source ...
-2
votes
1
answer
114
views
Read ini key longer than 255 characters
I would like to read the key from the ini file and load it into the listbox.
Everything works until the ini key exceeds 255 characters, then it gives an error
ini look like here:
[Islands]
name=...
0
votes
0
answers
93
views
How can I write to an .INI config file without loading the entire file first
I am trying to write to a .ini file without having to load the entire file first. It seems like a waste of CPU to load a INI file just to make a small change and write the entire file out again. ...
1
vote
1
answer
60
views
How to correctly import JS modules?
I want to parse ini file
Here is my html code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" ...
0
votes
1
answer
43
views
How to read config kind file using shell script
I have a file names.txt
[Fruits]
Apple
Banana
Orange
[Vegetables]
Carrots
Spinach
I need to display the Apple, Banana and Oranges if the condition is met as Fruits. Similarly, if the condition is met ...
1
vote
1
answer
77
views
Problem with parsing a INI file into structs with Boost Spirit
I'm trying to store INI file information in a struct with this code:
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/spirit/include/qi.hpp>
#include <iostream>
#...
0
votes
0
answers
101
views
Parsing INI Configuration File with Java: Section Values Missing
I'm working with an INI configuration file in Java and encountering issues with extracting values using both ini4j and IniEditor by Nik Haldimann. The structure of the configuration file is as follows:...
0
votes
1
answer
54
views
Setup access.ini file permession so it can be read by php script
I'm really new to this so sorry if this isn't clear.
I'm trying to hide my database credentials using an access.ini file.
I have a AWS instance, with my scripts located in /bitnami/joomla/index (in ...
0
votes
0
answers
53
views
php read nested sections in ini file
I try to read the file names.ini below
into a php array and then access certain
repeating sections within the code.
My code does not work correct, the base
problem seems to be, that ini files don't
...
-2
votes
1
answer
62
views
strange Java org.ini4j.Ini behaviour - file is edited without intentional edit
I am having an ini file, which is my coniguration for a Java application.
I am using org.ini4j.Ini for the purpose of reading and editing the file.
ini = new Ini(new File("config.ini"));
[.....
0
votes
0
answers
59
views
ConfigParser can't read file when using Relative Imports in Local Package
I am getting this error --
Traceback (most recent call last):
File "F:\Coding\user.py", line 2, in <module>
from db_handler.handler import check
File "F:\Coding\db_handler\...
0
votes
1
answer
444
views
How to use dynamic SQL queries from an .ini file?
I'm a newbie in Delphi and software programming.
I want to find some advice for using queries from a .ini file.
It is my purpose that when I choose some file names in a DBGrid first, and click a ...
-1
votes
2
answers
149
views
Is there a way to make the ini file easy to see?
I made a INI file using C# script (GetPrivateProfileString, WritePrivateProfileString)
and the result is below
[SectionA]
valueA=0
valueB=1
valueC=2
[SectionB]
valueD=0
valueE=1
valueF=2
but this ...
0
votes
0
answers
55
views
Kivy: calling app.config.get in .kv only returns string values bounded by " ", even with raw=True - the same call in .py correctly returns raw string
I am attempting to use a settings.ini file within a kivy project. This settings file is simply a list of filepaths to various graphical assets.
In the .py file, all calls to self.config behave as ...
0
votes
2
answers
95
views
Reading specific line in batch file
I'm trying to get a specific value's variable from a setup.ini with a batch script.
The variable's name is ProductId and I noticed that I have multiple variables with this name, but in different ...
0
votes
2
answers
116
views
Export column with with additional text to Notepad++ for INI File
I'm trying to create a formatted INI file using Excel.
Let's say I have a column of IP addresses. I'd like the column exported to an INI file with text before and after the IP address.
My INI file ...
0
votes
1
answer
228
views
Read ini files with PowerBI and keep sections
I would like to create a PowerBI dashboard using a large number of .ini files.
The .ini files are located in an Azure blob storage and are read in via the function integrated in PowerBI. This works ...
1
vote
1
answer
89
views
How to check php.ini / php settings about crypting (BLOWFISH)
My websites's user login function suddenly stopped working on a rented server( web hosting service) ( It worked wonderfully before for YEARS.) Because I didn't changed anything, the database is also ...
1
vote
1
answer
611
views
How to change the section name of an INI file via TMemIniFile or TIniFile?
Is there a method to change the section name of an INI file in Delphi, via TMemIniFile or TIniFile?
I try to find but cannot find one.
0
votes
1
answer
445
views
displaying all key values from an ini file
I have an ini file that I want to get all the dates from. Currently what I have is only getting the first date. I have tried running my function in a loop, but it was still only giving me the 1st date....
-1
votes
4
answers
116
views
Reverse search ini section
Assume this .ini file.
[section_x]
my_value=abc
another_value=def
[section_2]
my_value=stv
another_value=xyz
[this_one]
my_value=something
another_value=sure
Assume the system has the value ...
0
votes
2
answers
766
views
problem when trying to issue "composer update" command in vs code terminal on linux
I want to give the command "composer update" in a folder but this error always appears below, the same error also appears when I write in the terminal "php --version", "...
0
votes
1
answer
105
views
Loop through config.ini file in python
I'm trying to loop through my config.ini file using values in that same config.ini file.
In my config.ini file I have the following:
[Machine_List]
List = Machine01,Machine02,Machine03
[SQL_Query]
...
0
votes
2
answers
227
views
GetPrivateProfileString without remove quotes
I have a ini file content below:
[Test]
Item="123","456"
I use the code below to parse the value.
But I found it didn't return the value I expected.
Seems like the function will ...
0
votes
1
answer
31
views
I'm using Danny Beckett's tiny Ini file, and it is working great. However, I'd like to store a historical list of recent files. Can this be added?
As mentioned in the title, I'm using Danny Beckett's ini file class defined here: Reading/writing an INI file
It works really great, and met all my initial requirements. However, I'd really like to be ...
1
vote
0
answers
131
views
Trying to log an .exe and get error message "UniPaas cabinet file (ecf) does not exist" and "abnormal termination" can not open ecf file
I am trying to troubleshoot a 3rd party UniPaaS / Magic software. The program uses simple serial protocol to communicate with another machine using com ports. I am getting the error "user ...
0
votes
0
answers
52
views
Kivy config.ini Not Saving Changes
So I have an app I built in Python/Kivy. I need the window to not resize, which I have accomplished by putting the graphics/resizable option to 0 in both Python and the config.ini file. In PyCharm, ...
0
votes
2
answers
883
views
How to convert JSON to INI-Format
i would like to know, if there is a way with javascript or typescript to
convert JSON to INI-Format. Im Newbie.
from:
{
"peerEndpoint": "blub.bla:49997",
"peerPublicKey":...
1
vote
2
answers
62
views
How to read { and ( from .ini configs file
i have the below posted password, and it saved in .ini config. file. the following characters are marked or highlighted in red: ( and {
how can i be able to read them
here is how i created the .ini ...
1
vote
1
answer
173
views
Trouble logging into CouchDB after restarting
I newly installed CouchDB on my computer and I have been experiencing troubles logging in. As a macOS user, I enter the ini file located at
Library/Preferences/couchdb_local.ini
where I modified the ...
0
votes
1
answer
78
views
Where is the file if the Filename parameter is NULL in WritePrivateProfileString
When I use winbase.h and windows.h to read/write .ini file, I found that I can use the function
bool b = WritePrivateProfileStringA("App","key","test", NULL);
...
0
votes
3
answers
2k
views
Unmarshaling INI file using Viper Go is not working as expected
I am using viper for app configuration.
Code sample is below.
package main
import "github.com/spf13/viper"
type Config struct {
WelcomeMessage string `mapstructure:"message"`
...
2
votes
1
answer
239
views
Delphi - With a Interface inside a Interface I get a Memory leak but don't know why
My goal is, to get a Settings interface, that hold Information of my App Settings. That could be Informations, that are only relevant when the App is runing and Informations that should be permanent. ...
0
votes
1
answer
2k
views
How to rotate a Rainmeter skin
I have a skin "Simple Clean" for rainmeter and I would like to rotate it to align it with a particular element on my wallpaper.
I want to align that visualizer with one of those lines. How ...