Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. [solved] Cannot create any work package

[solved] Cannot create any work package

Added by Nima Kamkar about 11 years ago

Hello all

I am an OP newbie and working off a brand new install of OP3 on Debian. I am trying to add my first work package to my first project and when I click on “create”, I get an HTTP 500 error. All I am doing now is the most basic entry a name for subject and description and a “10” for estimated hours, so no file attachments or any other fields so far. When I look at production.log, I see thw below message.

Any ideas?

Best wishes
Nima


Processing by WorkPackagesController#create as HTML
Parameters: {“utf8”=>“✓”, “authenticity_token”=>“/ZSPZsvWxbLUrb6UW19RdIbuGLj1F7feDqfTg39kH/E=”, “work_package”=>{“type_id”=>“3”, “subject”=>“feature 1”, “parent_id”=>“”, “description”=>“dsfgdfgdfgdf”, “status_id”=>“1”, “priority_id”=>“2”, “assigned_to_id”=>“33”, “responsible_id”=>“33”, “start_date”=>“”, “due_date”=>“”, “estimated_hours”=>“10”, “done_ratio”=>“0”, “cost_object_id”=>“”, “remaining_hours”=>“”}, “attachments”=>{“1”=>{“description”=>“”}}, “send_notification”=>“1”, “commit”=>“Create”, “project_id”=>“test-2”}
Rendered user_mailer/_issue_details.html.erb (10.9ms)
Rendered user_mailer/work_package_added.html.erb within layouts/user_mailer (12.2ms)
Rendered user_mailer/_issue_details.text.erb (6.1ms)
Rendered user_mailer/work_package_added.text.erb within layouts/user_mailer (6.8ms)

Sent mail to XXXX@XXXX.com (44.2ms)
Completed 500 Internal Server Error in 175.8ms

SocketError (getaddrinfo: Name or service not known):
app/models/work_package_observer.rb:38:in `block in after_create’
app/models/work_package_observer.rb:37:in `each’
app/models/work_package_observer.rb:37:in `after_create’
app/controllers/work_packages_controller.rb:144:in `create’


Replies (2)

RE: Cannot create any work package - Added by Nima Kamkar about 11 years ago

Hi everyone

I figured out the problem. It had nothing to do with the work package, but with the email. Email wasn’t working as I still had not figured out what was wrong with it. Anyway, since I couldn’t create a work package and posted this message here, I decided to go and fix the email problem which I did. Tested creating new WP and it worked.

Still, this is an unhandled bug which should be addressed. I still haven’t searched yet, but is there a bug management system I can report bugs to?

Best wishes

Nima

RE: Cannot create any work package - Added by Niels Lindenthal about 11 years ago

Hi Nima,

here is a short overview of how to report a bug

Regards
Niels

  • (1 - 2/2)
Loading...