Custom Query (344 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (37 - 39 of 344)

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Ticket Resolution Summary Owner Reporter
#90 duplicate python: (2.7.6) problem determining filesystem encoding Yuri Dario Lewis Rosenthal
Description

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 https://bootstrap.pypa.io/ez_setup.py -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 "setup.py", line 219, in <module>
    dist = setuptools.setup(**setup_params)
  File "J:/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "J:/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "J:/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "J:/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "J:/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/bdist_egg.py", line 152, in run
    self.run_command("egg_info")
  File "J:/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "J:/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/egg_info.py", line 168, in run
    self.find_sources()
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/egg_info.py", line 193, in find_sources
    mm.run()
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/egg_info.py", line 277, in run
    self.add_defaults()
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/egg_info.py", line 306, in add_defaults
    sdist.add_defaults(self)
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/sdist.py", line 151, in add_defaults
    self.filelist.append(fn)
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/egg_info.py", line 220, in append
    if self._safe_path(path):
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/command/egg_info.py", line 240, in _safe_path
    u_path = unicode_utils.filesys_decode(path)
  File "C:/var/temp/tmpcqr6rs/setuptools-5.6/setuptools/unicode_utils.py", 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 unicode_utils.py, 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"):
        try:
            return path.decode(enc)
        except UnicodeDecodeError:
            continue

Result: cannot install setuptools.

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

#98 duplicate Unable to specify log location outside of %unixroot Lewis Rosenthal
Description

On this machine, %unixroot is J:

Changing log location in yum.conf to systemwide log dir (c:/var/log) produces output from yum such as:

[j:\devel\yumie\yumie_preview7\scripts]yum info clamav
Loaded plugins: fastestmirror, remove-with-leaves
Traceback (most recent call last):
  File "J:\USR\BIN\YUM", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/@unixroot/usr/share/yum-cli/yummain.py", line 254, in user_main
    errcode = main(args)
  File "/@unixroot/usr/share/yum-cli/yummain.py", line 88, in main
    base.getOptionsConfig(args)
  File "/@unixroot/usr/share/yum-cli/cli.py", line 191, in getOptionsConfig
    self.conf
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/__init__.py", line 781, i
n <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/__init__.py", line 311, i
n _getConfig
    self.doFileLogSetup(self.conf.uid, self.conf.logfile)
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/__init__.py", line 331, i
n doFileLogSetup
    logginglevels.setFileLog(uid, logfile)
  File "/@unixroot/usr/lib/python2.7/site-packages/yum/logginglevels.py", line 1
91, in setFileLog
    os.makedirs(logdir, mode=0755)
  File "/@unixroot/usr/lib/python2.7/os.py", line 152, in makedirs
    makedirs(head, mode)
  File "/@unixroot/usr/lib/python2.7/os.py", line 152, in makedirs
    makedirs(head, mode)
  File "/@unixroot/usr/lib/python2.7/os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: '/@unixrootc:'

I have not tried relocating the yum cache, but suspect similar difficulty.

#102 duplicate yum update failed on updating RPM guzzi
Description

From yum.log:

Jan 03 23:19:47 urpo-20150101-9.oc00.pentium4: 100 Jan 03 23:19:47 rpm-libs-4.8.1-19.oc00.pentium4: 100 Jan 03 23:19:48 Updated: rpm-4.8.1-19.oc00.pentium4 Jan 03 23:19:48 rpm-python-4.8.1-19.oc00.pentium4: 100 Jan 03 23:19:48 rpm: ts_done name in te is rpm-python should be rpm

After that yum would not display any output on the screen when it was run and didn't seem to work anymore. I installed the bootstrap package and tried installing the packages with that:

Running Transaction

Updating : rpm-python-4.8.1-19.oc00.pentium4 1/2

Error unpacking rpm package rpm-python-4.8.1-19.oc00.pentium4 error: unpacking of archive failed on file /@unixroot/usr/lib/python2.7/site-packages/rpm/_rpm.dll: cpio: chmod rpm-python-4.8.1-18.oc00.pentium4 was supposed to be removed but is not!

Failed:

rpm-python.pentium4 0:4.8.1-19.oc00

This is the file that was created: F:\usr\lib\python2.7\site-packages\rpm\_rpm.dll;54a889d6

A similar error occurred for urpo-20150101-9.oc00.pentium4 This is the file that was created: F:\usr\lib\urpo.dll;54a881c9

installing the urpo-debug-20150101-9.oc00.pentium4.rpm did work.

Is there a problem with these packages or with my yum/rpm install? (It did work well doing the last update, which was poppler)

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Note: See TracQuery for help on using queries.