{"action":"closed","issue":{"url":"https://api.github.com/repos/gregvonkuster/galaxy-csg/issues/27","labels_url":"https://api.github.com/repos/gregvonkuster/galaxy-csg/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/gregvonkuster/galaxy-csg/issues/27/comments","events_url":"https://api.github.com/repos/gregvonkuster/galaxy-csg/issues/27/events","html_url":"https://github.com/gregvonkuster/galaxy-csg/issues/27","id":121933034,"number":27,"title":"Error when selecting png file for texture","user":{"login":"pletzer","id":3027118,"avatar_url":"https://avatars.githubusercontent.com/u/3027118?v=3","gravatar_id":"","url":"https://api.github.com/users/pletzer","html_url":"https://github.com/pletzer","followers_url":"https://api.github.com/users/pletzer/followers","following_url":"https://api.github.com/users/pletzer/following{/other_user}","gists_url":"https://api.github.com/users/pletzer/gists{/gist_id}","starred_url":"https://api.github.com/users/pletzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pletzer/subscriptions","organizations_url":"https://api.github.com/users/pletzer/orgs","repos_url":"https://api.github.com/users/pletzer/repos","events_url":"https://api.github.com/users/pletzer/events{/privacy}","received_events_url":"https://api.github.com/users/pletzer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-13T17:48:48Z","updated_at":"2016-01-07T21:23:53Z","closed_at":"2016-01-07T21:23:53Z","body":"@gregvonkuster Selecting a png file for texture does not work\r\n\r\nI created a default box and uploaded the png file\r\n![testbolt](https://cloud.githubusercontent.com/assets/3027118/11768321/72fc7322-a186-11e5-88fa-a6602bd79252.png)\r\n\r\nThen I add texture to shape using a max edge length of 10 and I get the following error, which suggests that jpeg reader was used in place of the png reader. \r\n\r\n--Alex\r\n\r\nERROR: In /var/lib/openshift/5611ccc02d52713b6000010c/app-root/data/source/vtklite/VTK-6.3.0/IO/Image/vtkJPEGReader.cxx, line 174\r\nvtkJPEGReader (0x268d730): libjpeg could not read file: /var/lib/openshift/5611ccc02d52713b6000010c/app-root/data/source/galaxy/database/files/000/dataset_90.dat\r\n\r\nERROR: In /var/lib/openshift/5611ccc02d52713b6000010c/app-root/data/source/vtklite/VTK-6.3.0/IO/Image/vtkJPEGReader.cxx, line 357\r\nvtkJPEGReader (0x268d730): libjpeg could not read file: /var/lib/openshift/5611ccc02d52713b6000010c/app-root/data/source/galaxy/database/files/000/dataset_90.dat\r\n\r\nTraceback (most recent call last):\r\n  File \"/var/lib/openshift/5611ccc02d52713b6000010c/app-root/data/source/galaxy/tools/csg/icqsol_add_texture.py\", line 38, in <module>\r\n    vtk_poly_data = shape_mgr.addTextureToVtkPolyData(vtk_poly_data, texture_file=args.input_texture, max_edge_length=max_edge_length)\r\n  File \"build/bdist.linux-x86_64/egg/icqsol/shapes/icqShapeManager.py\", line 215, in addTextureToVtkPolyData\r\nTypeError: SetTuple argument 2: expected a sequence of 3 values, got 1 values\r\n\r\n\r\n"}}