Author Topic: Events Module: Missing argument: path  (Read 2666 times)

mr.locke

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Events Module: Missing argument: path
« on: July 14, 2008, 04:43:44 pm »
Hi all,
      I have the ebox installed for 1 months but has not used the events module yet, and just have was bout to start configuring it now, and I just realised that it si not working any more. (something has happened on last update).

When I try to acces to Events -> Configure Dispatches. I get the next message:
"Missing argument: path"

Any Idea, on what the problem can be, and how to heal that?

Installation info:

Hardy ubuntu (basic server install +  http://ppa.launchpad.net/juruen/ubuntu repository):

dpkg -l |grep ebox
ii  ebox                                  0.11.103-0ubuntu1~ppa1              the eBox platform - Base framework
ii  ebox-ca                               0.11.102-0ubuntu1~ppa1              eBox - Certificate Authority Manager for eBo
ii  ebox-firewall                         0.11.101-0ubuntu1~ppa1              eBox - Firewall
ii  ebox-network                          0.11.101-0ubuntu1~ppa1              eBox - Network configuration module
ii  ebox-ntp                              0.11.101-0ubuntu1~ppa1              eBox - NTP server
ii  ebox-objects                          0.11.101-0ubuntu1~ppa1              eBox - Object management
ii  ebox-openvpn                          0.11.103-0ubuntu1~ppa1              eBox - OpenVPN server module
ii  ebox-services                         0.11.101-0ubuntu1~ppa1              eBox - Services management
ii  ebox-software                         0.11.101-0ubuntu1~ppa1              eBox - Software management
ii  ebox-squid                            0.11.101-0ubuntu1~ppa1              eBox - Proxy cache and content filter
ii  ebox-trafficshaping                   0.11.104-0ubuntu1~ppa1              eBox - Traffic shaper for eBox
ii  ebox-webserver                        0.11.101-0ubuntu1~ppa1              eBox- Web Server
ii  esofttool                             0.4.1-0ubuntu1~ppa1                 ebox software tool
ii  libebox                               0.11.101-0ubuntu1~ppa1              eBox common library for server and client

Thanks in advance
« Last Edit: July 15, 2008, 12:23:33 pm by mr.locke »

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Events Module
« Reply #1 on: July 15, 2008, 08:31:06 am »
Can you enable debug via setting yes to debug property in /etc/ebox/99ebox.conf?

Try again to see the dispatchers and gives the stack trace, please.

It is a quite strange error...
My secret is my silence...

mr.locke

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Events Module
« Reply #2 on: July 15, 2008, 10:06:39 am »
This are the trace results:

Missing argument: path
\n

\n$VAR1 = bless( {
                 '-stacktrace' => 'Missing argument: path at /usr/share/perl5/EBox/Model/ModelManager.pm line 119
   EBox::Model::ModelManager::model(\'EBox::Model::ModelManager=HASH(0x82c70e8)\', \'undef\') called at /usr/share/perl5/EBox/Types/HasMany.pm line 297
   EBox::Types::HasMany::_restoreFromHash(\'EBox::Types::HasMany=HASH(0xc1f85b8)\', \'HASH(0xc1f8d2c)\') called at /usr/share/perl5/EBox/Types/Abstract.pm line 462
   EBox::Types::Abstract::restoreFromHash(\'EBox::Types::HasMany=HASH(0xc1f85b8)\', \'HASH(0xc1f8d2c)\') called at /usr/share/perl5/EBox/Types/Union.pm line 435
   EBox::Types::Union::_restoreFromHash(\'EBox::Types::Union=HASH(0xc1f8e64)\', \'HASH(0xc1f8d2c)\') called at /usr/share/perl5/EBox/Types/Abstract.pm line 462
   EBox::Types::Abstract::restoreFromHash(\'EBox::Types::Union=HASH(0xc1f8e64)\', \'HASH(0xc1f8d2c)\') called at /usr/share/perl5/EBox/Model/DataTable.pm line 874
   EBox::Model::DataTable::row(\'EBox::Events::Model::ConfigureDispatcherDataTable=HASH(0x8b1d...\', \'conf2197\') called at /usr/share/perl5/EBox/Model/DataTable.pm line 1479
   EBox::Model::DataTable::_rows(\'EBox::Events::Model::ConfigureDispatcherDataTable=HASH(0x8b1d...\') called at /usr/share/perl5/EBox/Model/DataTable.pm line 1355
   EBox::Model::DataTable::rows(\'EBox::Events::Model::ConfigureDispatcherDataTable=HASH(0x8b1d...\') called at /usr/share/perl5/EBox/Events/Model/ConfigureDispatcherDataTable.pm line 118
   EBox::Events::Model::ConfigureDispatcherDataTable::rows(\'EBox::Events::Model::ConfigureDispatcherDataTable=HASH(0x8b1d...\', \'undef\', \'undef\') called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 160
   EBox::CGI::Controller::DataTable::refreshTable(\'EBox::CGI::Controller::DataTable=HASH(0xbaf58e0)\') called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 232
   EBox::CGI::Controller::DataTable::_process(\'EBox::CGI::Controller::DataTable=HASH(0xbaf58e0)\') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 166
   EBox::CGI::ClientRawBase::run(\'EBox::CGI::Controller::DataTable=HASH(0xbaf58e0)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 92
   EBox::CGI::Run::run(\'EBox::CGI::Run\', \'Events/Controller/ConfigureDispatcherDataTable\') called at /usr/share/ebox/cgi/ebox.cgi line 19
   ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0xa3566d4)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
   eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
   ModPerl::RegistryCooker::run(\'ModPerl::Registry=HASH(0x9ea6c98)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
   ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0x9ea6c98)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
   ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec=SCALAR(0xa3566d4)\') called at -e line 0
   eval {...} called at -e line 0
',
                 '-file' => '/usr/share/perl5/EBox/Model/ModelManager.pm',
                 '-text' => 'Missing argument: path',
                 '-line' => 119,
                 '-package' => 'EBox::Model::ModelManager'
               }, 'EBox::Exceptions::MissingArgument' );

\n
\n


Hope this can help...
I'll still investigating myself, but I'm unfamiliar yet with ebox...

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: Events Module
« Reply #3 on: July 15, 2008, 11:04:05 am »
Can you run these commands?
Code: [Select]
$ perl -c /usr/share/perl5/EBox/Events/Model/Dispatcher/Jabber.pm
$ perl -c /usr/share/perl5/EBox/Events/Model/Dispatcher/RSS.pm

Thanks very much for your feedback!
My secret is my silence...

mr.locke

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Events Module
« Reply #4 on: July 15, 2008, 11:32:14 am »
Hi sixstone,
   thanks a lot for your help!

I think I've solved the error. At the beginning I installed all ebox modules, but later I've removed all that Ill not be using, including the ebox-mail package.
Probably this is when that Dispatches has stopped to work, just I did not realized, as I was not using it yet.

I've installed this package back, and also mailfilter (as it was giving another error), and now the dispatchers module shows without any error.

New package status on the server:

dpkg -l |grep ebox
ii  ebox                                  0.11.103-0ubuntu1~ppa1              the eBox platform - Base framework
ii  ebox-ca                               0.11.102-0ubuntu1~ppa1              eBox - Certificate Authority Manager for eBo
ii  ebox-firewall                         0.11.101-0ubuntu1~ppa1              eBox - Firewall
ii  ebox-mail                             0.11.101-0ubuntu1~ppa1              eBox - Mail server
ii  ebox-mailfilter                       0.11.101-0ubuntu1~ppa1              eBox - Mail filter module
ii  ebox-network                          0.11.101-0ubuntu1~ppa1              eBox - Network configuration module
ii  ebox-ntp                              0.11.101-0ubuntu1~ppa1              eBox - NTP server
ii  ebox-objects                          0.11.101-0ubuntu1~ppa1              eBox - Object management
ii  ebox-openvpn                          0.11.103-0ubuntu1~ppa1              eBox - OpenVPN server module
ii  ebox-services                         0.11.101-0ubuntu1~ppa1              eBox - Services management
ii  ebox-software                         0.11.101-0ubuntu1~ppa1              eBox - Software management
ii  ebox-squid                            0.11.101-0ubuntu1~ppa1              eBox - Proxy cache and content filter
ii  ebox-trafficshaping                   0.11.104-0ubuntu1~ppa1              eBox - Traffic shaper for eBox
ii  ebox-usersandgroups                   0.11.101-0ubuntu1~ppa1              eBox - User and Group management
ii  ebox-webserver                        0.11.101-0ubuntu1~ppa1              eBox- Web Server
ii  esofttool                             0.4.1-0ubuntu1~ppa1                 ebox software tool
ii  libebox                               0.11.101-0ubuntu1~ppa1              eBox common library for server and client



Anyway, by you request, probably  not needed any more:

root@ebox:~# perl -c /usr/share/perl5/EBox/Events/Model/Dispatcher/Jabber.pm
/usr/share/perl5/EBox/Events/Model/Dispatcher/Jabber.pm syntax OK
root@ebox:~# perl -c /usr/share/perl5/EBox/Events/Model/Dispatcher/RSS.pm
/usr/share/perl5/EBox/Events/Model/Dispatcher/RSS.pm syntax OK


Thanks a bunch again!