Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] wxManta.py problem & workaround.


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: MANTA <manta@sci.utah.edu>
  • Subject: [Manta] wxManta.py problem & workaround.
  • Date: Mon, 20 Aug 2007 16:38:34 -0600

On Aug 20, 2007, at 4:32 PM, Carson Brownlee wrote:

I'm trying to run a manta-project. I include lib in pythonpath.
Carson

Abe Stephens wrote:
are you running runwxmanta.py from SwingInterface/ or from lib? It would be necessary to either move the other modules to lib or add SwigInterface to the python path if you're running stuff out of lib..

Abe

On Aug 20, 2007, at 4:28 PM, Carson Brownlee wrote:

hey, I'm getting the error: "
ImportError: No module named MantaCameraPath"
when running wxManta.py.
Carson

Looks like I broke it. if you add the SwigInterface/ directory your PYTHON_PATH (where MantaCameraPath.py is located) it should work for now.

The other python scripts (wxManta.py and the swig generated ones) are copied to the build lib/ directory which is part of the python path setup by bin/pythonpath.csh. If we continue to add GUI dialogs to wxManta.py we'll eventually want to put them in separate files and we might not want to litter the lib/ directory with all of these. Perhaps we could add them all to a wxManta.zip file and import that into Manta-project scripts.

Abe







  • [Manta] wxManta.py problem & workaround., Abe Stephens, 08/20/2007

Archive powered by MHonArc 2.6.16.

Top of page