[Erp5-users] Same problem with Accounting Template
Frank DiRocco
ofanged1 at gmail.com
Thu Mar 29 14:08:52 CEST 2007
(I hope this didn't post twice I originally used an email address that is
not subscribed and it should be bounced)
Bartek, thank you for your swift reply. I installed Mandrake 2007 from CD
onto a VMware virtual Machine. I choose to install the default packages
except for Multimedia. Upon first use I issued these commands as root.
# urpmi.removemedia -a
# urpmi.addmedia main
ftp://mirrors.secsup.org/pub/linux/mandrake/Mandrakelinux/official/2007.0/i586/media/main/releasewith
media_info/hdlist.cz
# urpmi.addmedia --update main_updates
ftp://mirrors.secsup.org/pub/linux/mandrake/Mandrakelinux/official/2007.0/i586/media/main/updateswith
media_info/hdlist.cz
# urpmi.addmedia contrib
ftp://mirrors.secsup.org/pub/linux/mandrake/Mandrakelinux/official/2007.0/i586/media/contrib/releasewith
media_info/hdlist.cz
# urpmi.addmedia --update contrib_updates
ftp://mirrors.secsup.org/pub/linux/mandrake/Mandrakelinux/official/2007.0/i586/media/contrib/updateswith
media_info/hdlist.cz
# urpmi.addmedia plf-free
ftp://ftp.planetmirror.com/pub/plf/mandriva/2007.0/free/release/binary/i586/with
hdlist.cz
# urpmi.addmedia plf-nonfree
ftp://ftp.planetmirror.com/pub/plf/mandriva/2007.0/non-free/release/binary/i586/with
hdlist.cz
# urpmi.addmedia --update nexedi
http://nexedi.org/static/mandrivalinux/2007.0/i586
# urpmi zope-ERP5 mysql zope-ERP5Subversion (Ensuring I choose Mysql-Max
(#2) and erp5-subversion (#2) packages when propmted for a selection)
# cd /var/lib/zope/Products
# sh svn_update.sh
# chown zope:zope *
# zopectl stop
# zopectl adduser zope <password>
# zopectl start
# service mysqld-max start
# chkconfig --list (to make sure zope and mysqld-max start at the nessecary
times)
# mysql
mysql> CREATE DATABASE erp5;
mysql> GRANT ALL ON erp5.* TO erp5 at localhost IDENTIFIED BY 'erp5';
mysql> quit
# echo ACCEPT net fw tcp 9080,9021 - > /etc/shorewall/rules.drakx
# echo ACCEPT net fs icmp 8 - >> /etc/shorewall/rules.drakx
# service shorewall restart
At this point I CTRL+ALT out of the virtual machine and move over to my web
browser from where I connect to the erp5 machine via IP address (has been
previously set up on erp5 machine during install as static IP and proper
entries are issued in local DNS.
On 3/29/07, bartek <bartek at erp5.pl> wrote:
>
> Frank DiRocco wrote:
> > I am receiving the same error when installing the accounting templete as
> > I did in my previously unanswered post, figure i'll try again.
> >
> >
> > Site Error
> >
> > An error was encountered while publishing this resource.
> >
> > *Error Type: KeyError *
> > *Error Value: 'erp5_accounting' *
> >
>
> It is hard to say - I did the same dozens of times and there was no
> problem, so my guess would be that you do something in a different way...
>
> Please give some more information:
> - are you using LiveCD? did you do svn_update?
> - how are you installing business templates (there are a few ways to do
> it)
> - in what sequence are you installing them - specifically, what did you
> do before trying to install erp5_accounting
>
> Bartek
>
> > ------------------------------------------------------------------------
> >
> > Troubleshooting Suggestions
> >
> > * This resource may be trying to reference a nonexistent object or
> > variable *'erp5_accounting'*.
> > * The URL may be incorrect.
> > * The parameters passed to this resource may be incorrect.
> > * A resource that this resource relies on may be encountering an
> error.
> >
> > For more detailed information about the error, please refer to the HTML
> > source for this page.
> >
> > If the error persists please contact the site maintainer. Thank you for
> > your patience.
> >
> > Time 2007/03/28 17:44:31.388 GMT-4
> > User Name (User Id) zope (zope)
> > Request URL
> >
> http://erp5:9080/erp5/portal_templates/TemplateTool_installBusinessTemplateListAction
> >
> > Exception Type KeyError
> > Exception Value 'erp5_accounting'
> >
> > Traceback (innermost last):
> >
> > * Module ZPublisher.Publish, line 101, in publish
> > * Module ZPublisher.mapply, line 88, in mapply
> > * Module ZPublisher.Publish, line 39, in call_object
> > * Module Shared.DC.Scripts.Bindings , line 306, in __call__
> > * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
> > * Module Products.PythonScripts.PythonScript, line 323, in _exec
> > * Module None, line 181, in Base_callDialogMethod
> > *<PythonScript at /erp5/Base_callDialogMethod used for
> > /erp5/portal_templates>*
> > *Line 181*
> > * Module AccessControl.ZopeGuards, line 312, in guarded_apply
> > * Module AccessControl.ZopeGuards, line 334, in
> builtin_guarded_apply
> > * Module Shared.DC.Scripts.Bindings, line 306, in __call__
> > * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
> > * Module Products.PythonScripts.PythonScript, line 323, in _exec
> > * Module None, line 24, in
> > TemplateTool_installBusinessTemplateListAction
> > *<PythonScript at
> > /erp5/TemplateTool_installBusinessTemplateListAction used for
> > /erp5/portal_templates>*
> > *Line 24*
> > * Module Products.ERP5Type.Base, line 120, in __call__
> > * Module Products.ERP5Type.patches.WorkflowTool, line 73, in
> > WorkflowTool_wrapWorkflowMethod
> > * Module Products.CMFCore.WorkflowTool , line 616, in
> > _invokeWithNotification
> > * Module Products.ERP5Type.patches.DCWorkflow, line 318, in
> > DCWorkflowDefinition_wrapWorkflowMethod
> > * Module Products.CMFCore.WorkflowCore, line 94, in __call__
> > * Module Products.ERP5Type.patches.WorkflowTool, line 73, in
> > WorkflowTool_wrapWorkflowMethod
> > * Module Products.CMFCore.WorkflowTool, line 616, in
> > _invokeWithNotification
> > * Module Products.ERP5Type.patches.DCWorkflow , line 318, in
> > DCWorkflowDefinition_wrapWorkflowMethod
> > * Module Products.ERP5Type.Document.BusinessTemplate, line 4173, in
> > install
> > * Module Products.ERP5Type.Document.BusinessTemplate, line 4104, in
> > _install
> > * Module Products.ERP5Type.Document.BusinessTemplate, line 1127, in
> > install
> > * Module Products.ERP5Type.Document.BusinessTemplate, line 619, in
> > install
> > * Module OFS.Traversable, line 185, in unrestrictedTraverse
> > __traceback_info__:
> > (['AccountModule_viewOtherPartiesReportDialog'],
> 'erp5_accounting')
> > * Module OFS.ObjectManager, line 670, in __getitem__
> >
> > KeyError: 'erp5_accounting'
> >
> >
> > --
> > Frank DiRocco II
> > Frank2 -AT- DiRoccos -DOT- com
> > --
> > Technician: What's the problem?
> > User: Well, I'm running Windows XP and...
> > Technician: I can fix that for you.
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Erp5-users mailing list
> > Erp5-users at erp5.org
> > http://erp5.org/mailman/listinfo/erp5-users
>
> _______________________________________________
> Erp5-users mailing list
> Erp5-users at erp5.org
> http://erp5.org/mailman/listinfo/erp5-users
>
--
Frank DiRocco II
Frank2 -AT- DiRoccos -DOT- com
--
Technician: What's the problem?
User: Well, I'm running Windows XP and...
Technician: I can fix that for you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20070329/1106136b/attachment.htm>
More information about the Erp5-users
mailing list