Closed lisadang27 closed 6 years ago
Hi,
Sorry, I can't reproduce this. Can you tell what OS you're using? Also, could you try deleting the server file list ($HOME/.ldtk/server_file_list.pkl if you haven't set the LDTK_ROOT or cache directory separately), since it might be that the file is corrupted for some reason.
Cheers, Hannu
I've a similar issue where it seems to have an issue with the server file. I'm running the sample script given on the Github page. I am currently on Python 3.6.1 64 bit. Originally the code did not work so I changed a single line in the code from os.getenv('HOME') to os.getenv('USERPROFILE') as HOME was not recognized as a valid keyword. This change created C:\Users\Reamonn.ldtk as it should have. It should be noted that when I run print(os.getenv('LDTK_ROOT')) in a notebook, it returns a value of none. Should LDTK_ROOT point to a specific directory later in the code?
I am operating on windows 8.1 64 bit.I have tried to delete the server_file_list.pkl and rerunning the code. The file is located in: C:\Users\Reamonn.ldtk, but it seems to have a file size of 0KB and be empty when I try to open in in notepad++. Any help would be appreciated in this. Regards Reamonn
TypeError Traceback (most recent call last)
Hi,
Unfortunately I don't have access to a Windows machine. You can set LDTK_ROOT to point to a directory you want to use as the root directory for LDTk, and it will override the default $HOME/.ldtk, but it doesn't need to be set if the default directory is ok.
I'll need to add some compatibility code for LDTk to work in Windows, and will add $USERPROFILE/.ldtk as the default root directory for Windows (unless there are more appropriate directories?). I'll be also very happy to include any solutions you may find. I haven't used Windows much since Win95/98, so I can be of little help...
Hi,
First of all, thank you for this limb-darkening coefficient prior calculator tool!
I am currently using Python 3.6 and I have run into what seems to be a compatibility problem. I tried running the example given here: https://github.com/hpparvi/ldtk But ran into the following error which I have not yet been able to resolve:
Any idea? Thank you!