# Dia 1.3.8 exception

**URL:** <https://forums.digi.com/t/dia-1-3-8-exception/3289>\
**Category:** Python\
**Created:** [July 15, 2010, 9:26pm UTC](https://forums.digi.com/t/dia-1-3-8-exception/3289 "2010-07-15T21:26:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zigbee\_man](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zigbee\_man](https://forums.digi.com/u/zigbee_man)\
**Post date:** [July 15, 2010, 9:26pm UTC](https://forums.digi.com/t/dia-1-3-8-exception/3289/1 "2010-07-15T21:26:06Z")

</div>

Hi all,

I’ve installed Python 2.4.3 then I’ve extracted the dia\_pkg\_1.3.8 on my machine. But when I ran the dia.py, I’ve got some exceptions like in the attached picture.

Could anybody tell me why?

---

<div class="post-metadata">

**Author:** ![scottk](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@scottk](https://forums.digi.com/u/scottk)\
**Post date:** [July 15, 2010, 9:46pm UTC](https://forums.digi.com/t/dia-1-3-8-exception/3289/2 "2010-07-15T21:46:56Z")

</div>

When running Dia on a Windows PC, and includes the console Presentation, an external library called ‘win32api’ is required to be installed.

You can find the library here:  
[http://sourceforge.net/projects/pywin32/](http://sourceforge.net/projects/pywin32/)

Make sure you grab the Python 2.4 version of the library, and not the Python 2.6 version that appears to be the default out there.

---

<div class="post-metadata">

**Author:** ![zigbee\_man](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zigbee\_man](https://forums.digi.com/u/zigbee_man)\
**Post date:** [July 15, 2010, 10:09pm UTC](https://forums.digi.com/t/dia-1-3-8-exception/3289/3 "2010-07-15T22:09:09Z")

</div>

It works well with the older version of Dia (1.1.17 or 1.2.19). Thanks!

---

<div class="post-metadata">

**Author:** ![scottk](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@scottk](https://forums.digi.com/u/scottk)\
**Post date:** [July 15, 2010, 10:18pm UTC](https://forums.digi.com/t/dia-1-3-8-exception/3289/4 "2010-07-15T22:18:39Z")

</div>

Yes, that is true.

Serial port support was added to the console presentation in Dia 1.3.x.

This allows you to have the console go to a serial port, instead of having to create a socket in which you have to telnet to.

You will need to install the pywin32 library to be able to use the console presentation under Windows, even if you don’t plan on using a serial port for your consoie.

---

<div class="post-metadata">

**Author:** ![zigbee\_man](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zigbee\_man](https://forums.digi.com/u/zigbee_man)\
**Post date:** [July 20, 2010, 3:40pm UTC](https://forums.digi.com/t/dia-1-3-8-exception/3289/5 "2010-07-20T15:40:19Z")

</div>

Thank you Scottk
