Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rever release failing on windows with permissions errors #204

Open
sbillinge opened this issue Oct 4, 2019 · 5 comments
Open

rever release failing on windows with permissions errors #204

sbillinge opened this issue Oct 4, 2019 · 5 comments

Comments

@sbillinge
Copy link
Collaborator

The same release runs on a mac computer. Here is the stack dump:

Activity 'version_bump' has already been completed!
activity-start:changelog:starting activity changelog
activity-error:changelog:activity failed with execption:
Traceback (most recent call last):
  File "C:\Users\simon\Anaconda3\envs\bg\lib\site-packages\rever\activity.xsh", line 62, in __call__
    self.func(*args, **kwargs)
  File "C:\Users\simon\Anaconda3\envs\bg\lib\site-packages\rever\activities\changelog.xsh", line 101, in _func
    merged = self.merge_news(news=news, ignore=ignore)
  File "C:\Users\simon\Anaconda3\envs\bg\lib\site-packages\rever\activities\changelog.xsh", line 115, in merge_news
    with open(fname) as f:
PermissionError: [Errno 13] Permission denied: 'news\\rever'
rewinding to 0555dd229dcd6dc30400b7e4aedab685b401396d

Any thoughts?

@sbillinge
Copy link
Collaborator Author

@scopatz @CJ-Wright do you have thoughts on this? I can't release my pytentiostat project right now.

@CJ-Wright
Copy link
Member

What are the permissions on that file/folder? Can you open it in a regular python session?

@sbillinge
Copy link
Collaborator Author

pycharm can read and write files in both news and in news\rever. Also I can open and read a file in the news\rever directory ok using ipython.

Another question....why is rever writing a rever directory into my news directory? Shouldn't it just be deleting all the rst files in there except the template?

@CJ-Wright
Copy link
Member

I think it is trying to read the file not write it

@sbillinge
Copy link
Collaborator Author

sbillinge commented Oct 8, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants