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

Cant get past device selection list #7

Open
JSkye3293 opened this issue Dec 8, 2019 · 2 comments
Open

Cant get past device selection list #7

JSkye3293 opened this issue Dec 8, 2019 · 2 comments

Comments

@JSkye3293
Copy link

Hello, I appreciate this being public however I am having issues getting past the device selection list. It crashes repeatedly, I have all the files installed and localized, I am running Win10 Pro (latest). Here is the output from PowerShell:
My comments are in parentheses.

(1st Attempt)

PS C:\Users\skyj3\Desktop\midi2vjoy-master\midi2vjoy-master\midi2vjoy> python.exe .\midi2vjoy.py -t
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Input MIDI devices:
1 loopMIDI Port
2 loopMIDI Port 1
3 JSkye-slayer
4 WORLDE easy control
Select MIDI device to test: JSkye-slayer
Traceback (most recent call last):
File ".\midi2vjoy.py", line 199, in
main()
File ".\midi2vjoy.py", line 192, in main
midi_test()
File ".\midi2vjoy.py", line 45, in midi_test
d = int(input('Select MIDI device to test: '))
ValueError: invalid literal for int() with base 10: 'JSkye-slayer'

(The one above I realized what I did wrong)

(2nd attempt)

PS C:\Users\skyj3\Desktop\midi2vjoy-master\midi2vjoy-master\midi2vjoy> python.exe .\midi2vjoy.py -t
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Input MIDI devices:
1 loopMIDI Port
2 loopMIDI Port 1
3 JSkye-slayer
4 WORLDE easy control
Select MIDI device to test:3
Opening MIDI device: 3
Fatal Python error: (pygame parachute) Segmentation Fault
Python runtime state: initialized

Current thread 0x00002f54 (most recent call first):
File "C:\Users\skyj3\AppData\Local\Programs\Python\Python38\lib\site-packages\pygame\midi.py", line 280 in init
File ".\midi2vjoy.py", line 50 in midi_test
File ".\midi2vjoy.py", line 192 in main
File ".\midi2vjoy.py", line 199 in

(3rd attempt)

PS C:\Users\skyj3\Desktop\midi2vjoy-master\midi2vjoy-master\midi2vjoy> python.exe .\midi2vjoy.py -t
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Input MIDI devices:
1 loopMIDI Port
2 loopMIDI Port 1
3 JSkye-slayer
4 WORLDE easy control
Select MIDI device to test:4
Opening MIDI device: 4
Traceback (most recent call last):
File ".\midi2vjoy.py", line 50, in midi_test
m = pygame.midi.Input(d)
File "C:\Users\skyj3\AppData\Local\Programs\Python\Python38\lib\site-packages\pygame\midi.py", line 280, in init
self._input = _pypm.Input(device_id, buffer_size)
File "pypm.pyx", line 531, in pypm.Input.init
Exception: b"PortMidi: `Host error'"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File ".\midi2vjoy.py", line 199, in
main()
File ".\midi2vjoy.py", line 192, in main
midi_test()
File ".\midi2vjoy.py", line 57, in midi_test
m.close()
UnboundLocalError: local variable 'm' referenced before assignment

(4th attempt)

PS C:\Users\skyj3\Desktop\midi2vjoy-master\midi2vjoy-master\midi2vjoy> python.exe .\midi2vjoy.py -t
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Input MIDI devices:
1 loopMIDI Port
2 loopMIDI Port 1
3 JSkye-slayer
4 WORLDE easy control
Select MIDI device to test: 1
Opening MIDI device: 1
Fatal Python error: (pygame parachute) Segmentation Fault
Python runtime state: initialized

Current thread 0x00005228 (most recent call first):
File "C:\Users\skyj3\AppData\Local\Programs\Python\Python38\lib\site-packages\pygame\midi.py", line 280 in init
File ".\midi2vjoy.py", line 50 in midi_test
File ".\midi2vjoy.py", line 192 in main
File ".\midi2vjoy.py", line 199 in
PS C:\Users\skyj3\Desktop\midi2vjoy-master\midi2vjoy-master\midi2vjoy>

(I gave up after this one)

Many thanks in advance! Willing to help to the best of my ability however im better at C++.
-JSkye3293

@CaptainFS
Copy link

I got the same error. Something wrong with this version of Pygame?

@bafonso
Copy link

bafonso commented Sep 9, 2020

I'm getting the same. My pygame version is 1.9.6 on this PC.

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

3 participants