-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

please upgrade to 0.5.3 - this got fixed a couple of days ago.

On 05/06/2010 05:47 PM, Donald Douwsma wrote:
> pisi 0.5.2-r0.4 seems to have problems loading its config.
> 
> r...@om-gta02 ~ $ pisi -v shrsim opimd
> ...
> Verbose mode on
> In case of conflicts I use the following strategy: Skip
> Traceback (most recent call last):
>   File "/bin/pisi", line 153, in <module>
>     pisicli.startCLI()
>   File "/opt/pisi/pisicli.py", line 214, in startCLI
>     config,  configfolder = pisi.readConfiguration()
>   File "/opt/pisi/pisi.py", line 57, in readConfiguration
>     pisiprogress.getCallback().verbose("Reading configfile: %s" %(configfile) 
> )
> NameError: global name 'configfile' is not defined
> 
> This patch fixes the problem for me, looks like some of the config code 
> was being re-factored and got broken.
> 
> --- pisi.py.org       Mon May  3 18:49:15 2010
> +++ pisi.py   Thu May  6 16:38:28 2010
> @@ -54,6 +54,7 @@
>      Loads configuration from the configuration file and returns the 
> container with all the information as well as the config folder
>      """
>      configfolder = os.path.join(os.environ.get('HOME'), '.pisi')
> +    configfile = getConfigLocation()
>      pisiprogress.getCallback().verbose("Reading configfile: %s" 
> %(configfile) )
>      config = getConfiguration()
>      return config, configfolder
> _______________________________________________
> Shr-devel mailing list
> [email protected]
> http://lists.shr-project.org/mailman/listinfo/shr-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJL5R3CAAoJECyCaNMbCftRhyMH/iUwx17Dvgbj6cEYhQYVSI/U
6dRJfz9D/Ds82Sg4V9jMB3MQeApFXDNNqbkWLowseNgNkvhhjjU4jchldidNXJgE
mTJ/eHL/t4+u7mWWNfFLyEDIyUe+fKFs6FJAXfkCOzOcAkDk6eFE8zYfOElQorjc
McsHmief67l2DL4sjz1alnushqlWYbF5yvh0er3sUDcFAi8WnQcOSYb1OAphnFyI
3ul/5euiWiLhmDz8ezLKg/2+BngYdYdHgFsJIP4Z396bSUkMntPPGaiEV8hbW6HF
w6nfXaMjHPLowNOw8ZnDDgR16u6BJCsR7eyCTEuD7bsyXQA/fBnBWWjpOzyo15w=
=WO/M
-----END PGP SIGNATURE-----
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to