Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The moon is a planet just like the Earth, only it is even deader.


devel / comp.lang.python / [Errno 2] No such file or directory:

SubjectAuthor
o [Errno 2] No such file or directory:joseph pareti

1
[Errno 2] No such file or directory:

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: joeparet...@gmail.com (joseph pareti)
Newsgroups: comp.lang.python
Subject: [Errno 2] No such file or directory:
Date: Wed, 28 Jul 2021 18:09:15 +0200
Lines: 36
Message-ID: <mailman.277.1627488568.4164.python-list@python.org>
References: <CAN_spzgrVzj5dpOzBdcCc1QZww-vb=NSfVtxaSE3CqcKY3aobg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de v8OslmFbPu5w1EelMtTW5QDJEJ9HLiG8vP3Z9dmuh97w==
Return-Path: <joepareti54@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=H+pcLC/X;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'traceback': 0.04; '(most':
0.05; 'joseph': 0.05; 'last):': 0.05; '1600': 0.09; '797': 0.09;
'fails': 0.09; 'skip:\xc2 20': 0.09; 'import': 0.14; '+39': 0.16;
'0644': 0.16; '209cell': 0.16; 'from:addr:joepareti54': 0.16;
'from:name:joseph pareti': 0.16; 'pareti': 0.16; "pareti's": 0.16;
'skip:/ 80': 0.16; 'subject:directory': 0.16;
'url:joepareti54-ai': 0.16; 'subject:] ': 0.19; 'skip:_ 10': 0.23;
'subject:file': 0.23; 'to:addr:python-list': 0.23; 'code': 0.24;
'skip:p 30': 0.26; 'raise': 0.31; 'to:name:python': 0.32;
'subject:[': 0.32; 'message-id:@mail.gmail.com': 0.33;
'received:google.com': 0.34; 'following': 0.35;
'from:addr:gmail.com': 0.35; 'received:209.85.208': 0.36; 'cell':
0.37; 'received:209.85': 0.38; 'file': 0.38; 'received:209': 0.38;
"skip:' 20": 0.40; 'skip:e 10': 0.60; 'services': 0.63;
'consulting': 0.63; 'consultant': 0.74; 'subject:such': 0.84;
'subject::': 0.89
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=RBJlQZE057+joWMTGuMk2TMqK+Rd8QdsKCqcPFCbxQk=;
b=H+pcLC/XUrSgK1wQDMBletN44SMQyFh/j4bP7Mk2Mptsg8ay0MIRLcwrMVJxuItDgz
oXwvsCqS+zD1B1FqXSRMi8zvMniTqofI3cMkXltuPENXAonD4loz3hlJ7Zmd/BgWYUAk
2PVy9k2MgeAwAtvwpvT6qUgI3rdF6MDi25x4bUw67mJJDBFgE7z+zToOygfNvGQbu88/
ovKjW7U3ZaJ+7hsSa7gjkiB9i3CUBZ/xgMycP9QJk7EDnhLV2C+coN6+Hd7cckC/lIOh
ZRtDRMlB5raCqWH/GLB81Lx82AeL7FNWBS0N4HfZ/W9hv9fyE2g1kO3x+6kKJEosaYX/
CfCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=RBJlQZE057+joWMTGuMk2TMqK+Rd8QdsKCqcPFCbxQk=;
b=AcFzqow7Xfr1GVEFfJyMiBduV3pmH+XTh89WU18oc7lQf9gJHex5PvPF4NZNKeqoHP
wwdHcejECTmdAocRu5vT1EwCTsgMAMSsJNaleHPxhYMVybE75weaMGh32Zg7tGUHoW7l
/AYzmUuzoMcA7+dCxfYgkVjL7XY8mFxOoJcxLq3qjgRPTnZ9gIHbMDd7mNGG5Z03/dYp
llGQ9BCBig8P7ZJr6ZUbfzzFY01dmyJUtLLpLD2ZbfGqBpDTbUJ60vKsR9g78Ft1cKNJ
DEYhwtx8mlGb9eE2DR55LQ8PRC18xp/9HzrYbP0O713aoPOICCTdMxVPRF6/L5XQP7Fb
UDgg==
X-Gm-Message-State: AOAM533CfcelfJNQ53NUIgTcz8JZoyQWxN/GDbg4dDJ7xG6UiBuoWrsC
pTIpNrGu/zj+FBXsqcpTfC1ZJqBeTHrPu/QxFBMlSSOQkKkusVz/
X-Google-Smtp-Source: ABdhPJxIcpfe/TEpZJwIQvBUxHNJ+lyOEuDhPRAOKwQ6VZ9l2Oc5gSEn9ex1xd2bqz3MdbNkyP3zK9A82BDH1TPxTzA=
X-Received: by 2002:a05:6402:30a2:: with SMTP id
df2mr642017edb.363.1627488565867;
Wed, 28 Jul 2021 09:09:25 -0700 (PDT)
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <CAN_spzgrVzj5dpOzBdcCc1QZww-vb=NSfVtxaSE3CqcKY3aobg@mail.gmail.com>
 by: joseph pareti - Wed, 28 Jul 2021 16:09 UTC

The following code fails as shown in the title:

*import subprocesscmd = 'ls -l
/media/joepareti54/Elements/x/finance-2020/AI/Listen_attend_spell/VCTK-Corpus/wav48
| awk "{print $9 }"'process = subprocess.Popen([cmd],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)stdout, stderr =
process.communicate()print('stdout ',stdout)print('stderr ',stderr)*

----

Traceback (most recent call last):
File "PreProcess_1a.py", line 3, in <module>
process = subprocess.Popen([cmd], stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
File "/home/joepareti54/anaconda3/lib/python3.8/subprocess.py", line 854,
in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/joepareti54/anaconda3/lib/python3.8/subprocess.py", line
1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ls -l
/media/joepareti54/Elements/x/finance-2020/AI/Listen_attend_spell/VCTK-Corpus/wav48
| awk "{print $9

--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor