← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 703406] Re: Warnings while installing

 

Hi, people.  xrg wrote:

  "These warnings are harmless. They are produced because in MANIFEST.in we define
all possible patterns of files, and setup.py worries for not finding all of
them.  In general, warnings are warnings, not errors. They mean that something wasn't
perfect, but they don't necessarily mean that something is wrong."

which is a reasonable explanation, which should find its way either as
printed statement on the console as the installation starts, or  at
least within a README file.

The warnings may be harmless for those in the know, but they are not
totally harmless to the average installers, as they got me (and likely
other users as well) to worry.  You know, when an installation fails,
someone ever reads Warnings :-).  I do understand that warnings are only
warnings.  Yet, warnings are also warnings: while not strictly a
"breaking point", they break the confidence we may have in that the
installation was right.

XRG also writes "They are produced because in MANIFEST.in we define all
possible patterns of files, and setup.py worries for not finding all of
them.".  Best would be, instead of defining all possible patterns of
files, to define only those which OpenERP actually uses (unless, of
course, something escapes me).  If someone needs a list of all possible
patterns, for information or inventory purpose, a mere comment should
likely do.

Thanks for listening (and for understanding ☺)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/703406

Title:
  Warnings while installing

Status in OpenObject Web Client:
  Invalid

Bug description:
  This is installing OpenERP Web Client 6 rc2 on Linux Maverick (Ubuntu
  10.10).

  A flurry of warnings are produced.  See this transcript below:

  
  $ version=6.0.0-rc2
  $ cd /usr/local/src/openerp_fp
  $ tar xfz ~/Téléchargements/openerp-web-$version.tar.gz
  $ cd openerp-web-$version
  $ python setup.py install
  [...]
  no previously-included directories found matching 'dist'
  no previously-included directories found matching 'lib'
  warning: no files found matching '*.cfg' under directory 'addons/openerp'
  warning: no files found matching '*.mo' under directory 'addons/openerp'
  warning: no files found matching '*.txt' under directory 'addons/openerp'
  warning: no files found matching '*.rst' under directory 'addons/openerp'
  warning: no files found matching '*.ico' under directory 'addons/openerp'
  warning: no files found matching '*.swf' under directory 'addons/openerp'
  warning: no files found matching '*.mo' under directory 'addons/view_calendar'
  warning: no files found matching '*.rst' under directory 'addons/view_calendar'
  warning: no files found matching '*.jpg' under directory 'addons/view_calendar'
  warning: no files found matching '*.html' under directory 'addons/view_calendar'
  warning: no files found matching '*.htc' under directory 'addons/view_calendar'
  warning: no files found matching '*.swf' under directory 'addons/view_calendar'
  warning: no files found matching '*.mo' under directory 'addons/view_diagram'
  warning: no files found matching '*.rst' under directory 'addons/view_diagram'
  warning: no files found matching '*.html' under directory 'addons/view_diagram'
  warning: no files found matching '*.htc' under directory 'addons/view_diagram'
  warning: no files found matching '*.swf' under directory 'addons/view_diagram'
  warning: no files found matching '*.mo' under directory 'addons/view_graph'
  warning: no files found matching '*.rst' under directory 'addons/view_graph'
  warning: no files found matching '*.gif' under directory 'addons/view_graph'
  warning: no files found matching '*.png' under directory 'addons/view_graph'
  warning: no files found matching '*.jpg' under directory 'addons/view_graph'
  warning: no files found matching '*.html' under directory 'addons/view_graph'
  warning: no files found matching '*.css' under directory 'addons/view_graph'
  warning: no files found matching '*.htc' under directory 'addons/view_graph'
  warning: no files found matching '*.mo' under directory 'addons/widget_ckeditor'
  warning: no files found matching '*.rst' under directory 'addons/widget_ckeditor'
  warning: no files found matching '*.jpg' under directory 'addons/widget_ckeditor'
  warning: no files found matching '*.htc' under directory 'addons/widget_ckeditor'
  warning: no files found matching '*.swf' under directory 'addons/widget_ckeditor'
  [...]

  
  Are these (both the "no previously-included directory..." and "no files found series") of any consequence?  Should I worry?  Is the result of the installation dependable?

  If everything is nice and the diagnostics are meaningless, they should
  rather not be produced.  If they are unavoidable for some technical
  reason, some explanation in README or otherwise should warn the user
  that such diagnostics are to be expected, and ignored.

  Thanks for your attention.

  If not at all, then likely that these should not be produced.





References