-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
atomic_rename
failure on Windows Python2.7
#72
Comments
py27 was passed on CI: https://ci.appveyor.com/project/peter-wangxu/persist-queue/builds/19169922 what's the type of |
src = 'c:\\users\\liangr\\appdata\\local\\temp\\tmpol0feq'
dst = 'c:\users\liangr\appdata\local\temp\tmpsulfcsstorops\info'
('type(src)', <type 'str'>)
('type(dst)', <type 'unicode'>)
('isinstance(src, _str)', False)
('isinstance(dst, _str)', True)
('isinstance(src, _bytes)', True)
('isinstance(dst, _bytes)', False) |
Most of storops python source files set In from __future__ import unicode_literals
# ... ...
self.path = tempfile.mkdtemp(suffix='storops')
self.q = tasks.PQueue(self.path) And this would make While in That is the reason what we got as the above comments. So the conclusion is that any source codes with Can we convert the type of |
@Murray-LIANG loooooking forward to your change:) |
Sorry for the late response. I will do the fix next days. My proposal is that converting the What I don't understand is that why it chooses different |
AFAIK, this is the windows API limitation, |
@Murray-LIANG any update? |
I found below error during the CI test of storops. It reported by storops appveyor tests: https://ci.appveyor.com/project/emc-openstack/storops/build/job/y6tctpnpe54j4is0
I am just wondering whether you met this before on your Windows Py27 testing?
The version of persist-queue is
persist-queue==0.4.1
.The text was updated successfully, but these errors were encountered: