[Erp5-users] Debian Installation: _setLastId

Sebastien Robin seb at nexedi.com
Tue Nov 30 18:03:53 CET 2004


Le dimanche 28 Novembre 2004 01:02, Dieter Lucking a écrit :
> Hello
>
> I try to install ERP5 on a debian system. However i got stuck at with
> an attribute error _setLastId. Any advice ?

A lot of method are generated automatically with ERP5. But it requires to 
patch zope. If the method _setLastId is not there, this means that you 
should extrat from the rpm the source of Zope 2.7.2 rc1. You can find all 
rpms here  :

http://nexedi.org/static/Mandrake/10.0/SRPMS/


  Sébastien.

>
> Thanks Dieter
>
>
>
>
> Exception traceback
> Time
> 2004/11/27 18:05:22.296 US/Eastern
> User Name (User Id)
> deta (deta)
> Request URL
> http://localhost:9673/manage_addProduct/ERP5/manage_addERP5Site
> Exception Type
> AttributeError
> Exception Value
> _setLastId
>
> Traceback (innermost last):
>
>       * Module ZPublisher.Publish, line 98, in publish
>       * Module ZPublisher.mapply, line 88, in mapply
>       * Module ZPublisher.Publish, line 39, in call_object
>       * Module Products.ERP5.ERP5Site, line 64, in manage_addERP5Site
>       * Module Products.ERP5.ERP5Site, line 477, in create
>       * Module Products.ERP5.ERP5Site, line 731, in setup
>       * Module Products.ERP5.ERP5Site, line 760, in setupERP5Core
>       * Module Products.ERP5Type.Document.Folder, line 111, in
>         generateNewId
> AttributeError: _setLastId
>
>
> Display traceback as text
>
>
> REQUEST
> form
> sql_connection_string
> '-erp5 erp5 ossem'
> description
> ''
> title
> 'ERP5'
> sql_connection_type
> 'Z MySQL Database Connection'
> create_userfolder
> '1'
> id
> 'erp5'
> submit
> ' Add '
> create_activities
> '0'
> cookies
> tree-s
> 'eJzT0MgpMOQKVneEA09bda4CI65EoIQxF5AwQZGNBMomJiaWFJhy6QEAv3cO8g'
> lazy items
> SESSION
> <bound method
> SessionDataManager.getSessionData of
> <SessionDataManager instance at
> 98943d8>>
> other
> sql_connection_type
> 'Z MySQL Database Connection'
> create_userfolder
> '1'
> TraversalRequestNameStack
> []
> AUTHENTICATED_USER
> deta
> USER_PREF_LANGUAGES
> <Products.Localizer.Accept.AcceptLanguage instance at 0x9988d5c>
> id
> 'erp5'
> title
> 'ERP5'
> SERVER_URL
> 'http://localhost:9673'
> sql_connection_string
> '-erp5 erp5 ossem'
> URL
> 'http://localhost:9673/manage_addProduct/ERP5/manage_addERP5Site'
> create_activities
> '0'
> PUBLISHED
> <bound method
> __FactoryDispatcher__.manage_addERP5Site of <__FactoryDispatcher__
> instance at 94767f8>> AcceptLanguage
> <Products.Localizer.Accept.AcceptLanguage instance at 0x9988d5c>
> AcceptCharset
> <Products.Localizer.Accept.AcceptCharset instance at 0x99761c4>
> AUTHENTICATION_PATH
> ''
> description
> ''
> URL0
> http://localhost:9673/manage_addProduct/ERP5/manage_addERP5Site
> URL1
> http://localhost:9673/manage_addProduct/ERP5
> URL2
> http://localhost:9673/manage_addProduct
> URL3
> http://localhost:9673
> BASE0
> http://localhost:9673
> BASE1
> http://localhost:9673
> BASE2
> http://localhost:9673/manage_addProduct
> BASE3
> http://localhost:9673/manage_addProduct/ERP5
> BASE4
> http://localhost:9673/manage_addProduct/ERP5/manage_addERP5Site
> environ
> HTTP_ACCEPT
> 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/pl
>ain;q=0.8,image/png,*/*;q=0.5' CONTENT_TYPE
> 'application/x-www-form-urlencoded'
> HTTP_COOKIE
> 'tree-s="eJzT0MgpMOQKVneEA09bda4CI65EoIQxF5AwQZGNBMomJiaWFJhy6QEAv3cO8g
>"' SERVER_SOFTWARE
> 'Zope/(Zope 2.6.4 (source release,
> python 2.1, linux2), python 2.2.3,
> linux2) ZServer/1.1b1'
> SCRIPT_NAME
> ''
> REQUEST_METHOD
> 'POST'
> HTTP_HOST
> 'localhost:9673'
> HTTP_KEEP_ALIVE
> '300'
> SERVER_PROTOCOL
> 'HTTP/1.1'
> channel.creation_time
> 1101596266
> CONNECTION_TYPE
> 'keep-alive'
> HTTP_ACCEPT_CHARSET
> 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
> HTTP_USER_AGENT
> 'Mozilla/5.0 (X11; U; Linux i686;
> en-US; rv:1.7.5) Gecko/20041119
> Firefox/1.0 (Debian package 1.0-3)'
> HTTP_REFERER
> 'http://localhost:9673/manage_addProduct/ERP5/addERP5Site'
> SERVER_NAME
> 'XENS'
> GATEWAY_INTERFACE
> 'CGI/1.1'
> REMOTE_ADDR
> '127.0.0.1'
> HTTP_ACCEPT_LANGUAGE
> 'en-us,en;q=0.5'
> INSTANCE_HOME
> '/var/lib/zope/instance/default'
> PATH_TRANSLATED
> '/manage_addProduct/ERP5/manage_addERP5Site'
> SERVER_PORT
> '9673'
> CONTENT_LENGTH
> '171'
> HTTP_ACCEPT_ENCODING
> 'gzip,deflate'
> SOFTWARE_HOME
> '/usr/lib/zope/lib/python'
> PATH_INFO
> '/manage_addProduct/ERP5/manage_addERP5Site'
>
> _______________________________________________
> Erp5-users mailing list
> Erp5-users at erp5.org
> http://erp5.org/mailman/listinfo/erp5-users

-- 
Sebastien Robin, Nexedi Technical Director
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Free / Open Source ERP Software for small and medium companies
http://www.erp5.org
Storever: OpenBrick, WiFi infrastructure, notebooks and servers
http://www.storever.com



More information about the Erp5-users mailing list