Search found 33 matches

by jairds
Fri Jun 21, 2013 8:08 pm
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

Possibly yes. My windows 7 is 64 bits. I am trying to install all programs as 32 bits since not all them have 64 bits available. I just checked Python C:\Users\jsantos>python Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] win32 Type "help", "copyright&quo...
by jairds
Fri Jun 21, 2013 2:51 pm
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

Hi, Follow up: I copied import rpbd2 rpdb2.start_embedded_debugger(passwd) to the beginning of FreeCADInit.py and ran FC. The following dialog box showed up: "While initializing FreeCAD the following exception occurred: No module named rpdb2. Python is searching the following directories: C:\Fr...
by jairds
Tue Jun 18, 2013 3:39 pm
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

Hi I did as you said. I loaded winpdb before firing FC but it didn't stop. FC loaded as it normally does. I suspect that the first statement , import rpdb2 might not be working because if I load it into the FC pyhton console I get. >>> import rpdb2 Traceback (most recent call last): File "<inpu...
by jairds
Mon Jun 17, 2013 11:09 pm
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

Thank you Werner. I've already done the procedure described on that topic, like below: I changed the beginning of importDXF.py like this: Kitsu and Migius for Blender import rpdb2 rpdb2.start_embedded_debugger(passwd) imports: line, polylines, lwpolylines, arcs, circles, texts, mtexts, layers (as gr...
by jairds
Sun Jun 16, 2013 6:39 pm
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

Hi all, I am reactivating this thread in the hopes that someone can help me. I've been struggling for a couple of weeks to make the winpdb work with FC scripts. I have Python26 , winpdb-1.4.8 and wxPython installed (under C:\Python26\Lib\site-packages\wx-2.8-msw-unicode). If I write C:\winpdb-1.4.8>...
by jairds
Sat Jun 08, 2013 3:37 pm
Forum: Developers corner
Topic: matplotlib problem
Replies: 5
Views: 2041

matplotlib problem

Hello all. When running FC I am getting "matplotlib not found, Plot module will be disabled". If I run "import matplotlib" directly in the FC console I get Python 2.6.2 (r262:71600, Jun 22 2009, 21:41:42) [MSC v.1500 32 bit (Intel)] on win32 Type 'help', 'copyright', 'credits' or...
by jairds
Fri May 17, 2013 11:06 pm
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

It's a real pain. I started to clean up the mess like PATHs , uninstall programs, etc.. I looks like there was a trap somewhere. When I ran FC , VS said that we should update the build. Running it I got errors like Error 1 error PRJ0019: A tool returned an error code from "VectorPy.xml" Fr...
by jairds
Thu May 16, 2013 3:53 pm
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

That's what think as well. I'll check this.

Thank you.
by jairds
Thu May 16, 2013 12:44 am
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

Thanks. I followed the procedure step by step: C:\FreeCADLibs_8.0_x86_VC9\bin\DLL>python winpdb.py C:\FreeCADLibs_8.0_x86_VC9\bin\DLL\rpdb2.py:308: DeprecationWarning: the sets mo dule is deprecated import sets C:\FreeCADLibs_8.0_x86_VC9\bin\DLL\rpdb2.py:313: DeprecationWarning: The popen2 module is...
by jairds
Tue May 14, 2013 4:10 pm
Forum: Developers corner
Topic: Debug Python
Replies: 27
Views: 10893

Re: Debug Python

Hi. I uninstalled both python and wxPython. The I reinstalled again. On FC, the comand import rpdb2 still returns import rpdb2 C:\Python26\lib\site-packages\rpdb2.py:308: DeprecationWarning: the sets module is deprecated import sets C:\Python26\lib\site-packages\rpdb2.py:313: DeprecationWarning: The...