cx_freeze problem on Ubuntu

John John at nospam.net
Thu Oct 1 19:01:07 EDT 2009


Jon Clements wrote:

> 
> Firstly -- never used the library, hadn't even heard of it --
> disclaimer over :)
> 
> Err, python 2.6 doesn't have print as a function by default. Have you
> done a from __future__ import ?
> 
>     def _GetInitScriptFileName(self, argsSource = None):
>         if argsSource is None:
>             argsSource = self
>         name = argsSource.initScript
>         if name is None:
>             if argsSource.copyDependentFiles:
>                 name = "Console" (****)
>             else:
>                 name = "ConsoleKeepPath"
>             if sys.version_info[0] >= 3:
>                 name += "3"
>         argsSource.initScript = self._GetFileName("initscripts", name)
>         if argsSource.initScript is None:
>             raise ConfigError("no initscript named %s", name)
> 
> Should be sufficient clues(****),
> 
> Cheers,
> Jon

You wrote 'Firstly' which implies a 'Secondly' which you failed to add. 
  You lose -1 points.
You gained +1 points for your perspicacity to minutia.
You lose -2 points to help resolve the problem.

Life is all about gaining points, even if no one cares.

Cheers,

John,



More information about the Python-list mailing list