#0723 Latest svn (197) says it is broken
I am running 8.3, while I was waiting on a couple patches. I renamed IssueTrackerProduct to IssueTrackerProduct.8.3 and renamed IssueTrackerProduct.svn back to IssueTrackerProduct. Then in the ITproduct folder, I ran svn update. The, I chowned (-r) the directory to the correct user:group. But when I start zope with this folder in place I get the following error message.
This object is broken because the IssueTrackerProduct product that created it is no longer installed or is installed incorrectly. Please contact the product maintainer for assistance.
Note that the data associated with this product has not been lost, and will be accessible again if the product is reinstalled.
and from the root view, my ITproduct instance has a broken icon with a "?" on it saying: helpdesk (This object from the IssueTrackerProduct product is broken!)
I successfully reverted to the 8.3 with no problems. But I wonder if I did an svn update at the wrong time?
5 months and 2 weeks old
If it's broken you should get some errors in the event log if the product (from svn) can't be installed. It's important that the name is "IssueTrackerProduct" no matter where it comes from (SVN or .tgz). Any other name with break it.
Look for errors and deal with those. It could be permission related if you've got a complex setup.
If you don't get any errors in the event.log, try clicking on IssueTrackerProduct in /Control_Panel/Products/manage_main
I tried a fresh svn checkout on a dev system with the same specs. This is what the event log says.
2008-04-14T01:09:09 ERROR Application Could not import Products.IssueTrackerProduct
Traceback (most recent call last):
File "/usr/lib/zope2.10/lib/python/OFS/Application.py", line 703, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/var/lib/zope2.10/instance/sandbox/Products/IssueTrackerProduct/__init__.py", line 13, in ?
import IssueTracker
File "/var/lib/zope2.10/instance/sandbox/Products/IssueTrackerProduct/IssueTracker.py", line 133, in ?
from TemplateAdder import addTemplates2Class, CTP
File "/var/lib/zope2.10/instance/sandbox/Products/IssueTrackerProduct/TemplateAdder.py", line 123, in ?
from Constants import DISABLE_CHECKOUTABLE_TEMPLATES
File "/var/lib/zope2.10/instance/sandbox/Products/IssueTrackerProduct/Constants.py", line 222
'sxi':'sxi.png', 'sxw':'sxw.png' 'rar':'rar.png',
^
SyntaxError: invalid syntax
------
2008-04-14T01:09:10 WARNING OFS.Uninstalled Could not import class 'IssueTracker' from module 'Products.IssueTrackerProduct.IssueTracker'
------
2008-04-14T01:09:13 ERROR Application Couldn't install IssueTrackerProduct
Traceback (most recent call last):
File "/usr/lib/zope2.10/lib/python/OFS/Application.py", line 752, in install_product
global_dict, global_dict, silly)
File "/var/lib/zope2.10/instance/sandbox/Products/IssueTrackerProduct/__init__.py", line 13, in ?
import IssueTracker
File "/var/lib/zope2.10/instance/sandbox/Products/IssueTrackerProduct/IssueTracker.py", line 133, in ?
from TemplateAdder import addTemplates2Class, CTP
File "/var/lib/zope2.10/instance/sandbox/Products/IssueTrackerProduct/TemplateAdder.py", line 123, in ?
from Constants import DISABLE_CHECKOUTABLE_TEMPLATES
File "/var/lib/zope2.10/instance/sandbox/Products/IssueTrackerProduct/Constants.py", line 222
'sxi':'sxi.png', 'sxw':'sxw.png' 'rar':'rar.png',
^
SyntaxError: invalid syntax
------
2008-04-14T01:09:13 INFO Zope Ready to handle requests
I know the date is off, that is a separate issue, but the 8.3 tar file works and is the same
Here are the system settings.
Zope Version
(Zope 2.10.3-final, python 2.4.4, linux2)
Python Version
2.4.4 (#0002, Mar 7 2008, 04:45:43) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
System Platform
linux2
SOFTWARE_HOME
/usr/lib/zope2.10/lib/python
ZOPE_HOME
/usr/lib/zope2.10
INSTANCE_HOME
/var/lib/zope2.10/instance/sandbox
CLIENT_HOME
/var/lib/zope2.10/instance/sandbox/var
Network Services
ZServer.HTTPServer.zhttp_server (Port: 8028)
Process Id
2926 (-1262044272)
Argh!! It was an accident. I managed to check in a python file that had a Syntax error in it. :( Just do a SVN update and try again. I really ought to combine the checkins with running of unit tests.
Updated to build 198, but the menu is broken. Notice the copy and paste of the menu below, there is a duplicate for each menu item overlapping it.
* Home Home
* Add Issue Add Issue
* Quick Add Issue Quick Add Issue
* List Issues List Issues
* Complete List Complete List
* User admin
Also attached is a screenshot.
On the bright side, pop3 retrieval did work. Though it is not formatting the html emails from outlook properly.
Look for any errors in the event log. There's something wrong, perhaps, about how images are installed.