Opened 12 years ago
Closed 10 years ago
#38952 closed defect (fixed)
py-scrapy: templates unreadable except by root
Reported by: | moboyle79@… | Owned by: | kurthindenburg (Kurt Hindenburg) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | petrrr | |
Port: | py-scrapy |
Description
I installed py2.7-scrapy, and started following the basic scrapy tutorial here, but got an error on the first step (creating a project). The command
scrapy startproject tutorial
gave a bunch of errors about permission denied in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scrapy/templates/
. The files in there all seemed to be owned by root, with permissions and ownership -rw------- 1 root wheel
. Since the scrapy startproject command copies some of these template files, it failed. I solved the problem by simply running
sudo chmod -R +r /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scrapy/templates/
Change History (8)
comment:1 Changed 12 years ago by moboyle79@…
comment:2 Changed 12 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to perry@… |
---|---|
Port: | py-scrapy added |
In the future, please fill in the Port field and Cc the port maintainer(s).
comment:4 Changed 10 years ago by petrrr
Owner: | changed from perry@… to macports-tickets@… |
---|
Perry gave up maintainership of this port!
comment:5 Changed 10 years ago by petrrr
Summary: | Scrapy templates unreadable except by root → py-scrapy: templates unreadable except by root |
---|
comment:6 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to khindenburg@… |
---|
Assigning to new maintainer.
comment:7 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Can those having this issue; update and try again. It works fine here on Mavericks w/ the python 27 version
comment:8 Changed 10 years ago by petrrr
Resolution: | → fixed |
---|---|
Status: | new → closed |
In r123923 the port was updated. The templates have now the correct access rights.
Closing!
Replying to moboyle79@…:
Actually, I went too deep on that last command. It should have been just
sudo chmod -R +r /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scrapy/