[MacPorts] #38952: Scrapy templates unreadable except by root
#38952: Scrapy templates unreadable except by root -------------------------+-------------------------------- Reporter: moboyle79@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: -------------------------+-------------------------------- I installed py2.7-scrapy, and started following the basic scrapy tutorial [http://doc.scrapy.org/en/latest/intro/tutorial.html#intro-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/}}} -- Ticket URL: <https://trac.macports.org/ticket/38952> MacPorts <http://www.macports.org/> Ports system for OS X
#38952: Scrapy templates unreadable except by root --------------------------+-------------------------------- Reporter: moboyle79@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by moboyle79@…): Replying to [ticket:38952 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/}}} -- Ticket URL: <https://trac.macports.org/ticket/38952#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38952: Scrapy templates unreadable except by root --------------------------+--------------------- Reporter: moboyle79@… | Owner: perry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-scrapy | --------------------------+--------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => perry@… * port: => py-scrapy Comment: In the future, please fill in the Port field and Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/38952#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38952: Scrapy templates unreadable except by root --------------------------+-------------------------------- Reporter: moboyle79@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-scrapy | --------------------------+-------------------------------- Changes (by petr@…): * owner: perry@… => macports-tickets@… Comment: Perry gave maintainership of this port! -- Ticket URL: <https://trac.macports.org/ticket/38952#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38952: py-scrapy: templates unreadable except by root --------------------------+-------------------------------- Reporter: moboyle79@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-scrapy | --------------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/38952#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38952: py-scrapy: templates unreadable except by root --------------------------+--------------------------- Reporter: moboyle79@… | Owner: khindenburg@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-scrapy | --------------------------+--------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => khindenburg@… Comment: Assigning to new maintainer. -- Ticket URL: <https://trac.macports.org/ticket/38952#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38952: py-scrapy: templates unreadable except by root --------------------------+--------------------------- Reporter: moboyle79@… | Owner: khindenburg@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: py-scrapy | --------------------------+--------------------------- Comment (by khindenburg@…): Can those having this issue; update and try again. It works fine here on Mavericks w/ the python 27 version -- Ticket URL: <https://trac.macports.org/ticket/38952#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts