Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [Netdot - Bug #1749] (New) Reports -> IP -> Unused        Subnets -
      System error ([email protected])
   2. [Netdot - Bug #1749] Reports -> IP -> Unused Subnets      - System
      error ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Tue, 9 Apr 2013 05:56:34 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1749] (New) Reports -> IP ->
        Unused  Subnets - System error
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1749 has been reported by Vadym Kalsin.

----------------------------------------
Bug #1749: Reports -> IP -> Unused Subnets - System error
https://osl.uoregon.edu/redmine/issues/1749

Author: Vadym Kalsin
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 1.0.4
Resolution: 


When running Report - IP - Unused Subnets (or Unused Subnets (v4) got the error:
<pre>
error:  Can't locate object method "_netaddr" via package "Ipblock" at 
/usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 549.
context:                ...     
545:     my ($self, $address, $prefix) = @_;
546:     my ($netaddr, $version);
547:     if ( ref($self) ){
548:     # Called as object method
549:     $netaddr = $self->_netaddr;
550:     $version = $self->version;
551:     }else{
552:     # Called as class method
553:     $self->throw_fatal("Missing required arguments when called as class 
method: address")
...     

code stack:      /usr/local/netdot/lib/Netdot/Model/Ipblock.pm:549
 /usr/local/netdot/lib/Netdot/Model/Ipblock.pm:407
 /usr/local/netdot/htdocs/reports/unused_subnets.html:21
 /usr/local/netdot/htdocs/reports/ip_reports.html:51
 /usr/local/netdot/htdocs/reports/autohandler:132
 /usr/share/perl5/HTML/Mason/Request.pm:936
 /usr/local/netdot/htdocs/masondata/obj/991023240/reports/autohandler.obj:21
 /usr/local/netdot/htdocs/autohandler:76
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

Message: 2
Date: Tue, 9 Apr 2013 06:27:18 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1749] Reports -> IP -> Unused
        Subnets - System error
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1749 has been updated by Vadym Kalsin.


Fixed by deleting underscore. 
Before:
<pre>
549:      $netaddr = $self->_netaddr;
</pre>
After:
<pre>
549:      $netaddr = $self->netaddr;
</pre>
----------------------------------------
Bug #1749: Reports -> IP -> Unused Subnets - System error
https://osl.uoregon.edu/redmine/issues/1749#change-3053

Author: Vadym Kalsin
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 1.0.4
Resolution: 


When running Report - IP - Unused Subnets (or Unused Subnets (v4) got the error:
<pre>
error:  Can't locate object method "_netaddr" via package "Ipblock" at 
/usr/local/netdot/lib/Netdot/Model/Ipblock.pm line 549.
context:                ...     
545:     my ($self, $address, $prefix) = @_;
546:     my ($netaddr, $version);
547:     if ( ref($self) ){
548:     # Called as object method
549:     $netaddr = $self->_netaddr;
550:     $version = $self->version;
551:     }else{
552:     # Called as class method
553:     $self->throw_fatal("Missing required arguments when called as class 
method: address")
...     

code stack:      /usr/local/netdot/lib/Netdot/Model/Ipblock.pm:549
 /usr/local/netdot/lib/Netdot/Model/Ipblock.pm:407
 /usr/local/netdot/htdocs/reports/unused_subnets.html:21
 /usr/local/netdot/htdocs/reports/ip_reports.html:51
 /usr/local/netdot/htdocs/reports/autohandler:132
 /usr/share/perl5/HTML/Mason/Request.pm:936
 /usr/local/netdot/htdocs/masondata/obj/991023240/reports/autohandler.obj:21
 /usr/local/netdot/htdocs/autohandler:76
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 73, Issue 4
*******************************************

Reply via email to