Login | Register
My pages Projects Community openCollabNet

Discussions > Issues > [Issue 39] New - Changed path for default configuration does not effect constant definitions.

repoguard
Discussion topic

Back to topic list

[Issue 39] New - Changed path for default configuration does not effect constant definitions.

Author schlauch
Full name Tobias Schlauch
Date 2012-08-06 07:24:26 PDT
Message http://repoguard.tig​ris.org/issues/show_​bug.cgi?id=39
                 Issue #|39
                 Summary|Changed path for default configuration does not effect
                        | constant definitions.
               Component|repoguard
                 Version|0.2.0
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|repoguard
             Assigned to|schlauch
             Reported by|schlauch






------- Additional comments from schlauch at tigris dot org Mon Aug 6 07:24:25 -0700 2012 -------
This leads to the problem that the default configuration files can be installed to any
directory but cannot be found later:
D:\repoguard-0.3.0.​dev-r114>repoguar​d validate d:\Lib\repoguard.conf
Traceback (most recent call last):
  File "C:\Python27\Scrip​ts\repoguard-script​.py", line 9, in <module>
    load_entry_point('re​poguard==0.3.0.dev-r​114', 'console_scripts', 'repoguard')()
  File "C:\Python27\lib\​site-packages\repog​uard-0.3.0.dev_r114-​py2.7.egg\repoguard​\main.py",
line 71, in main
    return getattr(tool, descriptor.method)(parser) or 0
  File "C:\Python27\lib\​site-packages\repog​uard-0.3.0.dev_r114-​py2.7.egg\repoguard​\tools\config.py",​
line 76, in validate
    main_config = RepoGuardConfig(cons​tants.CONFIG_PATH)
  File "C:\Python27\lib\​site-packages\repog​uard-0.3.0.dev_r114-​py2.7.egg\repoguard​\core\config.py",
line 60, in __init__
    write_empty_values=True, encoding='UTF-8', interpolation='template'
  File "C:\Python27\lib\​site-packages\confi​gobj-4.7.2-py2.7.egg​\configobj.py", line 1242,
in __init__
    self._load(infile, configspec)
  File "C:\Python27\lib\​site-packages\confi​gobj-4.7.2-py2.7.egg​\configobj.py", line 1254,
in _load
    raise IOError('Config file not found: "%s".' % self.filename)
IOError: Config file not found: "C:\Users\schlauch​\.repoguard\repogu​ard.conf".

repoguard.core.const​ants.CONFIG_PATH must be set during installation.

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

[Issue 39] New - Changed path for default configuration does not effect constant definitions. schlauch Tobias Schlauch 2012-08-06 07:24:26 PDT
     [Issue 39] Changed path for default configuration does not effect constant definitions. schlauch Tobias Schlauch 2012-08-07 04:07:23 PDT
     [Issue 39] Changed path for default configuration does not effect constant definitions. schlauch Tobias Schlauch 2012-08-07 04:11:10 PDT
Messages per page: