Code Monkey home page Code Monkey logo

Comments (8)

peircej avatar peircej commented on June 11, 2024

We need more info about the crash. Could you open a windows explorer and go to the location %APPDATA%/psychopy3. In there you'll find a file called lastAppLoad.log. Could you upload the contents of that file please so we can see a crash report?

from psychopy.

1302557841 avatar 1302557841 commented on June 11, 2024

We need more info about the crash. Could you open a windows explorer and go to the location %APPDATA%/psychopy3. In there you'll find a file called lastAppLoad.log. Could you upload the contents of that file please so we can see a crash report?

0.4230 DEBUG Opening message catalog C:\Program Files\PsychoPy\lib\site-packages\psychopy\localization..\app\locale\zh_CN\LC_MESSAGE\messages.mo for locale zh_CN
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
Hello from the pygame community. https://www.pygame.org/contribute.html
PTB-INFO: Using modified PortAudio V19.7.0-devel, revision unknown
Error in function GetDevices: Usage error
PTB-ERROR: PortAudio can't detect any supported sound device on this system.
PsychPortAudio:GetDevices: Usage:

devices = PsychPortAudio('GetDevices' [, devicetype] [, deviceIndex]);
Traceback (most recent call last):
File "C:\Program Files\PsychoPy\Lib\site-packages\psychopy\app\psychopyApp.py", line 103, in
main()
File "C:\Program Files\PsychoPy\Lib\site-packages\psychopy\app\psychopyApp.py", line 99, in main
start_app()
File "C:\Program Files\PsychoPy\Lib\site-packages\psychopy\app\psychopyApp.py", line 27, in start_app
_ = startApp(showSplash=showSplash) # main loop
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app_init_.py", line 84, in startApp
psychopyApp = PsychoPyApp(
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app_psychopyApp.py", line 236, in init
self.onInit(testMode=testMode, **kwargs)
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app_psychopyApp.py", line 453, in onInit
from psychopy.app import coder, builder, runner, dialogs
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder_init.py", line 5, in
from .builder import BuilderFrame
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py", line 125, in
class BuilderFrame(BaseAuiFrame, handlers.ThemeMixin):
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py", line 128, in BuilderFrame
routineTemplates = TemplateManager()
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py", line 110, in init
self.updateTemplates()
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py", line 117, in updateTemplates
thisExp = experiment.Experiment()
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\experiment_experiment.py", line 150, in init
settingsComp = getComponents(fetchIcons=False)['SettingsComponent']
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\experiment\components_init.py", line 218, in getComponents
module = import_module(explicit_rel_path, package=pkg)
File "C:\Program Files\PsychoPy\lib\importlib_init_.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\experiment\components\camera_init.py", line 25, in
micDevices = syst.getAudioCaptureDevices()
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\systemtools.py", line 211, in getAudioCaptureDevices
allDevices = getAudioDevices() # gat all devices
File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\systemtools.py", line 164, in getAudioDevices
allDevs = audio.get_devices(device_type=13)
File "C:\Program Files\PsychoPy\lib\site-packages\psychtoolbox\audio.py", line 70, in get_devices
return PsychPortAudio('GetDevices', device_type, device_index);
Exception: PTB-ERROR: PortAudio can't detect any supported sound device on this system.
8.1225 WARNING Font Manager failed to load file C:\Users\Administrator\AppData\Local\Microsoft\Windows\Fonts\小米兰亭Pro 中粗.ttf
8.3440 WARNING Font Manager failed to load file C:\Users\Administrator\AppData\Local\Microsoft\Windows\Fonts\小米兰亭Pro 中粗.ttf
10.0245 WARNING Font Manager failed to load file C:\Users\Administrator\AppData\Local\Microsoft\Windows\Fonts\小米兰亭Pro 中粗.ttf
10.2131 WARNING Font Manager failed to load file C:\Users\Administrator\AppData\Local\Microsoft\Windows\Fonts\小米兰亭Pro 中粗.ttf
11.3455 DEBUG Looking for Tobii device configuration file...
11.3470 DEBUG No Tobii device configuration file found.
11.3471 DEBUG Looking for SR Research EyeLink device configuration file...
11.3481 DEBUG No SR Research EyeLink device configuration file found.
11.3482 DEBUG Looking for Gazepoint device configuration file...
11.3492 DEBUG No Gazepoint device configuration file found.
11.3493 DEBUG Looking for PupilLabs device configuration file...
11.3509 DEBUG No PupilLabs device configuration file found.
13.0111 WARNING Font Manager failed to load file C:\Users\Administrator\AppData\Local\Microsoft\Windows\Fonts\小米兰亭Pro 中粗.ttf
13.1652 WARNING Font Manager failed to load file C:\Users\Administrator\AppData\Local\Microsoft\Windows\Fonts\小米兰亭Pro 中粗.ttf
14.7102 INFO Trying to load audio library: PTB
14.8359 INFO Loaded psychtoolbox audio version 3.0.18.606399524
14.8363 INFO sound is using audioLib: ptb

from psychopy.

peircej avatar peircej commented on June 11, 2024

OK thanks. I don't think this is anything to do with processor N5105. From the error it looks like you don't have any microphone connected that's causing PsychoPy to fall over (most computers have at least one mic these days). We'l certainly look into why caused it to crash but in the meantime you might be able just to add a mic?

from psychopy.

1302557841 avatar 1302557841 commented on June 11, 2024

OK thanks. I don't think this is anything to do with processor N5105. From the error it looks like you don't have any microphone connected that's causing PsychoPy to fall over (most computers have at least one mic these days). We'l certainly look into why caused it to crash but in the meantime you might be able just to add a mic?

Sorry, this is a sever without a microphone. I want psychopy to run the local web version.

from psychopy.

peircej avatar peircej commented on June 11, 2024

The local web version? I'm not sure what you mean. PsychoPy doesn't run as a server. It's a desktop application. If you want to run experiments online then you need to use PsychoJS instead (PsychoPy can output a javascript script) but running psychopy on a server is not something we support

from psychopy.

1302557841 avatar 1302557841 commented on June 11, 2024

The local web version? I'm not sure what you mean. PsychoPy doesn't run as a server. It's a desktop application. If you want to run experiments online then you need to use PsychoJS instead (PsychoPy can output a javascript script) but running psychopy on a server is not something we support

I want to run studies in PsychoJS on my local browser, not through pavlovia.org. Use NAT to run PsychoJS experiments on other computers.

from psychopy.

peircej avatar peircej commented on June 11, 2024

Yes, installing PsychoPy on the server is not a part of getting that to work. PsychoPy in not installed on Pavlovia anywhere. The scripts that are generated by PsychoPy are uploaded there but they don't use PsychoPy to run -by that point they are fully independent of the app

from psychopy.

1302557841 avatar 1302557841 commented on June 11, 2024

Yes, installing PsychoPy on the server is not a part of getting that to work. PsychoPy in not installed on Pavlovia anywhere. The scripts that are generated by PsychoPy are uploaded there but they don't use PsychoPy to run -by that point they are fully independent of the app

Please tell me what should I do if I want to run my experiment on my server, thank you

from psychopy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.