You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed all the steps in the guide but when it came time to run the .bat it denied me access and then proceeded to close the cmd. I already tried opening it with administrator and restarting the PC but no difference, I don't know if it's my fault or the fault of the pc
Created a new folder at C:\Users\simon\Downloads\ovconfig
Created a new file atC:\Users\simon\Downloads\ovconfig\config.py containing the below configuration
Opened a new command prompt at C:\Users\simon\Downloads\overviewer\ and ran the command overviewer.exe --config="C:\Users\simon\Downloads\ovconfig\config.py" 1>>C:\Users\simon\Downloads\ovconfig\log.txt
The command completed successfully, and generated a map output at C:\Users\simon\Desktop\output\
Configuration
worlds["My world"] ="C:/Users/simon/Desktop/render_test"texturepath="C:/Users/simon/Downloads/client.jar"renders["normalrender"] = {
"world": "My world",
"title": "Normal Render of My World",
}
outputdir="C:/Users/simon/Desktop/output"
Thoughts
Is the file at C:\Users\koked\Documents\SampleOverviewerFiles\Log writable? Check the read only flag and the security permissions on the Log file and the containing SampleOverviewerFiles folder
Is C:\Users\koked\Documents\SampleOverviewerFiles\Log actually a file, or is it a folder? It need not exist (a file will be created there), but it cannot be a folder.
Try running Overviewer without the redirection (from the 1>> to the end).
Check the security permissions on overviewer.exe includes the "Read and execute" flag
Check any security software you have running that might be getting in the way.
Follow the steps you told me but when I run the command it gives me this
The log file you told me about was a folder, and I already deleted it and tried the sample again and it gives me the same error in config.py and deleted 1>> the command does not run for some reason, I also deactivated windows defender in case that was the problem and it gives me the same error
This is clearly an improvement on your last situation as Overviewer has made progress.
I think your problem now is your use of backslashes (/) in the file paths. Python uses backslashes as an escape character, so you should either double up the backslashes or replace with forward slashes (/). See my example config file above.
Activity
stwalkerster commentedon Sep 25, 2024
I've not been able to reproduce this issue as reported.
What I did:
C:\Users\simon\Downloads\overviewer\C:\Users\simon\Desktop\render_test\C:\Users\simon\Downloads\client.jarC:\Users\simon\Downloads\ovconfigC:\Users\simon\Downloads\ovconfig\config.pycontaining the below configurationC:\Users\simon\Downloads\overviewer\and ran the commandoverviewer.exe --config="C:\Users\simon\Downloads\ovconfig\config.py" 1>>C:\Users\simon\Downloads\ovconfig\log.txtThe command completed successfully, and generated a map output at
C:\Users\simon\Desktop\output\Configuration
Thoughts
C:\Users\koked\Documents\SampleOverviewerFiles\Logwritable? Check the read only flag and the security permissions on theLogfile and the containingSampleOverviewerFilesfolderC:\Users\koked\Documents\SampleOverviewerFiles\Logactually a file, or is it a folder? It need not exist (a file will be created there), but it cannot be a folder.1>>to the end).overviewer.exeincludes the "Read and execute" flagKokedlm commentedon Sep 26, 2024
Follow the steps you told me but when I run the command it gives me this
The log file you told me about was a folder, and I already deleted it and tried the sample again and it gives me the same error in config.py and deleted 1>> the command does not run for some reason, I also deactivated windows defender in case that was the problem and it gives me the same error
stwalkerster commentedon Sep 26, 2024
This is clearly an improvement on your last situation as Overviewer has made progress.
I think your problem now is your use of backslashes (
/) in the file paths. Python uses backslashes as an escape character, so you should either double up the backslashes or replace with forward slashes (/). See my example config file above.Kokedlm commentedon Oct 1, 2024
I change the backslashes in the python and now de cmd doesn't do anything, not even a error and where do i put the double backslashes
stwalkerster commentedon Oct 1, 2024
Please can you provide a copy of your configuration file?