On Thursday, February 7, 2013 7:50:50 AM UTC+1, [email protected] wrote:
>
> On Wednesday, February 6, 2013 7:12:48 PM UTC+1, Martin Z wrote:
>>
>> [email protected] píše v St 06. 02. 2013 v 10:00 -0800: 
>> > 
>> > Ah... I just had to remove the old .pyc files and then it worked! 
>> > Could it have been due to some incompatibility with Tcl/Tk 8.6, which 
>> > was installed before? 
>>
>> What files you had to remove? 
>>
>
> I removed the compiled .pyc files of all .py files that would be imported 
> into the program.
> But I guess that only the .pyc files of .py files involving Tcl/Tk really 
> matter...
>

I thought all this was a happy ending, but unfortunately it's not.
It seems that the versions that I built with PyInstaller before making 
these changes work fine on other people's systems, but the latest version 
gives some Tcl/Tk error outside my own system: 

/Users/KC/Documents/Multigeneblast_1/mgb_gui ; exit;
KCs-MacBook-Air:~ KC$ /Users/KC/Documents/Multigeneblast_1/mgb_gui ; exit;
Traceback (most recent call last):
  File "<string>", line 810, in <module>
  File "<string>", line 749, in maingui
  File 
"/Users/marnixmedema/pyinstaller-pyinstaller-c6d550c/mgb_gui/build/pyi.darwin/mgb_gui/out00-PYZ.pyz/Tkinter",
 
line 1685, in __init__
_tkinter.TclError: Can't find a usable init.tcl in the following 
directories: 
    /var/folders/hm/fpkv7y2n6kldr6p32nt7f6kw0000gn/T/_MEIDLtgU2/_MEI/tcl 
/var/folders/hm/fpkv7y2n6kldr6p32nt7f6kw0000gn/T/_MEIDLtgU2/_MEI/tcl8.5 
/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/Scripts 
/Users/KC/Documents/lib/tcl8.5 /Users/KC/lib/tcl8.5 
/Users/KC/Documents/library /Users/KC/library /Users/KC/tcl8.5.13/library 
/Users/tcl8.5.13/library
 
/var/folders/hm/fpkv7y2n6kldr6p32nt7f6kw0000gn/T/_MEIDLtgU2/_MEI/tcl/init.tcl: 
can't find package activestate::teapot::link
can't find package activestate::teapot::link
    while executing
"package require activestate::teapot::link"
    invoked from within
"if {![interp issafe] && ![catch {package require platform}]} {
            package require activestate::teapot::link
            ::activestate::teapot::link::setup
..."
    (file 
"/var/folders/hm/fpkv7y2n6kldr6p32nt7f6kw0000gn/T/_MEIDLtgU2/_MEI/tcl/init.tcl" 
line 876)
    invoked from within
"source 
/var/folders/hm/fpkv7y2n6kldr6p32nt7f6kw0000gn/T/_MEIDLtgU2/_MEI/tcl/init.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $tclfile]"
 
 
This probably means that Tcl wasn't installed properly.
 
logout

Any ideas on how I could prevent this?


 

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to