"cx_Freeze.freezer.ConfigError: no initscript named Console"

Discussion in 'Python' started by John, Oct 1, 2009.

  1. John

    John Guest

    cx_freeze v4.01
    Python 2.6
    Ubuntu Jaunty

    Following the example of 'cx-freeze hello.py', I'm getting the error
    message below. I put all of the error keywords into google and found no
    hits.

    Some people in various posts have said to use Python 2.5 but a lot of my
    code is using Python 2.6 features.

    Can you telling what I'm doing wrong?

    ../cxfreeze hello.py
    Traceback (most recent call last):
    File "./cxfreeze", line 5, in <module>
    main()
    File "/root/cx_Freeze-4.1/cx_Freeze/main.py", line 178, in main
    silent = options.silent)
    File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 85, in __init__
    self._VerifyConfiguration()
    File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 325, in
    _VerifyConfiguration
    self._GetInitScriptFileName()
    File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 246, in
    _GetInitScriptFileName
    raise ConfigError("no initscript named %s", name)
    cx_Freeze.freezer.ConfigError: no initscript named Console
    John, Oct 1, 2009
    #1
    1. Advertising

  2. John

    ici Guest

    On Oct 1, 2:19 pm, John <> wrote:
    > cx_freeze v4.01
    > Python 2.6
    > Ubuntu Jaunty
    >
    > Following the example of 'cx-freeze hello.py', I'm getting the error
    > message below. I put all of the error keywords into google and found no
    > hits.
    >
    > Some people in various posts have said to use Python 2.5 but a lot of my
    > code is using Python 2.6 features.
    >
    > Can you telling what I'm doing wrong?
    >
    > ./cxfreeze hello.py
    > Traceback (most recent call last):
    > File "./cxfreeze", line 5, in <module>
    > main()
    > File "/root/cx_Freeze-4.1/cx_Freeze/main.py", line 178, in main
    > silent = options.silent)
    > File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 85, in __init__
    > self._VerifyConfiguration()
    > File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 325, in
    > _VerifyConfiguration
    > self._GetInitScriptFileName()
    > File "/root/cx_Freeze-4.1/cx_Freeze/freezer.py", line 246, in
    > _GetInitScriptFileName
    > raise ConfigError("no initscript named %s", name)
    > cx_Freeze.freezer.ConfigError: no initscript named Console


    Hi, I found the same problem when used to install cx_freeze via
    easy_install. Download the cx_freeze sorce, than:

    sudo setup.py install

    Now all is fine.
    Ubuntu 9.04, Python 2.6
    ici, Oct 9, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page