On Wed, Apr 12, 2017 at 5:30 PM Matthew Lavigne <[email protected]>
wrote:

> import trac does not give me the same error.
>
>
> [root@ithelp .egg-cache]# pip uninstall trac
> Cannot uninstall requirement trac, not installed
> [root@ithelp .egg-cache]# pip install -U pip setuptools wheel
> Requirement already up-to-date: pip in /usr/lib/python2.7/site-packages
> Requirement already up-to-date: setuptools in
> /usr/lib/python2.7/site-packages
> Collecting wheel
>   Downloading wheel-0.29.0-py2.py3-none-any.whl (66kB)
>     100% |████████████████████████████████| 71kB 4.1MB/s
> Requirement already up-to-date: six>=1.6.0 in
> /usr/lib/python2.7/site-packages (from setuptools)
> Requirement already up-to-date: appdirs>=1.4.0 in
> /usr/lib/python2.7/site-packages (from setuptools)
> Requirement already up-to-date: packaging>=16.8 in
> /usr/lib/python2.7/site-packages (from setuptools)
> Requirement already up-to-date: pyparsing in
> /usr/lib/python2.7/site-packages (from packaging>=16.8->setuptools)
> Installing collected packages: wheel
> Successfully installed wheel-0.29.0
>
>
> Good so far:
>
>
> [root@ithelp ~]# pip wheel --no-deps --wheel-dir wheels  svn+
> https://svn.edgewall.org/repos/trac/branches/1.2-stable
> Collecting svn+https://svn.edgewall.org/repos/trac/branches/1.2-stable
>   Checking out https://svn.edgewall.org/repos/trac/branches/1.2-stable to
> /tmp/pip-2yOxia-build
> Building wheels for collected packages: Trac
>   Running setup.py bdist_wheel for Trac ... done
>   Stored in directory: /root/wheels
> Successfully built Trac
> [root@ithelp ~]# wheel install wheels/Trac-1.2.2.dev0-py2-none-any.whl
>
> No output returned from that.
>
>
> [root@ithelp ~]# ls -lhtr /usr/lib/python2.7/site-packages/
> total 2.4M
> <snip>
> drwx------   5 root   root   4.0K Apr 12 20:17 wheel
> drwx------   2 root   root   4.0K Apr 12 20:17 wheel-0.29.0.dist-info
> drwx------   5 root   root     69 Apr 12 20:19 tracopt
> drwx------  18 root   root   4.0K Apr 12 20:19 trac
> drwx------   2 root   root    146 Apr 12 20:19 Trac-1.2.2.dev0.dist-info
>
> [root@ithelp ~]# python
> Python 2.7.5 (default, Nov  6 2016, 00:28:07)
> [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import trac
> >>>
>
>
> I have no trac-admin command nor do I have tracd.
>

Your webserver is probably running as a user such as "www-data", not root,
depending on which Linux distribution you are running. You probably need
755 permissions for *.dist-info and 644 for the files inside the dist-info.
You probably need the same for trac and tracopt.

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
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].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to