[reportlab-users] Unhandled exception through pyreverse/graph

Pascal Chambon pythoniks at gmail.com
Mon Jun 29 11:10:24 EDT 2009


Hello

A minor problem with the graph generator : on windows vista (on my
enterprise station), it crashes because it doens't manage to remove a
temporary file it uses ; I have no idea why this happens (windows and
its implicit file locks are often a mystery to me), but well it's only a
temp file, so I've wrapped the unlink call between "try...except : pass"
and it's OK that way. CF traceback below.

Cheers for all the cool modules
regards,
Pascal Chambon


self.run(args)
File
"C:\Python26\lib\site-packages\pylint-0.18.0-py2.6.egg\pylint\pyreverse\main.py",
line 113, in run
writer.DotWriter(self.config).write(diadefs)
File
"C:\Python26\lib\site-packages\pylint-0.18.0-py2.6.egg\pylint\pyreverse\writer.py",
line 46, in write
self.close_graph()
File
"C:\Python26\lib\site-packages\pylint-0.18.0-py2.6.egg\pylint\pyreverse\writer.py",
line 134, in close
_graph
self.printer.generate(self.file_name)
File
"C:\Python26\lib\site-packages\logilab_common-0.41.0-py2.6.egg\logilab\common\graph.py",
line 98, in g
enerate
os.unlink(dot_sourcepath)
WindowsError: [Error 32] Le processus ne peut pas accÚder au fichier car
ce fichier est utilisÚ par un autre
processus:
'c:\\docume~1\\nrpw1851\\locals~1\\temp\\classes_No_Nameov_ppl.dot'


jonas wustrack wrote:

> On Mon, Jun 29, 2009 at 12:03 PM, David

> Henderson1<David.Henderson01 at hilton.com> wrote:

>

>> Jonas,

>>

>> In the list of CTYHOCNs you provided, is it possible that you can state which error

>> applies to which hotel as this will narrow the effort to resolve each of these issues.

>>

>

> Below are the ctyhocns and sites affected by the different errors:

>

> "Could not get the value of property 'location_desc' from the given node."

>

> VIEHI uk

> VIEHI jp

>

> "The hotel referenced by that identifier (ctyhocn) is null."

>

> MLEIR de

> MLEIR jp

> QKBVA uk

> QKBVA de

> QKBVA jp

>

> "Could not get the value of property 'meetingRoom_desc' from the given node."

>

> BREHI de

> BRUPM uk

> BRUPM de

> BSLHI uk

> BSLHI de

> BSLHI jp

> EILQS uk

> FRAHI uk

> FRAHI jp

> ISTHI uk

> LHRAP de

> LHRAP jp

> LHRHI de

> LHRHI jp

>

> I hope this helps,

> Jonas

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users

>

>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090629/520e2486/attachment.htm>


More information about the reportlab-users mailing list