Giter Site home page Giter Site logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 13, 2024

Original comment by ikarpov on 9 Sep 2010 at 11:37

  • Changed state: Fixed

from opennero.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.