* 4b32c9ae068beccc3755c48784253e96c31cfd46 brakes devtool
@ 2020-06-22 15:00 Anton Kachalov
2020-06-22 15:38 ` Andrew Geissler
0 siblings, 1 reply; 2+ messages in thread
From: Anton Kachalov @ 2020-06-22 15:00 UTC (permalink / raw)
To: OpenBMC Maillist
[-- Attachment #1: Type: text/plain, Size: 5799 bytes --]
The commit 4b32c9ae068beccc3755c48784253e96c31cfd46 brakes the command
like: "devtool modify phosphor-dbus-interfaces" in a way:
Running on python 3.7.7.
ERROR: Error executing a python function in exec_python_func()
autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:devtool_post_unpack(d)
0003:
File: '/.../openbmc/meta/classes/devtool-source.bbclass', lineno: 68,
function: devtool_post_unpack
0064:}
0065:
0066:
0067:python devtool_post_unpack() {
*** 0068: import oe.recipeutils
0069: import shutil
0070: sys.path.insert(0, os.path.join(d.getVar('COREBASE'),
'scripts', 'lib'))
0071: import scriptutils
0072: from devtool import setup_git_repo
File: '/.../openbmc/meta/lib/oe/recipeutils.py', lineno: 21, function:
<module>
0017:import shutil
0018:import re
0019:import fnmatch
0020:import glob
*** 0021:import bb.tinfoil
0022:
0023:from collections import OrderedDict, defaultdict
0024:from bb.utils import vercmp_string
0025:
File: '/.../openbmc/poky/bitbake/lib/bb/tinfoil.py', lineno: 19, function:
<module>
0015:from collections import OrderedDict, defaultdict
0016:from functools import partial
0017:
0018:import bb.cache
*** 0019:import bb.cooker
0020:import bb.providers
0021:import bb.taskdata
0022:import bb.utils
0023:import bb.command
File: '/.../openbmc/poky/bitbake/lib/bb/cooker.py', lineno: 25, function:
<module>
0021:import bb, bb.exceptions, bb.command
0022:from bb import utils, data, parse, event, cache, providers,
taskdata, runqueue, build
0023:import queue
0024:import signal
*** 0025:import prserv.serv
0026:import pyinotify
0027:import json
0028:import pickle
0029:import codecs
File: '/.../openbmc/poky/bitbake/lib/prserv/serv.py', lineno: 7, function:
<module>
0003:#
0004:
0005:import os,sys,logging
0006:import signal, time
*** 0007:from xmlrpc.server import SimpleXMLRPCServer,
SimpleXMLRPCRequestHandler
0008:import threading
0009:import queue
0010:import socket
0011:import io
File: '/usr/lib/python3.7/xmlrpc/server.py', lineno: 117, function: <module>
0113:import socketserver
0114:import sys
0115:import os
0116:import re
*** 0117:import pydoc
0118:import traceback
0119:try:
0120: import fcntl
0121:except ImportError:
File: '/usr/lib/python3.7/pydoc.py', lineno: 374, function: <module>
0370: return module
0371:
0372:# ---------------------------------------------------- formatter
base class
0373:
*** 0374:class Doc:
0375:
0376: PYTHONDOCS = os.environ.get("PYTHONDOCS",
0377: "
https://docs.python.org/%d.%d/library"
0378: % sys.version_info[:2])
File: '/usr/lib/python3.7/pydoc.py', lineno: 406, function: Doc
0402: raise TypeError(message)
0403:
0404: docmodule = docclass = docroutine = docother = docproperty =
docdata = fail
0405:
*** 0406: def getdocloc(self, object,
basedir=sysconfig.get_path('stdlib')):
0407: """Return the location of module docs or None"""
0408:
0409: try:
0410: file = inspect.getabsfile(object)
File: '/usr/lib/python3.7/sysconfig.py', lineno: 513, function: get_path
0509: """Return a path corresponding to the scheme.
0510:
0511: ``scheme`` is the install scheme name.
0512: """
*** 0513: return get_paths(scheme, vars, expand)[name]
0514:
0515:
0516:def get_config_vars(*args):
0517: """With no arguments, return a dictionary of all configuration
File: '/usr/lib/python3.7/sysconfig.py', lineno: 503, function: get_paths
0499: ``scheme`` is the install scheme name. If not provided, it
will
0500: return the default scheme for the current platform.
0501: """
0502: if expand:
*** 0503: return _expand_vars(scheme, vars)
0504: else:
0505: return _INSTALL_SCHEMES[scheme]
0506:
0507:
File: '/usr/lib/python3.7/sysconfig.py', lineno: 172, function: _expand_vars
0168:def _expand_vars(scheme, vars):
0169: res = {}
0170: if vars is None:
0171: vars = {}
*** 0172: _extend_dict(vars, get_config_vars())
0173:
0174: for key, value in _INSTALL_SCHEMES[scheme].items():
0175: if os.name in ('posix', 'nt'):
0176: value = os.path.expanduser(value)
File: '/usr/lib/python3.7/sysconfig.py', lineno: 551, function:
get_config_vars
0547:
0548: if os.name == 'nt':
0549: _init_non_posix(_CONFIG_VARS)
0550: if os.name == 'posix':
*** 0551: _init_posix(_CONFIG_VARS)
0552: # For backward compatibility, see issue19555
0553: SO = _CONFIG_VARS.get('EXT_SUFFIX')
0554: if SO is not None:
0555: _CONFIG_VARS['SO'] = SO
File: '/usr/lib/python3.7/sysconfig.py', lineno: 422, function: _init_posix
0418:def _init_posix(vars):
0419: """Initialize the module as appropriate for POSIX systems."""
0420: # _sysconfigdata is generated at build time, see
_generate_posix_vars()
0421: name = _get_sysconfigdata_name()
*** 0422: _temp = __import__(name, globals(), locals(),
['build_time_vars'], 0)
0423: build_time_vars = _temp.build_time_vars
0424: vars.update(build_time_vars)
0425:
0426:def _init_non_posix(vars):
Exception: ModuleNotFoundError: No module named '_sysconfigdata'
[-- Attachment #2: Type: text/html, Size: 7330 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 4b32c9ae068beccc3755c48784253e96c31cfd46 brakes devtool
2020-06-22 15:00 4b32c9ae068beccc3755c48784253e96c31cfd46 brakes devtool Anton Kachalov
@ 2020-06-22 15:38 ` Andrew Geissler
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Geissler @ 2020-06-22 15:38 UTC (permalink / raw)
To: Anton Kachalov; +Cc: OpenBMC Maillist
> On Jun 22, 2020, at 10:00 AM, Anton Kachalov <rnouse@google.com> wrote:
>
> The commit 4b32c9ae068beccc3755c48784253e96c31cfd46 brakes the command like: "devtool modify phosphor-dbus-interfaces" in a way:
>
> Running on python 3.7.7.
>
> ERROR: Error executing a python function in exec_python_func() autogenerated:
> File: '/usr/lib/python3.7/sysconfig.py', lineno: 422, function: _init_posix
> 0418:def _init_posix(vars):
> 0419: """Initialize the module as appropriate for POSIX systems."""
> 0420: # _sysconfigdata is generated at build time, see _generate_posix_vars()
> 0421: name = _get_sysconfigdata_name()
> *** 0422: _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
> 0423: build_time_vars = _temp.build_time_vars
> 0424: vars.update(build_time_vars)
> 0425:
> 0426:def _init_non_posix(vars):
> Exception: ModuleNotFoundError: No module named ‘_sysconfigdata’
Looks like this discussion:
https://lists.yoctoproject.org/g/yocto/topic/74637733
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-22 15:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 15:00 4b32c9ae068beccc3755c48784253e96c31cfd46 brakes devtool Anton Kachalov
2020-06-22 15:38 ` Andrew Geissler
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.