Ticket #218 (new defect)

Opened 6 years ago

1.2 openplm, create parts with error method_framing.py

Reported by: psi13art Owned by:
Priority: trivial Milestone:
Component: config Version: 1.2
Keywords: Cc:

Description

bug description

Part created, but pops up an error

/dist-packages/amqplib/client_0_8/method_framing.py

Summary

Clearly installation openPLM 1.2 on Ubuntu 12.04

Request URL:  http://plmlab/object/create/
Django Version: 1.3.1
Exception Type: IOError
Exception Value: Socket closed
Exception Location: /usr/lib/python2.7/dist-packages/amqplib/client_0_8/method_framing.py in read_method, line 221

Environment

  • Version/SVN revision:1.2
  • Browser:Firefox 25
  • Operating system:Ubuntu 12.04

Steps to reproduce this issue

bug analysis

root@plm-lab:/var/django/openPLM# /etc/init.d/celeryd start
celeryd-multi v2.4.6
> Starting nodes...
	> w1.plm-lab: OK
root@plm-lab:/var/django/openPLM# service celeryd status
/usr/lib/python2.7/dist-packages/celery/loaders/default.py:45: NotConfigured: No 'celeryconfig' module found! Please make sure it exists and is available to Python.
  "is available to Python." % (configname, )))
Error: No nodes replied within time constraint.


root@plm-lab:/var/django/openPLM# less /var/log/celery/w1.log 

[Tasks]
  . openPLM.plmapp.mail.do_send_histories_mail
  . openPLM.plmapp.mail.do_send_mail
  . openPLM.plmapp.tasks.add
  . openPLM.plmapp.tasks.remove_index
  . openPLM.plmapp.tasks.update_index
  . openPLM.plmapp.tasks.update_indexes
  . openPLM.plmapp.thumbnailers.generate_thumbnail
[2013-11-09 19:24:01,167: WARNING/MainProcess] Traceback (most recent call last):
[2013-11-09 19:24:01,175: WARNING/MainProcess] File "/var/django/openPLM/manage.py", line 24, in <module>
[2013-11-09 19:24:01,184: WARNING/MainProcess] execute_manager(settings)
[2013-11-09 19:24:01,192: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 438, in execute_manager
[2013-11-09 19:24:01,205: WARNING/MainProcess] utility.execute()
[2013-11-09 19:24:01,212: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 379, in execute
[2013-11-09 19:24:01,225: WARNING/MainProcess] self.fetch_command(subcommand).run_from_argv(self.argv)
[2013-11-09 19:24:01,228: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 191, in run_from_argv
[2013-11-09 19:24:01,237: WARNING/MainProcess] self.execute(*args, **options.__dict__)
[2013-11-09 19:24:01,240: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/djcelery/management/base.py", line 25, in execute
[2013-11-09 19:24:01,252: WARNING/MainProcess] super(CeleryCommand, self).execute(*args, **options)
[2013-11-09 19:24:01,255: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 220, in execute
[2013-11-09 19:24:01,268: WARNING/MainProcess] output = self.handle(*args, **options)
[2013-11-09 19:24:01,271: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/djcelery/management/commands/celeryd.py", line 25, in handle
[2013-11-09 19:24:01,283: WARNING/MainProcess] worker.run(*args, **options)
[2013-11-09 19:24:01,291: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/celery/bin/celeryd.py", line 98, in run
[2013-11-09 19:24:01,299: WARNING/MainProcess] return self.app.Worker(**kwargs).run()
[2013-11-09 19:24:01,307: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/celery/apps/worker.py", line 147, in run
[2013-11-09 19:24:01,320: WARNING/MainProcess] self.run_worker()
[2013-11-09 19:24:01,323: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/celery/apps/worker.py", line 230, in run_worker
[2013-11-09 19:24:01,332: WARNING/MainProcess] pidlock = platforms.create_pidlock(self.pidfile).acquire()
[2013-11-09 19:24:01,339: WARNING/MainProcess] File "/usr/lib/python2.7/dist-packages/celery/platforms.py", line 92, in acquire
[2013-11-09 19:24:01,347: WARNING/MainProcess] raise LockFailed(str(exc))
[2013-11-09 19:24:01,355: WARNING/MainProcess] celery.platforms
[2013-11-09 19:24:01,363: WARNING/MainProcess] .
[2013-11-09 19:24:01,366: WARNING/MainProcess] LockFailed
[2013-11-09 19:24:01,373: WARNING/MainProcess] :
[2013-11-09 19:24:01,385: WARNING/MainProcess] [Errno 2] No such file or directory: '/var/run/celery/w1.pid'
[2013-11-09 19:24:01,393: INFO/MainProcess] process shutting down

fix recommendation

Attachments

install.sh Download (5.7 KB) - added by psi13art 6 years ago.
Clear script installation openPLM 1.2 on Ubuntu 12.04

Change History

Changed 6 years ago by psi13art

Clear script installation openPLM 1.2 on Ubuntu 12.04

Note: See TracTickets for help on using tickets.