Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1950

Python shows problems in some Singularity images uploaded by DUCC

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Low
    • Resolution: Fixed
    • None
    • CernVM-FS 2.8
    • DUCC
    • None
    • ANY

    Description

      $ singularity run /cvmfs/unpacked.cern.ch/registry.hub.docker.com/cmssw/cc7\:amd64-d20200806 python -c 'import psutil'
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/usr/lib64/python2.7/site-packages/psutil/__init__.py", line 996
      SyntaxError: Non-ASCII character '\xe2' in file 
      /usr/lib64/python2.7/site-packages/psutil/__init__.py on line 997, but 
      no encoding declared; see http://www.python.org/peps/pep-0263.html for 
      details
      

      This problem does not happen when running with docker.

       

      We believe the problem is due to the fact that we modify the mtime of the python file while creating the singularity image.

      Attachments

        Activity

          People

            smosciat Simone Mosciatti (Inactive)
            smosciat Simone Mosciatti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: