Comments (9)
Implemented in /branches/menu, still needs to be tested thoroughly.
Original comment by [email protected]
on 21 Jul 2010 at 2:23
- Changed state: Fixed
from opennero.
Changed status, we still need a review of /branches/menu
Original comment by [email protected]
on 21 Jul 2010 at 7:00
- Changed state: Started
from opennero.
When testing on the Mac:
* Start OpenNERO
* Start NERO mod
* Click "Deploy"{{{
File "./NERO/NeroEnvironment.py", line 244, in step
r.flush()
IOError: [Errno 9] Bad file descriptor}}}
* If I try to run menu.py separately, I get: {{{
Traceback (most recent call last):
File "mods/NERO/menu.py", line 261, in <module>
panel = NeroPanel(frame)
File "mods/NERO/menu.py", line 29, in __init__
grid.Add(self.load,pos = (0,0))
File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py", line 13968, in Add
wx._core.PyAssertionError: C++ assertion "!CheckForIntersection(item)" failed
at ../src/common/gbsizer.cpp(225) in Add(): An item is already at that
position}}}
, which is probably the cause of the problem.
Original comment by ikarpov
on 16 Aug 2010 at 7:49
from opennero.
So this looks like a problem with wxpython. I'll check it on another machine,
but I'm guessing this is an incompatibility issue with the mac version of
wxpython. I'll look into it on Windows, hopefully it's just a broken function.
Original comment by [email protected]
on 17 Aug 2010 at 5:09
from opennero.
This was just incorrect usage of the GridBagSizer. For this sizer, pos=(r,c)
specifies the row and column the widget should be placed. Only one widget can
be specified per cell including room for spans.
Additionally, size and position do not need to be specified in the widget
constructors as they will be replaced by grid bag constraints, unless the
widgets need to be larger than default (such as is the case for the scroll
bars).
Finally, the sizer needs to be set for the container in order to have effect.
Revision #451 addresses this issue on the menu branch and the menu now works on
the Mac. Please verify that this works as before and reassign to me for final
merge.
Original comment by ikarpov
on 19 Aug 2010 at 6:17
from opennero.
Tested the code, fixed a minor issue (Lifetime slider not working) and it
should be working right now.
Reassigning to ikarpov for final merge.
Original comment by [email protected]
on 30 Aug 2010 at 2:19
from opennero.
Actually, since this branch has been merged with /nero we can actually just
delete this branch after the current state of nero is merged into trunk. This
is better than merging in menu because I'm catching a whole lot of interesting
errors from the merge process, so let's just not merge this into trunk.
Original comment by [email protected]
on 1 Sep 2010 at 7:50
from opennero.
While I can merge the menu branch into the trunk (after fixing a small conflict
in module.py) I see a runtime error when attempting to use the menu.
Steps to recreate:
1. Start NERO mod
2. Click Deloy within the OpenNERO window
3. Adjust the flag fitness slider to up.
4. BSOD with error about r being an invalid file handle.
Does this also happen on /branches/nero? If not, what is the range of revisions
that should be merged into trunk from that branch?
Original comment by ikarpov
on 1 Sep 2010 at 12:59
from opennero.
Original comment by ikarpov
on 9 Sep 2010 at 11:37
- Changed state: Fixed
from opennero.
Related Issues (20)
- Compiling trunk Sarsa.cpp error -> IrrUtil.h HOT 6
- Systematically compare training speed and results from NERO with openNERO
- If you reenter the battle mode, the teams start to move right away after they are loaded...
- Increase frame rate and use resources better HOT 4
- Jumping at the end of battle mode either happens for one agent or all of them - should be consistent.
- camera can move through the ground geometry
- Add miscellaneous research tools for NERO mod
- Add footsteps and shadows back to some mods
- C and Z controls slow before hitting "deploy" HOT 1
- it takes two space bar presses to get back to the canonical view
- agents can also walk through the cliffs
- the turret is shooting from its middle instead of its weapon
- menu items for both blue and red team appear in NERO training HOT 1
- Code review request HOT 1
- Can't traine my team, help! HOT 4
- Can't save or Load HOT 3
- Suggested GUI tweak HOT 2
- Error loading Nero Training HOT 1
- error while loading shared libraries libboost_python-py27.so.1.46.1 HOT 1
- Download for 64 bit OS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opennero.