so pip uninstall trac (get back to clean) then pip install
[root@ithelp ~]# pip install wheels/Trac-1.2.2.dev0-py2-none-any.whl Processing ./wheels/Trac-1.2.2.dev0-py2-none-any.whl Requirement already satisfied: setuptools>=0.6 in /usr/lib/python2.7/site-packages (from Trac==1.2.2.dev0) Requirement already satisfied: Genshi>=0.6 in /usr/lib64/python2.7/site-packages (from Trac==1.2.2.dev0) Requirement already satisfied: six>=1.6.0 in /usr/lib/python2.7/site-packages (from setuptools>=0.6->Trac==1.2.2.dev0) Requirement already satisfied: appdirs>=1.4.0 in /usr/lib/python2.7/site-packages (from setuptools>=0.6->Trac==1.2.2.dev0) Requirement already satisfied: packaging>=16.8 in /usr/lib/python2.7/site-packages (from setuptools>=0.6->Trac==1.2.2.dev0) Requirement already satisfied: pyparsing in /usr/lib/python2.7/site-packages (from packaging>=16.8->setuptools>=0.6->Trac==1.2.2.dev0) Installing collected packages: Trac Successfully installed Trac-1.2.2.dev0 ok that looks promising: ls -lhtr in /usr/lib/python2.7/site-package drwx------ 18 root root 4.0K Apr 12 21:31 trac drwx------ 5 root root 88 Apr 12 21:31 tracopt drwx------ 2 root root 4.0K Apr 12 21:31 Trac-1.2.2.dev0.dist-info so those need to be adjusted? so just in case I pushed them to 755: drwxr-xr-x 18 root root 4.0K Apr 12 21:31 trac drwxr-xr-x 5 root root 88 Apr 12 21:31 tracopt drwxr-xr-x 2 root root 4.0K Apr 12 21:31 Trac-1.2.2.dev0.dist-info [Wed Apr 12 21:36:22.766148 2017] [core:notice] [pid 16803] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Wed Apr 12 21:36:36.570967 2017] [:error] [pid 16806] [client 9.80.206.36:40664] mod_wsgi (pid=16806): Exception occurred processing WSGI script '/var/www/trac/trac.wsgi'. [Wed Apr 12 21:36:36.571103 2017] [:error] [pid 16806] [client 9.80.206.36:40664] Traceback (most recent call last): [Wed Apr 12 21:36:36.571157 2017] [:error] [pid 16806] [client 9.80.206.36:40664] File "/var/www/trac/trac.wsgi", line 30, in application [Wed Apr 12 21:36:36.571304 2017] [:error] [pid 16806] [client 9.80.206.36:40664] from trac.web.main import dispatch_request [Wed Apr 12 21:36:36.571351 2017] [:error] [pid 16806] [client 9.80.206.36:40664] ImportError: No module named web.main now I can import trac in python as root and my user. [root@ithelp site-packages]# 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 >>> [root@ithelp site-packages]# su - mattlav Last login: Wed Apr 12 21:25:35 EDT 2017 on pts/0 [mattlav@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 >>> quit Use quit() or Ctrl-D (i.e. EOF) to exit Matthew THanks for the quick responses :) On Wed, Apr 12, 2017 at 9:26 PM, Ryan Ollos <[email protected]> wrote: > > > On Wed, Apr 12, 2017 at 6:13 PM Matthew Lavigne <[email protected]> > wrote: > >> still do not have a tracd or trac-admin either. Not sure what is going >> on. Aggravated that I did this hot, without a good backup but right now I >> can't even get it to roll back to 1.2.1 and start, which is just pure >> frustration. >> >> Matt >> > > Oh, sorry. I misdirected you. > > Rather than "wheel install" you should have run "pip install", with all > the same options as I specified. But since you've already run "wheel > install", you can get the same result as "pip install" by additionally > running: > > $ wheel install-scripts trac > On success it will return silently. > > - Ryan > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Trac Users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/trac-users/ICHC862VZ30/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
