Message11487
Local environment
---------------------
$ java -jar jython-standalone-2.7.0.jar
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_131
Type "help", "copyright", "credits" or "license" for more information.
>>> os.mkdir('/tmp/jochen')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'os' is not defined
>>> import os
>>> os.mkdir('/tmp/jochen')
>>> os.mkdir('/tmp/jochen')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 17] File exists: '/tmp/jochen'
=> We get Errno 17 which is expected.
Docker environment
---------------------
$ java -jar jython-standalone-2.7.0.jar
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_131
Type "help", "copyright", "credits" or "license" for more information.
>>> os.mkdir('/tmp/jochen')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'os' is not defined
>>> import os
>>> os.mkdir('/tmp/jochen')
>>> os.mkdir('/tmp/jochen')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 20000] Unknown error: 20000: '/tmp/jochen'
=> We get a different Errno |
|
Date |
User |
Action |
Args |
2017-07-20 12:53:33 | jochenhebbrecht | set | messageid: <1500555213.34.0.220104726555.issue2611@psf.upfronthosting.co.za> |
2017-07-20 12:53:33 | jochenhebbrecht | set | recipients:
+ jochenhebbrecht |
2017-07-20 12:53:33 | jochenhebbrecht | link | issue2611 messages |
2017-07-20 12:53:33 | jochenhebbrecht | create | |
|