JuliaIO / ConfParser.jl

Julia package for parsing configuration files
Other
44 stars 17 forks source link

The Configuration file could not be opened #8

Closed erdongwei closed 8 years ago

erdongwei commented 8 years ago

I have installed the package, and when used it to open a .ini file, it says that the configuration file could not be opened. The following is the code, anyone have an idea?

using ConfParser push!(LOAD_PATH,pwd()) conf = ConfParse("voting.ini") parse_conf!(conf)

zznop commented 8 years ago

@erdongwei could provide the content in the configuration file and the error output? Do you have proper permissions to open the file?

zznop commented 8 years ago

@erdongwei I'm going to close this issue because I don't think it's a ConfParser issue. If it's a config file format problem ConfParser will throw an error when trying to auto-identify the syntax. An error stating a file can't be opened usually eludes to a permissions problem.