Yes, UAC was disabled.
I found the solution, although it's probably only a workaround the problem:
I changed the userconfig.py file, and disabled saving to the .spyder.ini
file like this:
def __save(self):
"""
Save config into the associated .ini file
"""
#this part of the script causes problems so let's try to save
nothing at all
#conf_file = file(self.filename(),'w')
#self.write(conf_file)
#conf_file.close()
pass
Now, I can shut down spyder and open again without problems. And it even
looks like the import sitecustomize fails error is gone.
Roel
On Sunday, 18 March 2012 13:31:08 UTC+1, Pierre Raybaut wrote:
>
> Hi,
>
> I see that you are a Windows 7 user: have you disabled UAC? (that is
> almost mandatory when doing development on Windows 7)
>
> -Pierre
>
> Le 17 mars 2012 21:23, Roel De Coninck <[email protected]> a écrit :
> > hm, I have bad news: even with the 'trick', it doesn't work now.
> > So I started Spyder (v2.1.8), it started but import sitecustomize
> failed. I
> > closed spyder to try again, but then it didn't start anymore, neither
> way.
> > But the good news: using the windows console, it kept the messages, and
> so I
> > can give you the error message in the screenshot added.
> > As you can see, there's a problem saving the .spyder.ini file.
> >
> > I can open the .spyder.ini file, and save it, so the 'w' options should
> be
> > fine. When I remove the file and start spyder again, I get exactly the
> same
> > error message, but a new .spyder.ini is created in the right location.
> >
> > I see not solution. Am I the only one suffering from this issue?
> >
> > thanks for your help,
> > Roel
> >
> >
> > On Friday, 16 March 2012 14:05:22 UTC+1, Roel De Coninck wrote:
> >>
> >> Dear all,
> >>
> >> I had 2 big problems with spyder (windows7, 64 bit)
> >> 1) the program does not always start (I see a window popping up for a
> >> second, then it closes and nothing happens)
> >> 2) import sitecustomize failed
> >>
> >> The first problem seemed to occur more often after spyder was closed
> down:
> >> restarting rarely worked.
> >> Now I found a solution to that problem, that is very surprising to me: I
> >> right click on the shortcut to start spyder, and copy the target (looks
> like
> >> this:
> >> C:\Python27\python.exe "C:\Python27\Scripts\spyder"). Then I go to a
> >> windows command window, paste and enter ==> spyder starts without any
> >> problem. Why would this work, but not by clicking on the shortcut?
> >>
> >> I just thought I'd let you know. I'm extremely delighted that this
> works,
> >> I hope the trick will keep on working in the future, or even better:
> that
> >> spyder would launch from the shortcut directly.
> >> Regards,
> >> Roel
> >>
> >>
> >>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "spyder" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/spyderlib/-/SlhEyOHVc-YJ.
> >
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/spyderlib?hl=en.
>
>
On Sunday, 18 March 2012 13:31:08 UTC+1, Pierre Raybaut wrote:
>
> Hi,
>
> I see that you are a Windows 7 user: have you disabled UAC? (that is
> almost mandatory when doing development on Windows 7)
>
> -Pierre
>
> Le 17 mars 2012 21:23, Roel De Coninck <[email protected]> a écrit :
> > hm, I have bad news: even with the 'trick', it doesn't work now.
> > So I started Spyder (v2.1.8), it started but import sitecustomize
> failed. I
> > closed spyder to try again, but then it didn't start anymore, neither
> way.
> > But the good news: using the windows console, it kept the messages, and
> so I
> > can give you the error message in the screenshot added.
> > As you can see, there's a problem saving the .spyder.ini file.
> >
> > I can open the .spyder.ini file, and save it, so the 'w' options should
> be
> > fine. When I remove the file and start spyder again, I get exactly the
> same
> > error message, but a new .spyder.ini is created in the right location.
> >
> > I see not solution. Am I the only one suffering from this issue?
> >
> > thanks for your help,
> > Roel
> >
> >
> > On Friday, 16 March 2012 14:05:22 UTC+1, Roel De Coninck wrote:
> >>
> >> Dear all,
> >>
> >> I had 2 big problems with spyder (windows7, 64 bit)
> >> 1) the program does not always start (I see a window popping up for a
> >> second, then it closes and nothing happens)
> >> 2) import sitecustomize failed
> >>
> >> The first problem seemed to occur more often after spyder was closed
> down:
> >> restarting rarely worked.
> >> Now I found a solution to that problem, that is very surprising to me: I
> >> right click on the shortcut to start spyder, and copy the target (looks
> like
> >> this:
> >> C:\Python27\python.exe "C:\Python27\Scripts\spyder"). Then I go to a
> >> windows command window, paste and enter ==> spyder starts without any
> >> problem. Why would this work, but not by clicking on the shortcut?
> >>
> >> I just thought I'd let you know. I'm extremely delighted that this
> works,
> >> I hope the trick will keep on working in the future, or even better:
> that
> >> spyder would launch from the shortcut directly.
> >> Regards,
> >> Roel
> >>
> >>
> >>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "spyder" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/spyderlib/-/SlhEyOHVc-YJ.
> >
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/spyderlib?hl=en.
>
>
On Sunday, 18 March 2012 13:31:08 UTC+1, Pierre Raybaut wrote:
>
> Hi,
>
> I see that you are a Windows 7 user: have you disabled UAC? (that is
> almost mandatory when doing development on Windows 7)
>
> -Pierre
>
> Le 17 mars 2012 21:23, Roel De Coninck <[email protected]> a écrit :
> > hm, I have bad news: even with the 'trick', it doesn't work now.
> > So I started Spyder (v2.1.8), it started but import sitecustomize
> failed. I
> > closed spyder to try again, but then it didn't start anymore, neither
> way.
> > But the good news: using the windows console, it kept the messages, and
> so I
> > can give you the error message in the screenshot added.
> > As you can see, there's a problem saving the .spyder.ini file.
> >
> > I can open the .spyder.ini file, and save it, so the 'w' options should
> be
> > fine. When I remove the file and start spyder again, I get exactly the
> same
> > error message, but a new .spyder.ini is created in the right location.
> >
> > I see not solution. Am I the only one suffering from this issue?
> >
> > thanks for your help,
> > Roel
> >
> >
> > On Friday, 16 March 2012 14:05:22 UTC+1, Roel De Coninck wrote:
> >>
> >> Dear all,
> >>
> >> I had 2 big problems with spyder (windows7, 64 bit)
> >> 1) the program does not always start (I see a window popping up for a
> >> second, then it closes and nothing happens)
> >> 2) import sitecustomize failed
> >>
> >> The first problem seemed to occur more often after spyder was closed
> down:
> >> restarting rarely worked.
> >> Now I found a solution to that problem, that is very surprising to me: I
> >> right click on the shortcut to start spyder, and copy the target (looks
> like
> >> this:
> >> C:\Python27\python.exe "C:\Python27\Scripts\spyder"). Then I go to a
> >> windows command window, paste and enter ==> spyder starts without any
> >> problem. Why would this work, but not by clicking on the shortcut?
> >>
> >> I just thought I'd let you know. I'm extremely delighted that this
> works,
> >> I hope the trick will keep on working in the future, or even better:
> that
> >> spyder would launch from the shortcut directly.
> >> Regards,
> >> Roel
> >>
> >>
> >>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "spyder" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/spyderlib/-/SlhEyOHVc-YJ.
> >
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/spyderlib?hl=en.
>
>
On Sunday, 18 March 2012 13:31:08 UTC+1, Pierre Raybaut wrote:
>
> Hi,
>
> I see that you are a Windows 7 user: have you disabled UAC? (that is
> almost mandatory when doing development on Windows 7)
>
> -Pierre
>
> Le 17 mars 2012 21:23, Roel De Coninck <[email protected]> a écrit :
> > hm, I have bad news: even with the 'trick', it doesn't work now.
> > So I started Spyder (v2.1.8), it started but import sitecustomize
> failed. I
> > closed spyder to try again, but then it didn't start anymore, neither
> way.
> > But the good news: using the windows console, it kept the messages, and
> so I
> > can give you the error message in the screenshot added.
> > As you can see, there's a problem saving the .spyder.ini file.
> >
> > I can open the .spyder.ini file, and save it, so the 'w' options should
> be
> > fine. When I remove the file and start spyder again, I get exactly the
> same
> > error message, but a new .spyder.ini is created in the right location.
> >
> > I see not solution. Am I the only one suffering from this issue?
> >
> > thanks for your help,
> > Roel
> >
> >
> > On Friday, 16 March 2012 14:05:22 UTC+1, Roel De Coninck wrote:
> >>
> >> Dear all,
> >>
> >> I had 2 big problems with spyder (windows7, 64 bit)
> >> 1) the program does not always start (I see a window popping up for a
> >> second, then it closes and nothing happens)
> >> 2) import sitecustomize failed
> >>
> >> The first problem seemed to occur more often after spyder was closed
> down:
> >> restarting rarely worked.
> >> Now I found a solution to that problem, that is very surprising to me: I
> >> right click on the shortcut to start spyder, and copy the target (looks
> like
> >> this:
> >> C:\Python27\python.exe "C:\Python27\Scripts\spyder"). Then I go to a
> >> windows command window, paste and enter ==> spyder starts without any
> >> problem. Why would this work, but not by clicking on the shortcut?
> >>
> >> I just thought I'd let you know. I'm extremely delighted that this
> works,
> >> I hope the trick will keep on working in the future, or even better:
> that
> >> spyder would launch from the shortcut directly.
> >> Regards,
> >> Roel
> >>
> >>
> >>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "spyder" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/spyderlib/-/SlhEyOHVc-YJ.
> >
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/spyderlib?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/spyderlib/-/61nOlIauMuMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.