Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Avoid the Gates of Hell. Use Linux (Unknown source)


devel / comp.lang.python / Fwd: pygame.midi input/output not working

SubjectAuthor
o Fwd: pygame.midi input/output not workingPatrick EGLOFF

1
Fwd: pygame.midi input/output not working

<mailman.1297.1671687200.20444.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=25275&group=comp.lang.python#25275

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: pegloff@gmail.com (Patrick EGLOFF)
Newsgroups: comp.lang.python
Subject: Fwd: pygame.midi input/output not working
Date: Thu, 22 Dec 2022 06:33:07 +0100
Lines: 65
Message-ID: <mailman.1297.1671687200.20444.python-list@python.org>
References: <CA+Q=Bo=Scjg7w9JQjJbXLBQxsz7PQsbkuHn6h7Jt88cE6CgQRQ@mail.gmail.com>
<1ded41e3-3551-fed8-f836-ee8c60aea5af@tompassin.net>
<CA+Q=BonvK7LPae1f9Kf+uzv2s_hbq_tQM+Bz=ZzW1ODC8uBayg@mail.gmail.com>
<CA+Q=BomYhY6L24ARM92hc30-iXi5hQHqSHxsqUf9=E8c5ejH+g@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de 2xyfsDPwka0111WxoBriGw5pqu1c+zrZOrRoluqSu28w==
Return-Path: <pegloff@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=XP/WraGq;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.007
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'this:': 0.03; 'pip': 0.04;
'2022': 0.05; 'libraries.': 0.07; 'pygame': 0.07; 'python.': 0.08;
'page:': 0.09; 'subject:not': 0.09; '&gt;': 0.14; 'url:mailman':
0.15; 'problem.': 0.15; '"add': 0.16; '3.9': 0.16; 'remember,':
0.16; 'subject:output': 0.16; 'subject:working': 0.16;
'uninstalled': 0.16; 'wrote:': 0.16; 'python': 0.16; 'says': 0.17;
'figure': 0.19; 'pm,': 0.19; 'to:addr:python-list': 0.20;
'option': 0.20; 'machine': 0.22; 'instructions': 0.22; 'version':
0.23; 'install': 0.23; 'code': 0.23; 'command': 0.23; 'installed':
0.23; 'skip:p 30': 0.23; 'url:wiki': 0.23; 'run': 0.23; "i'd":
0.24; 'url-ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24':
0.25; 'python,': 0.25; 'url:listinfo': 0.25; 'url-ip:188.166/16':
0.25; 'subject:Fwd': 0.26; 'computer': 0.29; 'packages': 0.31;
'url-ip:188/8': 0.31; 'execution': 0.32; 'message-
id:@mail.gmail.com': 0.32; 'someone': 0.34; 'same': 0.34;
"didn't": 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'fine': 0.35; 'runs': 0.35;
'following': 0.35; 'from:addr:gmail.com': 0.35; 'change': 0.36;
'using': 0.37; 'received:209.85': 0.37; 'means': 0.38; 'thanks':
0.38; 'received:209': 0.39; 'ago': 0.39; 'use': 0.39; 'wrote':
0.39; 'still': 0.40; 'ide': 0.40; 'email addr:gmail.com': 0.63;
'email': 0.63; 'url-ip:104.26/16': 0.64; 'patrick': 0.64; 'your':
0.64; 'required': 0.65; 'day': 0.66; 'time.': 0.66; 'earlier':
0.67; 'worked': 0.67; 'back': 0.67; 'url:%0': 0.67; 'live': 0.68;
'site': 0.70; 'url:%20': 0.71; 'it...': 0.84; 'url-
ip:104.26.12/24': 0.84; 'url-ip:104.26.13/24': 0.84; 'weird':
0.84; '\xc3\xa9crit\xc2\xa0:': 0.84; 'shame': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=mRVzNPeQwMuibWKt8ngk05Ty7wTuodHkwUfWvQbwWes=;
b=XP/WraGqm1se8G+2ex8xnkxAgcwRN6XCOKLy7r1cgGnLTN1MVkqhNJAMOcq4R+lhGZ
FyRVkAICqzj1MS6quhZUPIIlOXyYLxPRSZAetqysBVM9w8Jz80tGPW0JkrNSYqQh3OG8
S0Xm9YRU22lnJGFjjLSslvuQ7t3dgCfI3y4gaQ/+Y11HlryWMQis6c4pCU632J8VWo2q
CW4nriLUVioB0Ph5YJyO6giBBL2btYrRWHpEm3YpFy0OZrI3EqN5yShaEiZR7U7nYUFH
Mdr7TF22LYoIzq1fBkeTJ/66ksvqlkPalbeojaULpkzsM8M5I5kjNjXkw6TVryXdFgKT
2qsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=mRVzNPeQwMuibWKt8ngk05Ty7wTuodHkwUfWvQbwWes=;
b=mrq+0rIkQQ4yo/ixC2jdmevb2deJ7jc5qZBRIZqR9Nokh2dkW49yN4KwmkEK+p4gcr
8QxvWQyGQvWJFvfMRB04JEkBiH0nK2QgOzDY+3S2kwxlO7BT7hDanEMjABAxfgm4iT/P
A19BKxYmR6urdBTiDywd3uSRkVgZpVUvp9yLFT8WlidHKLPxmkBc3iUP+/RPVsikajjd
ZE1rZ0roVszOdnOFeCeNuCF5YzT/C4cRqrnQkF3EFmyJnb/wAcQNRePd6YjXt9/nhm0G
j3kz9opztJmHnKp1ODxiFX14LKxrzVbNQBjPAtV/FI7ct3a+Zp+Ir+tBurl4YGz4ijeq
Bk/Q==
X-Gm-Message-State: AFqh2kpw6kFN5676pd3lyyp3nXRRVzOZNE5rmz8mW31nzSgzlM4gBGoR
avQNBIu+r9ddZDpmyDH3wYTuKYdDhH1qNWStiGcihCaH
X-Google-Smtp-Source: AMrXdXs6uEyntmXNKHb/YRWtJVkI9jdEVSNnW5NBEvdW4iRJiT++mzRtXZ/96pMj3CIvN5I4mMCpGnNelE1OaOHEZWs=
X-Received: by 2002:ac2:5ec9:0:b0:4b5:570c:e060 with SMTP id
d9-20020ac25ec9000000b004b5570ce060mr222624lfq.148.1671687198168; Wed, 21 Dec
2022 21:33:18 -0800 (PST)
In-Reply-To: <CA+Q=BonvK7LPae1f9Kf+uzv2s_hbq_tQM+Bz=ZzW1ODC8uBayg@mail.gmail.com>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CA+Q=BomYhY6L24ARM92hc30-iXi5hQHqSHxsqUf9=E8c5ejH+g@mail.gmail.com>
X-Mailman-Original-References: <CA+Q=Bo=Scjg7w9JQjJbXLBQxsz7PQsbkuHn6h7Jt88cE6CgQRQ@mail.gmail.com>
<1ded41e3-3551-fed8-f836-ee8c60aea5af@tompassin.net>
<CA+Q=BonvK7LPae1f9Kf+uzv2s_hbq_tQM+Bz=ZzW1ODC8uBayg@mail.gmail.com>
 by: Patrick EGLOFF - Thu, 22 Dec 2022 05:33 UTC

