[issue11928] fail on filename with space at the end

2021-02-03 Thread Steve Dower


Steve Dower  added the comment:

Distutils is now deprecated (see PEP 632) and all tagged issues are being 
closed. From now until removal, only release blocking issues will be considered 
for distutils.

If this issue does not relate to distutils, please remove the component and 
reopen it. If you believe it still requires a fix, most likely the issue should 
be re-reported at https://github.com/pypa/setuptools

--
nosy: +steve.dower
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11928] fail on filename with space at the end

2013-10-13 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
type:  - behavior
versions: +Python 3.4 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11928
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11928] fail on filename with space at the end

2011-04-29 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

Windows Explorer does not so allow, but yes, Windows does. With xp
 os.stat('some file ')
nt.stat_result(st_mode=33206, st_ino=6473924464520118, st_dev=0, st_nlink=1, 
st_uid=0, st_gid=0, st_size=13, st_atime=1304114221, st_mtime=1304114055, 
st_ctime=1304113961)

Same with full path.

I would go into distutils\filelist.py and print(repr(fullname)) just before the 
os.stat call to see if there is anything strange. Maybe also try same call 
interactively like I did above, outside disutils context.

--
nosy: +terry.reedy

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11928
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11928] fail on filename with space at the end

2011-04-27 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Do you get the bug if you put such a filename in the MANIFEST file, or 
MANIFEST.in, or data_files argument, or something else, or all of them?  If 
it’s a MANIFEST bug, can you test with quotes around the filename?

--
assignee: tarek - eric.araujo
components: +Distutils2
nosy: +alexis
versions: +3rd party -Python 2.5, Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11928
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11928] fail on filename with space at the end

2011-04-27 Thread anatoly techtonik

anatoly techtonik techto...@gmail.com added the comment:

The mere presence of this file in directory with setup.py files this error. It 
is not added in any files.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11928
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue11928] fail on filename with space at the end

2011-04-27 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Wow.  Can you set DISTUTILS_DEBUG=1 in your environment and then copy the full 
traceback here?  Try to see if other commands like build or check cause the 
error too.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11928
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11928] fail on filename with space at the end

2011-04-27 Thread anatoly techtonik

anatoly techtonik techto...@gmail.com added the comment:

python setup.py sdist
{{{
Distribution.parse_config_files():
options (after parsing config files):
no commands known yet
options (after parsing command line):
option dict for 'sdist' command:
  {}
running sdist
Distribution.get_command_obj(): creating 'sdist' command object
checking if setup.py newer than MANIFEST
error: some file : The system cannot find the file specified
Traceback (most recent call last):
  File setup.py, line 17, in module
'Operating System :: OS Independent',
  File C:\Python25\lib\distutils\core.py, line 151, in setup
dist.run_commands()
  File C:\Python25\lib\distutils\dist.py, line 974, in run_commands
self.run_command(cmd)
  File C:\Python25\lib\distutils\dist.py, line 994, in run_command
cmd_obj.run()
  File C:\Python25\lib\distutils\command\sdist.py, line 143, in run
self.get_file_list()
  File C:\Python25\lib\distutils\command\sdist.py, line 237, in get_file_list
self.filelist.findall()
  File C:\Python25\lib\distutils\filelist.py, line 48, in findall
self.allfiles = findall(dir)
  File C:\Python25\lib\distutils\filelist.py, line 298, in findall
stat = os.stat(fullname)
WindowsError: [Error 2] The system cannot find the file specified: 'some file '
}}}

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11928
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11928] fail on filename with space at the end

2011-04-27 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

 WindowsError: [Error 2] The system cannot find the file specified: 'some file 
 '

The strange thing is that the filename is correct (I feared it was a strip() 
call somewhere that caused the bug), and that you get a WindowsError.  This 
makes me think that the fault lies in the OS, not in distutils.  I can’t 
reproduce your bug on linux2.

--
nosy: +loewis

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11928
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11928] fail on filename with space at the end

2011-04-26 Thread anatoly techtonik

Changes by anatoly techtonik techto...@gmail.com:


--
title: fail if file with space at the end is present - fail on filename with 
space at the end

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11928
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com