cag wrote: ↑Sun Apr 21, 2024 4:52 am
That worked using python3.10. All the file timestamps stayed intact bar the obvious one. Directory timestamps not though.
Different story with python 2.7.18.
It started ok, and got to here:-
Code: Select all
('Launched in:', '/tmp')
main, found all 3 Oolite folders
appDir: /home/user/GNUstep/Applications/Oolite/oolite.app/Resources
aoDir: /home/user/GNUstep/Applications/Oolite/AddOns
maoDir: /home/user/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns
folder /home/user/GNUstep/Applications/Oolite/oolite.app/Resources
folder /home/user/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns
folder /home/user/GNUstep/Applications/Oolite/AddOns
folder /home/user/GNUstep/Applications/Oolite/AddOns/Basic-debug.oxp
folder /home/user/GNUstep/Applications/Oolite/AddOns/PlanetOceans.oxp
folder /home/user/GNUstep/Applications/Oolite/AddOns/PlanetForests.oxp
folder /home/user/GNUstep/Applications/Oolite/AddOns/Asteroids3D1.2.oxp
Collected 2211 ents from 72 files, output is 785245
ouput_update, 'module' object has no attribute 'remove'
Traceback (most recent call last):
File "collect_shipdataMrFlibble.py", line 2152, in ouput_update
os.path.remove(previous)
AttributeError: 'module' object has no attribute 'remove'
--Return--
> /tmp/collect_shipdataMrFlibble.py(2181)ouput_update()->None
-> pdb.set_trace()
(Pdb).
I hit ctrl-c, and it spouted more on the way out:
Code: Select all
Traceback (most recent call last):
File "collect_shipdataMrFlibble.py", line 2461, in <module>
sys.exit(1 if main() else 0)
File "collect_shipdataMrFlibble.py", line 2442, in main
err, update = update_eff_data()
File "collect_shipdataMrFlibble.py", line 2241, in update_eff_data
fallback = ouput_update(output)
File "collect_shipdataMrFlibble.py", line 2181, in ouput_update
pdb.set_trace()
File "/home/user/.pyenv/versions/2.7.18/lib/python2.7/bdb.py", line 53, in trace_dispatch
return self.dispatch_return(frame, arg)
File "/home/user/.pyenv/versions/2.7.18/lib/python2.7/bdb.py", line 88, in dispatch_return
self.user_return(frame, arg)
File "/home/user/.pyenv/versions/2.7.18/lib/python2.7/pdb.py", line 190, in user_return
self.interaction(frame, None)
File "/home/user/.pyenv/versions/2.7.18/lib/python2.7/pdb.py", line 210, in interaction
self.cmdloop()
File "/home/user/.pyenv/versions/2.7.18/lib/python2.7/cmd.py", line 130, in cmdloop
line = raw_input(self.prompt)
KeyboardInterrupt
The log file ended this way
Code: Select all
Processed 72 files, new entities registered: 2211
input: shipdata 1,719,031
output: required 35,730
generated 749,515
total 785,245
ouput_update, 'module' object has no attribute 'remove'