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

Error in demo/simple_visualization.py : [w] Data not available on remote server #16

Open
Pallavi-code opened this issue Jan 22, 2020 · 1 comment

Comments

@Pallavi-code
Copy link

Hi,
I am using your code to test the AR/VR. Thanks for your contribution. I need one help in executing the code. I am stuck at last stage "demo/simple_visualization.py" script. I have successfully completed all the steps and data is been created. But when I run demo/simple_visualization.py I am getting the below error.

[i] Requesting "texture.png" from remote server
I0122 12:15:35.454744 13646 init.py:49] [i] Requesting "texture.png" from remote server
[w] Data not available on remote server
W0122 12:15:36.370683 13646 init.py:53] [w] Data not available on remote server
Traceback (most recent call last):
File "demo/simple_visualization.py", line 157, in
field['u_texture'] = data.get(join(opt.path_to_data, 'texture.png'))
File "/usr/local/lib/python3.6/dist-packages/glumpy/data/init.py", line 167, in get
return load(filename, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/glumpy/data/init.py", line 173, in load
extension = os.path.basename(filename).split('.')[-1]
File "/usr/lib/python3.6/posixpath.py", line 146, in basename
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Please guide me to resolve this issue.

@krematas
Copy link
Owner

krematas commented Feb 5, 2020

I think it doesn't find the texture.png. I will check if its in the repo, but a quick solution would be to have a simple image as "texture.png" (that used to be the soccer field).

@krematas krematas closed this as completed Feb 5, 2020
@krematas krematas reopened this Feb 5, 2020
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

2 participants