Modify

Opened 2 years ago

Closed 2 years ago

Last modified 21 months ago

#10846 closed defect (worksforme)

Install fails silently

Reported by: dorothym@… Owned by: crossroad
Priority: normal Component: SimpleMultiProjectPlugin
Severity: blocker Keywords: install
Cc: Trac Release: 1.0

Description (last modified by rjollos)

I have followed the instructions on the SimpleMultiProjectPlugin page.

I cannot see the plugin in the admin panel and the database does not have the smp_project table.

No errors reported but curiously

trac-admin /instance_trac/ upgrade 

reports that "Database is up to date, no upgrade necessary."

I'm running on ubuntu 12.10 with MySQL version 5.5.29-0ubuntu0.12.10.1:

$ sudo python setup.py bdist_egg
[sudo] password for me:
running bdist_egg
running egg_info
writing SimpleMultiProject.egg-info/PKG-INFO
writing top-level names to SimpleMultiProject.egg-info/top_level.txt
writing dependency_links to SimpleMultiProject.egg-info/dependency_links.txt
writing entry points to SimpleMultiProject.egg-info/entry_points.txt
reading manifest file 'SimpleMultiProject.egg-info/SOURCES.txt'
writing manifest file 'SimpleMultiProject.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/roadmap.py -> build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/environmentSetup.py -> build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/admin.py -> build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/__init__.py -> build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/model.py -> build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/ticket.py -> build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/timeline.py -> build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/admin_component.py -> build/bdist.linux-x86_64/egg/simplemultiproject
creating build/bdist.linux-x86_64/egg/simplemultiproject/templates
copying build/lib.linux-x86_64-2.7/simplemultiproject/templates/simplemultiproject_adminpanel.html -> build/bdist.linux-x86_64/egg/
simplemultiproject/templates
copying build/lib.linux-x86_64-2.7/simplemultiproject/templates/version_view.html -> build/bdist.linux-x86_64/egg/simplemultiprojec
t/templates
copying build/lib.linux-x86_64-2.7/simplemultiproject/templates/roadmap_versions.html -> build/bdist.linux-x86_64/egg/simplemultipr
oject/templates
copying build/lib.linux-x86_64-2.7/simplemultiproject/templates/version_edit.html -> build/bdist.linux-x86_64/egg/simplemultiprojec
t/templates
copying build/lib.linux-x86_64-2.7/simplemultiproject/templates/smp_admin_components.html -> build/bdist.linux-x86_64/egg/simplemul
tiproject/templates
copying build/lib.linux-x86_64-2.7/simplemultiproject/templates/version_delete.html -> build/bdist.linux-x86_64/egg/simplemultiproj
ect/templates
copying build/lib.linux-x86_64-2.7/simplemultiproject/milestone.py -> build/bdist.linux-x86_64/egg/simplemultiproject
copying build/lib.linux-x86_64-2.7/simplemultiproject/version.py -> build/bdist.linux-x86_64/egg/simplemultiproject
creating build/bdist.linux-x86_64/egg/simplemultiproject/htdocs
copying build/lib.linux-x86_64-2.7/simplemultiproject/htdocs/filter_milestones.js -> build/bdist.linux-x86_64/egg/simplemultiprojec
t/htdocs
creating build/bdist.linux-x86_64/egg/simplemultiproject/htdocs/css
copying build/lib.linux-x86_64-2.7/simplemultiproject/htdocs/css/simplemultiproject.css -> build/bdist.linux-x86_64/egg/simplemulti
project/htdocs/css
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/roadmap.py to roadmap.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/environmentSetup.py to environmentSetup.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/admin.py to admin.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/model.py to model.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/ticket.py to ticket.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/timeline.py to timeline.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/admin_component.py to admin_component.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/milestone.py to milestone.pyc
byte-compiling build/bdist.linux-x86_64/egg/simplemultiproject/version.py to version.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying SimpleMultiProject.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying SimpleMultiProject.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying SimpleMultiProject.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying SimpleMultiProject.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying SimpleMultiProject.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/SimpleMultiProject-0.0.3dev-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)

I copied the .egg directory to my trac instance plugins directory and restarted Apache and then tried to update the database but it seemed to think that it is up to date.

Any help appreciated. Thanks Dorothy

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by anonymous

Several restarts of Apache followed by a restart of mysql enabled trac to detect that a database upgrade was necessary.

Will mark as closed.

comment:2 Changed 2 years ago by anonymous

  • Resolution set to worksforme
  • Status changed from new to closed

comment:3 Changed 21 months ago by rjollos

  • Description modified (diff)

Add Comment

Modify Ticket

Action
as closed The owner will remain crossroad.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.