Issue2019

classification
Title: bugs.jython.org/issue1885
Type: Severity: normal
Components: Any Versions: Jython 2.5
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eeiddne, fwierzbicki
Priority: Keywords:

Created on 2013-02-26.18:25:42 by eeiddne, last changed 2013-03-15.19:22:56 by fwierzbicki.

Messages
msg7798 (view) Author: Donal Duane (eeiddne) Date: 2013-02-26.18:25:42
Hi,

Can you tell me if there is any workaround for the bug mentioned in bugs.jython.org/issue1885 ? As in - is there any was of pr-empting it? Is there any change that I can make to the file system etc to prevent it happening?

Regards,
Dónal
msg7805 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-02-26.19:03:14
What version of Jython on what platform are you seeing this? Also can you provide the code that you are using when you see a problem?
msg7806 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-02-26.19:05:38
Ah all of this is in the other bug description. I'm not sure it helps to have another bug open on this. If you want to start a discussion you could post to the jython-user mailing list.
msg7807 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-02-26.19:07:14
So it should be fixed on 2.5.4rc1 and 2.7b1 - is it not for you?
msg7809 (view) Author: Donal Duane (eeiddne) Date: 2013-02-26.19:30:43
Hi Frank,

Thanks. I was hoping there might be a way to avoid the issue without upgrading! 

Is there a way?!?

Regards,
Dónal
msg7810 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-02-26.19:35:30
The only way that I can think of is to do a system call for chmod so:

from os import system
system('chmod 660 file.txt')

If that's not good enough then upgrading is probably your only option.
msg7811 (view) Author: Donal Duane (eeiddne) Date: 2013-02-26.19:38:34
thks.

Will that work on Solaris 10? I don't recognise the syntax...
msg7812 (view) Author: Donal Duane (eeiddne) Date: 2013-02-26.19:44:38
ignore my last text - my bad - tried it in jpython shell and it worked. Thanks for that!
msg7813 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-02-26.19:47:24
OK, glad I could help.
msg7869 (view) Author: Donal Duane (eeiddne) Date: 2013-02-28.21:38:42
Hi Frank,

I'm back again.
Is Jython 2.5.3 backward comatible with 2.5.2?

Regards,
Dónal
msg7881 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-03-01.17:44:22
In general yes 2.5.3 should be backwards compatible with 2.5.2. We don't tend to make big changes in point releases - though I will say we expect to have some bending of this rule for the first few 2.7 releases. Having said that, there have been bug fixes which in rare cases might cause some trouble. In particular we may be changing the default command line code as there have been some bugs with our current default on windows machines. The RC does not have this change yet (so there will be another RC before a final).
msg7882 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-03-01.17:45:36
Also note that the command line handling is easy to change. If we do go forward with that the release will contain pointers to change it back.
msg7895 (view) Author: Donal Duane (eeiddne) Date: 2013-03-02.11:40:25
Hi Frank, Thanks. Does the same go for 2.5.2 versus 2.5.4rc1?
Also - is it safe to take an rc build, or, should we wait for the final build?

Regards,
Dónal
msg7937 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-03-15.19:22:56
In principle I'd wait for a final - there will be an RC2 first and then a final 2.5.4 pretty soon. If we find a fix for this on Solaris it would be in a 2.5.5 I think, since I doubt this will be fixed in the timeframe for a a 2.5.4 final (I expect to be done with that in a little over a week).

Have you considered using

os.system("chmod ...")

as a workaround?
History
Date User Action Args
2013-03-15 19:22:56fwierzbickisetmessages: + msg7937
2013-03-02 11:40:26eeiddnesetmessages: + msg7895
2013-03-01 17:45:36fwierzbickisetmessages: + msg7882
2013-03-01 17:44:22fwierzbickisetmessages: + msg7881
2013-02-28 21:38:42eeiddnesetmessages: + msg7869
2013-02-26 19:47:24fwierzbickisetstatus: open -> closed
resolution: fixed
messages: + msg7813
2013-02-26 19:44:38eeiddnesetmessages: + msg7812
2013-02-26 19:38:35eeiddnesetmessages: + msg7811
2013-02-26 19:35:30fwierzbickisetmessages: + msg7810
2013-02-26 19:30:43eeiddnesetmessages: + msg7809
2013-02-26 19:07:14fwierzbickisetmessages: + msg7807
2013-02-26 19:05:38fwierzbickisetmessages: + msg7806
2013-02-26 19:03:14fwierzbickisetmessages: + msg7805
2013-02-26 19:01:35fwierzbickisetnosy: + fwierzbicki
2013-02-26 18:25:42eeiddnecreate