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

Python shows problems in some Singularity images uploaded by DUCC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CernVM-FS 2.8
    • Component/s: DUCC
    • Labels:
      None
    • Platforms:
      ANY
    • Development:

      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

            Assignee:
            smosciat Simone Mosciatti
            Reporter:
            smosciat Simone Mosciatti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: