question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't launch demo

See original GitHub issue

When I try to launch the demo, even though the example dataset is in place cortex.load gives the following error:

ds = cortex.load("/home/.../Research/pycortex/S1_retinotopy.hdf")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/placeholder/anaconda2/lib/python2.7/site-packages/cortex/dataset/__init__.py", line 76, in from_file
    ds.h5 = h5py.File(filename)
  File "/home/placeholder/anaconda2/lib/python2.7/site-packages/h5py/_hl/files.py", line 260, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
  File "/home/placeholder/anaconda2/lib/python2.7/site-packages/h5py/_hl/files.py", line 114, in make_fid
    fid = h5f.create(name, h5f.ACC_EXCL, fapl=fapl, fcpl=fcpl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/home/ilan/minonda/conda-bld/work/h5py/_objects.c:2579)
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/home/ilan/minonda/conda-bld/work/h5py/_objects.c:2538)
  File "h5py/h5f.pyx", line 96, in h5py.h5f.create (/home/ilan/minonda/conda-bld/work/h5py/h5f.c:1989)
IOError: Unable to create file (Unable to open file: name = '/home/placeholder/research/pycortex/s1_retinotopy.hdf', errno = 17, error message = 'file exists', flags = 15, o_flags = c2)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
jamesgaocommented, Apr 29, 2016

Have you installed pycortex to the system, IE running python setup.py install? You can’t run pycortex from the source directory because there is a compiled module. If you really want to run from the source directory, you’ll need to run python setup.py build_ext --inplace first.

0reactions
neurotenguincommented, Apr 29, 2016

Yep. The problem was example dataset was within the pycortex source folder. Moved it elsewhere, and it works. Thanks a bunch!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix for demo not launching!! :: Trepang2 General Discussions
It's great to see there is a work around for the people the have issues starting it. This is the fix I was...
Read more >
Games do not run after 'Preparing to Launch' - Steam Support
If a game won't launch, this is often caused by corruption in your extracted game files.
Read more >
Fix Steam Game Not Launching 2022 (General Fix Guide
Game or games not starting in Steam? Can't figure out why? New to Steam? Well, this video covers all the basics for fixing...
Read more >
Detroit Become Human demo won't launch : r/EpicGamesPC
Detroit Become Human demo won't launch. I guess my PC is too low for this game but saw some people manage to play...
Read more >
Demos (Steamworks Documentation)
You'll need to create a new Steam account and activate a key for your demo to fully test the installation and launching of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found