Closed MarabuRLI closed 7 years ago
I just noticed this recently as well. The "views" folder is a newly added feature and didn't make it into the demo subject. Should be an easy fix.
For now you can just create an empty "views" directory inside the subject directory, and everything should work!
On Apr 29, 2014, at 13:26, Kuraimegami notifications@github.com wrote:
I am trying to run the demo but it seems there is a folder missing After: ds = cortex.openFile("D:\Programme\Anaconda\S1_retinotopy.hdf") The error masseges is (translated to english): The system can't find the given path: 'D:\Programme\Anaconda\share\pycortex\db\S1\views/* .* ' I cecked the folder "S1" it contains folders called: anatomicals, surfaces and transforms as well a .svg file of the ROIs So is this "views" folder missing or is there another problem that i don't see? Thank you in advance (Pls consider i'm using Windows and am pretty new to Python)
— Reply to this email directly or view it on GitHub.
I thought Mark actually fixed this. However, if the directory was created before the fix was released, you will need to manually create the views directory. I'll check on the status of this...
Thank you two for your fast reply, alex have you also tried the last line "cortex.webshow(ds)"? Because i'm running in to an error there now ...maybe i did sth wrong while installing after all.
What error are you seeing? We should be able to get you running if you can describe what problem you're having.
well the error looks like that: In [1]: import cortex
In [2]: ds = cortex.openFile("S1_retinotopy.hdf")
AttributeError Traceback (most recent call last)
Ah! Thanks for the very detailed debugging. I know the problem here -- I have a small script that loads up all the possible colormaps in the configured colormap directory. However, I'm using a regular expression to only grab the PNGs. A regular expression that only includes "/" as the directory separator. This breaks on windows because windows uses "\" instead of "/"
I will fix this ASAP.
Hi, can you give this new code a try? This is definitely the first time we've tried this with windows.
hi thank you for your effort. i think the "NoneType"-error is fixed. But i had to comment out line 82 "surfs.auxfile = ds" of the cortex/dataset/ init .py added while the "Fix up packed datasets" to figure out if it is fixed. (i found the line by trial-and-error) otherwise i got this: In [1]: import cortex
In [2]: ds = cortex.openFile("S1_retinotopy.hdf") HDF5-DIAG: Error detected in HDF5 (1.8.9) thread 0:
major: Symbol table
minor: Can't open object
major: Symbol table
minor: Object not found
major: Symbol table
minor: Object not found
sal failed major: Symbol table minor: Object not found
tor failed major: Symbol table minor: Callback failed
n't exist major: Symbol table minor: Object not found
ValueError Traceback (most recent call last)
hi, since there are so many errors with windows and i'm yet so unfamiliar with the package i decided to go with linux for now. the demo works fine there ^^
Sorry I couldn't help you further with Windows. We are a primarily Linux and Mac lab, so we didn't even have a Windows computer to test this with. I will set up a Virtual Machine and fix all the associated bugs. I'll keep this issue open until I fix all the Windows problems!
I am trying to run the demo but it seems there is a folder missing After: ds = cortex.openFile("D:\Programme\Anaconda\S1retinotopy.hdf") The error message is (translated to english): The system can't find the given path: 'D:\Programme\Anaconda\share\pycortex\db\S1\views/* ._* ' I cecked the folder "S1" it contains folders called: anatomicals, surfaces and transforms as well a .svg file of the ROIs So is this "views" folder missing or is there another problem that i don't see? Thank you in advance (Pls consider i'm using Windows and am pretty new to Python)