Hi Tim, Thanks for the report! Yes, that's a bad copy-paste error ;-)
I've just pushed the file without the extra dirname(), so it should trigger the rpm build again. regards, Miguel On Mon, Jan 19, 2015 at 7:25 AM, Tim Nicholson <[email protected]> wrote: > There is something a bit awry with the way the /usr/bin/twister-control > python script is working on Tumbleweed 9and possibly other versions). > > Looks to me like an error in line 53 in saveConfig() of > /usr/bin/twister-control > > line 52 test for the existence of:- > > "os.path.exists(configDir)" > > and if that fails line 53 tries to make:- > > "os.path.dirname(configDir)" > > which is the parent dir of configDir, which is the home folder so fails > with a:- > > "OSError: [Errno 17] File exists: '/home/tim'" > > Surely line 53 should read:- > > "os.makedirs(os.path.dirname(configFilename))" > > or more simply:- > > "os.makedirs(configDir)" > > Obviously if the .twister folder is pre- created it all works. > > Tim. > > -- > You received this message because you are subscribed to the Google Groups > "twister-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "twister-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