Hi Thomas,

Thanks for the answer AND solution !
That was it... shame on me, I didn't notice this warning.

I uninstalled 3.11.1 and installed 3.10.9, and my software is back to live
!

Now I have to figure out another problem. I will make another post about
this serial weird behavior.

Thanks for making my day !
Patrick

Le mer. 21 déc. 2022 à 23:27, Thomas Passin <list1@tompassin.net> a écrit :

> On 12/21/2022 4:32 PM, Patrick EGLOFF wrote:
> > HI,
> > Some time ago I wrote a small software using pygame.midi
> > It worked just fine with Win10/ python 3.9 / SDL 2.0.14 / pygame 2.0.1
> >
> > I had to change my computer and now I installed Win10 / Python 3.11.1 /
> SDL
> > 2.0.18 / pygame 2.1.2
> >
> > The following instructions don't work anymore, making the IDE stop
> > execution :
> >
> > my_input = pygame.midi.Input(MidiDeviceIn)
> > midi_out = pygame.midi.Output(MidiDeviceOut)
> >
> > Does someone have a suggestion?
>
> The pygame web site says this:
>
> "Pygame still does not run on Python 3.11"
>
> Also from the same page:
>
> "Make sure you install python with the "Add python to PATH" option
> selected. This means that python, and pip will work for you from the
> command line."
>
> See https://www.pygame.org/wiki/GettingStarted#Pygame%20Installation
>
> So what to do until pygame runs in Python 3.11? I'd install an earlier
> version of Python. You can have several versions on your machine at the
> same time. Remember, you have to install all the required packages with
> each version of Python - they don't use each other's code or libraries.
> --
> https://mail.python.org/mailman/listinfo/python-list
>

--
Patrick Egloff
email : pegloff@gmail.com
Web page : http://www.egloff.eu

--
Patrick Egloff
email : pegloff@gmail.com
Web page : http://www.egloff.eu


devel / comp.lang.python / Fwd: pygame.midi input/output not working

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor