Menu

#165 Some wxPYthon demo does not works under plugin

open
None
2
2003-12-29
2003-12-17
No

Config:
win2k
python 2.3.2
wxPython 2.4.2.4
boa from cvs (0.28)

A demo, the wxGrid one ain't working in boa, because of some __import__ stuff : the wxGrid example is a global importing itself other file, using __import__ hook.
Boa does not cope with __import__, which require a change of working directory to be available.

---OPQ

Discussion

  • Riaan Booysen

    Riaan Booysen - 2003-12-29

    Logged In: YES
    user_id=438

    My response from the mailing list:

    Yeah one or two other demos also suffer from similar issues.

    Boa already sets the current working directory (CWD) before
    importing a demo and restores it afterwards, but this doesn't
    work for the case where the demo page tries to import
    something again at a later stage.

    I don't want to leave the CWD changed so I don't have a
    solution for this corner case.

    Riaan.

     
  • Riaan Booysen

    Riaan Booysen - 2003-12-29
    • priority: 5 --> 2
    • assigned_to: nobody --> riaan
     

Log in to post a comment.