Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about txt files #4

Open
duan147 opened this issue May 15, 2018 · 2 comments
Open

about txt files #4

duan147 opened this issue May 15, 2018 · 2 comments

Comments

@duan147
Copy link

duan147 commented May 15, 2018

File "G:/python daima/pylsd-master/pylsd/lsd.py", line 31, in lsd
fp = open(temp, 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'G:/python daima/pylsd-master/pylsd/61617ntl.txt'
please Tell me how these txt files are generated

@mollenhauerm
Copy link

Experiencing the same issue.

lsdlib.lsdGet(src, ctypes.c_int(rows), ctypes.c_int(cols), temp)

is supposed to create a temporary file under path temp, from where the C output is to be read afterwards. Obviously, this is not happening.

@shashd
Copy link

shashd commented Sep 12, 2019

use this code,it will solve the problem:
lsdlib.lsdGet(src, ctypes.c_int(rows), ctypes.c_int(cols), ctypes.c_char_p(bytes(temp,'utf-8')))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants