Custom Query (323 matches)


Show under each result:

Results (49 - 51 of 323)

Ticket Resolution Summary Owner Reporter
#87 fixed The ash RPM package doesn't actually contain any ash dbanet
[C:\]yum install ash
netlabs-rel               100% |=========================| 1.3 kB    00:00
Setting up Install Process
Package ash-0.0.0-10.oc00.i386 already installed and latest version
Nothing to do

SYS1041: The name ash is not recognized as an
internal or external command, operable program or batch file.
#88 fixed yum commands fail when running under LANG=ja_JP Alex Taylor

Running any yum command on a Japanese OS/2 system, or any language system when SET LANG=ja_JP has been set, results only in an error output similar to the following.

[E:\]yum list updates
Traceback (most recent call last):
  File "/@unixroot/usr/lib/python2.7/", line 550, in <module>
  File "/@unixroot/usr/lib/python2.7/", line 540, in main
  File "/@unixroot/usr/lib/python2.7/", line 494, in setencoding
    sys.setdefaultencoding(encoding) # Needs Python Unicode build !

Using yum 3.2.27-6 and python 2.7.6-10.

(IIRC, this seems to be a somewhat different error message than I got under the same circumstances with python 2.6.)

The workaround is to run SET LANG=en_US before running any yum command, but it's difficult for me to ask the user(s) I'm supporting to do that.

#90 fixed python: (2.7.6) problem determining filesystem encoding Yuri Dario Lewis Rosenthal

This is tangentially related to getting SSL support for yum repos, so I'll open this here. Frankly, python is so complex that we should probably break it out into its own project, here, but I'll leave that to you, Yuri. ;-)

I needed to install M2Crypto as I am having difficulty accessing my repo mirror via SSL (different ticket - to be created). M2Crypto seems to want to be installed via setuptools. Installing setuptools should be fairly straightforward:

wget --no-check-certificate -O - | python

however, once the installation starts, the fun begins:

Extracting in c:/var/temp/tmpcqr6rs
Now working in c:/var/temp/tmpcqr6rs/setuptools-5.6
Installing Setuptools
running install
running bdist_egg
running egg_info
writing requirements to setuptools.egg-info/requires.txt
writing setuptools.egg-info/PKG-INFO
writing top-level names to setuptools.egg-info/top_level.txt
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
Traceback (most recent call last):
  File "", line 219, in <module>
    dist = setuptools.setup(**setup_params)
  File "J:/usr/lib/python2.7/distutils/", line 152, in setup
  File "J:/usr/lib/python2.7/distutils/", line 953, in run_commands
  File "J:/usr/lib/python2.7/distutils/", line 972, in run_command
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 67, in run
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 109, in do_egg_install
  File "J:/usr/lib/python2.7/distutils/", line 326, in run_command
  File "J:/usr/lib/python2.7/distutils/", line 972, in run_command
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 152, in run
  File "J:/usr/lib/python2.7/distutils/", line 326, in run_command
  File "J:/usr/lib/python2.7/distutils/", line 972, in run_command
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 168, in run
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 193, in find_sources
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 277, in run
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 306, in add_defaults
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 151, in add_defaults
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 220, in append
    if self._safe_path(path):
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/", line 240, in _safe_path
    u_path = unicode_utils.filesys_decode(path)
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/", line 31, in filesys_decode
    return path.decode(enc)
TypeError: decode() argument 1 must be string, not None
Something went wrong during the installation.
See the error message above.

Looking at the section in question in, he see:

def filesys_decode(path):
    Ensure that the given path is decoded,
    NONE when no expected encoding works

    fs_enc = sys.getfilesystemencoding()
    if isinstance(path, decoded_string):
        return path

    for enc in (fs_enc, "utf-8"):
            return path.decode(enc)
        except UnicodeDecodeError:

Result: cannot install setuptools.

I've tried this under a variety of shells, too, but to no avail. Filesystem is JFS.

Note: See TracQuery for help on using queries.