Hi Dan,

Thanks for your reply! I followed your suggestion and got the following more 
helpful error message. I installed Tcl via MacPorts, so I probably need to 
adjust PYTHONPATH as this article explains:
http://stackoverflow.com/questions/6147035/locate-macports-package/6147071#6147071
I'll work on it tomorrow and let you know!
Thanks again!

Atsushi

Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/cx_Freeze/initscripts/Console.py",
 line 27, in <module>
  File "Fluency Calculator.py", line 402, in <module>
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tkinter/__init__.py",
 line 1851, in __init__
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
    /Applications/FluencyCalculator.app/Contents/MacOS/tcl 
/Applications/FluencyCalculator.app/Contents/MacOS/tcl8.6 /opt/local/lib/tcl8.6 
/Applications/FluencyCalculator.app/Contents/lib/tcl8.6 
/Applications/FluencyCalculator.app/lib/tcl8.6 
/Applications/FluencyCalculator.app/Contents/library 
/Applications/FluencyCalculator.app/library 
/Applications/FluencyCalculator.app/tcl8.6.3/library 
/Applications/tcl8.6.3/library

This probably means that Tcl wasn't installed properly.


________________________________
From: Dan McCombs [dmcco...@dyn.com]
Sent: Thursday, November 12, 2015 8:23
To: primary discussion list for use and development of cx_Freeze
Subject: Re: [cx-freeze-users] Mac build works only on the development machine

Hi afukada,

I've run into something like that a long time ago and it's generally just an 
error that the program exited immediately. I think in my case it was a library 
I wasn't including in the frozen app that my development machine had, but other 
machines didn't.

In order to get a more useful error, try cd'ing to 
/Applications/FluencyCalculator.app/Contents/MacOS/ in a terminal and then run 
whatever your executable is named directly in there. Hopefully that can give 
you more specifics into what's wrong.

Take care,

-Dan


[Dyn logo, Dyn.com]<http://dyn.com/>        
[http://dyn.com/wp-content/uploads/2013/08/esignature-icon-dyn-twitter.png] 
<http://twitter.com/dyn> <http://twitter.com/dyninc>    [Dyn facebook account] 
<http://facebook.com/dyn>    [Dyn LinkedIn account] 
<http://linkedin.com/company/dyn>

Dan McCombs  / Senior Software Engineer
[http://dyn.com/wp-content/uploads/2013/08/esignature-icon-phone.png] 603 296 
1568     
[http://dyn.com/wp-content/uploads/2013/08/esignature-icon-twitter.png]  
@danmccombs<http://twitter.com/danmccombs/>

On Tue, Nov 10, 2015 at 8:15 PM, Fukada, Atsushi 
<afuk...@purdue.edu<mailto:afuk...@purdue.edu>> wrote:
Development Mac: OS Yosemite
cx_freeze v.4.3.3
Python v.3.4
I used MacPorts to install these.

I'm trying to package a program on a Mac that was developed on a Windows 
machine. The Windows version was frozen fine and works as expected. The Mac 
build (.app) works fine on the development computer, but when it's put on 
another Mac, it doesn't run. Double-clicking on the app does nothing. Executing 
from the command line produces the following error:

LSOpenURLsWithRole() failed for the application 
/Applications/FluencyCalculator.app with error -10810.

I researched LSOpenURLsWithRole() and error -10810, but didn't get anywhere. 
Does anyone know how to fix it?

Thanks!

afukada

------------------------------------------------------------------------------
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net<mailto:cx-freeze-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

------------------------------------------------------------------------------
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to