Bug 1633978 - [abrt] python2-virtualenv: copyfile(): shutil.py:104:copyfile:shutil.SameFileError: '/usr/bin/python3' and '/home/kelynpaul/Desktop/DevChallenge/FlaskProjects/TerminalBlog/env/bin/python3' are the same file
Summary: [abrt] python2-virtualenv: copyfile(): shutil.py:104:copyfile:shutil.SameFile...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-virtualenv
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Milner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:da092c78a6e606874e4b6b2bd5d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-28 09:19 UTC by Kelyn Paul Njeri
Modified: 2019-05-28 22:37 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 22:37:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.11 KB, text/plain)
2018-09-28 09:19 UTC, Kelyn Paul Njeri
no flags Details
File: cgroup (331 bytes, text/plain)
2018-09-28 09:19 UTC, Kelyn Paul Njeri
no flags Details
File: cpuinfo (1.11 KB, text/plain)
2018-09-28 09:19 UTC, Kelyn Paul Njeri
no flags Details
File: environ (5.66 KB, text/plain)
2018-09-28 09:19 UTC, Kelyn Paul Njeri
no flags Details
File: mountinfo (4.01 KB, text/plain)
2018-09-28 09:19 UTC, Kelyn Paul Njeri
no flags Details
File: namespaces (129 bytes, text/plain)
2018-09-28 09:19 UTC, Kelyn Paul Njeri
no flags Details
File: open_fds (6.25 KB, text/plain)
2018-09-28 09:19 UTC, Kelyn Paul Njeri
no flags Details

Description Kelyn Paul Njeri 2018-09-28 09:19:30 UTC
Description of problem:
I was trying to create a virtualenv using python 3 when this happened.

Version-Release number of selected component:
python2-virtualenv-16.0.0-4.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/lib/python2.7/site-packages/virtualenv.py -p python3 env
crash_function: copyfile
exception_type: shutil.SameFileError
executable:     /usr/lib/python2.7/site-packages/virtualenv.py
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.18.7-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
shutil.py:104:copyfile:shutil.SameFileError: '/usr/bin/python3' and '/home/kelynpaul/Desktop/DevChallenge/FlaskProjects/TerminalBlog/env/bin/python3' are the same file

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 2358, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 712, in main
    symlink=options.symlink)
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 932, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1248, in install_python
    shutil.copyfile(executable, py_executable)
  File "/usr/lib64/python3.6/shutil.py", line 104, in copyfile
    raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/usr/bin/python3' and '/home/kelynpaul/Desktop/DevChallenge/FlaskProjects/TerminalBlog/env/bin/python3' are the same file

Local variables in innermost frame:
follow_symlinks: True
dst: '/home/kelynpaul/Desktop/DevChallenge/FlaskProjects/TerminalBlog/env/bin/python3'
src: '/usr/bin/python3'

Comment 1 Kelyn Paul Njeri 2018-09-28 09:19:41 UTC
Created attachment 1488020 [details]
File: backtrace

Comment 2 Kelyn Paul Njeri 2018-09-28 09:19:43 UTC
Created attachment 1488021 [details]
File: cgroup

Comment 3 Kelyn Paul Njeri 2018-09-28 09:19:45 UTC
Created attachment 1488022 [details]
File: cpuinfo

Comment 4 Kelyn Paul Njeri 2018-09-28 09:19:47 UTC
Created attachment 1488023 [details]
File: environ

Comment 5 Kelyn Paul Njeri 2018-09-28 09:19:49 UTC
Created attachment 1488024 [details]
File: mountinfo

Comment 6 Kelyn Paul Njeri 2018-09-28 09:19:52 UTC
Created attachment 1488025 [details]
File: namespaces

Comment 7 Kelyn Paul Njeri 2018-09-28 09:19:54 UTC
Created attachment 1488026 [details]
File: open_fds

Comment 8 Ben Cotton 2019-05-02 20:49:07 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Ben Cotton 2019-05-28 22:37:38 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.