# Filedialog In Maya 2009

**URL:** https://forum.highend3d.com/t/filedialog-in-maya-2009/48772
**Category:** Maya
**Tags:** python
**Created:** [March 20, 2009, 10:48am UTC](https://forum.highend3d.com/t/filedialog-in-maya-2009/48772 "2009-03-20T10:48:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bully-rider](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/b/c0e974/32.png) [@bully-rider](https://forum.highend3d.com/u/bully-rider)
#### Post date: [March 20, 2009, 10:48am UTC](https://forum.highend3d.com/t/filedialog-in-maya-2009/48772/1 "2009-03-20T10:48:16Z")

</div>

Hello Friends,

I have got a problem with the maya.cmds.fileDialog() function in Maya2009. Every time I open the dialog, Maya hangs itself and I have to kill it via task manager. As far as I could find out this happens only if the function is called in a Python context, so calling it in MEL directly from the shelf script works, but calling it in MEL from Python code causes the same problem. I also tried fileBrowserDialog, same problem. I don't know if there is a problem with threading that causes a deadlock or something like that, I also tried other dialogs (the color Editor) which work fine.  
I am extending a tool for my company, so I have to use Python....

Sorry if that question was asked already (it seems to me as if there must be a lot of coders having the same problem) but I tried the fileDialog and fileBrowserDialog search already and also asked google...

Thx in advance!

bully\_rider
