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 #1840] (New) Errors while first install if
Netdot 1.0.6 under Ubuntu 14.04 Server ([email protected])
2. Re: oddness in v1.0.6 source code (Wim Vandersmissen)
3. [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.6-42-g5e343e0 ([email protected])
4. [SCM] Netdot branch master updated. netdot-1.0.6-42-g5e343e0
([email protected])
5. Re: oddness in v1.0.6 source code (Carlos Vicente)
----------------------------------------------------------------------
Message: 1
Date: Fri, 8 Aug 2014 04:27:49 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1840] (New) Errors while first
install if Netdot 1.0.6 under Ubuntu 14.04 Server
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1840 has been reported by Thorsten Scheller.
----------------------------------------
Bug #1840: Errors while first install if Netdot 1.0.6 under Ubuntu 14.04 Server
https://osl.uoregon.edu/redmine/issues/1840
Author: Thorsten Scheller
Status: New
Priority: Normal
Assignee:
Category: Netdot
Target version:
Resolution:
Hello,
i have found your site and am absolutely interesting in the whole functionality
of Netdot.
Though i downloaded it on Monday and sitting here since about 4,5 days trying
to solve the installation.
It took a while to get into linux again(done it last in 09) but i think i made
it so far.
The Installation worked out after finding all relevant packages (no ftp access
in my company).
It now stuck while restarting apache2 with an error :
Restarting web server apache2
[fail]
* The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 31 of
/etc/apache2/conf-enabled/netdot_apache24_local.conf:
DBD::mysql::db selectrow_array failed: Table 'netdot.schemainfo' doesn't exist
[for Statement "SELECT version FROM schemainfo"] at
/usr/local/netdot/lib/Netdot/Model.pm line 67.\nBEGIN failed--compilation
aborted at /usr/local/netdot/lib/Netdot/Model.pm line 381.\nCompilation failed
in require at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nBEGIN
failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line
5.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line
21.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm
line 21.\nCompilation failed in require at
/etc/apache2/conf-enabled/netdot_apache24_local.conf line 32.\nBEGIN
failed--compilation aborted
Action 'configtest' failed.
The Apache error log may have more information.
As you see i imported your latest config fix but didn't get the point why there
has to be content in the blanc database.
(mysql server is up and running).
Regards alot for your help,
Thorsten
--
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: Fri, 8 Aug 2014 11:44:54 +0000
From: Wim Vandersmissen <[email protected]>
Subject: Re: [Netdot-devel] oddness in v1.0.6 source code
To: William Bulley <[email protected]>, Carlos Vicente
<[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID:
<c662177c398fc342aae60cbe7593707d10950...@icts-s-mbx5.luna.kuleuven.be>
Content-Type: text/plain; charset="us-ascii"
It is actually using that "use APR::Base64;" in Picture.pm
Try
#!/usr/bin/perl
use lib "/usr/local/netdot/lib";
use Netdot::Model;
my $encode = APR::Base64::encode("abc");
It will work.. through some perl magic beyond my knowledge :-)
If you remove the use APR::Base64 from Picture.pm the code above will not
longer work.
But use APR::Base64 should probably be added to DataCache.pm and Ipblock.pm
--Wim
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of William Bulley
Sent: donderdag 7 augustus 2014 20:54
To: Carlos Vicente
Cc: [email protected]
Subject: [Netdot-devel] oddness in v1.0.6 source code
Not sure whether this is a typo or a bug or what, so rather than
create a Redmine issue, I thought I'd check here first.
unix% pwd
/usr/local/Netdot
unix% grep -l -r 'APR::Base64' *
lib/Netdot/Model/Picture.pm
lib/Netdot/Model/DataCache.pm
unix% grep 'APR::Base64' lib/Netdot/Model/Picture.pm
use APR::Base64;
unix% grep 'APR::Base64' lib/Netdot/Model/DataCache.pm
my $encoded = APR::Base64::encode($data);
my $decoded = APR::Base64::decode($encoded);
So unless DataCache.pm "use"es Picture.pm, this doesn't make a whole
lot of sense to me. Does any one care to advise me what I should do?
I have no problem adding an issue to Redmine, just unsure what to do.
I found this by running import/import_ip_bulk.pl when I got a Perl
error or warning at line 37 of lib/Netdot/Model/DataCache.pm:
my $encoded = APR::Base64::encode($data);
Regards,
web...
--
/"\ ASCII RIBBON / William Bulley
\ / CAMPAIGN AGAINST /
X HTML E-MAIL AND / E-MAIL: [email protected]
/ \ LISTSERV POSTINGS /
72 characters width template ----------------------------------------->|
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
------------------------------
Message: 3
Date: Fri, 8 Aug 2014 05:21:54 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch netdot-1.0 updated.
netdot-1.0.6-42-g5e343e0
To: [email protected]
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Netdot".
The branch, netdot-1.0 has been updated
via 5e343e0625796ce1d5ab009c4f8e139a311edf43 (commit)
from 35fbc1f9bff2bc366a80578305e945d12560a9c7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5e343e0625796ce1d5ab009c4f8e139a311edf43
Author: Carlos Vicente <[email protected]>
Date: Fri Aug 8 08:21:37 2014 -0400
Load APR::Base64 in DataCache.pm
diff --git a/lib/Netdot/Model/DataCache.pm b/lib/Netdot/Model/DataCache.pm
index b633a1e..f0c9119 100644
--- a/lib/Netdot/Model/DataCache.pm
+++ b/lib/Netdot/Model/DataCache.pm
@@ -1,6 +1,7 @@
package Netdot::Model::DataCache;
use base 'Netdot::Model';
+use APR::Base64;
use warnings;
use strict;
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Model/DataCache.pm | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
Netdot
------------------------------
Message: 4
Date: Fri, 8 Aug 2014 05:22:27 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] Netdot branch master updated.
netdot-1.0.6-42-g5e343e0
To: [email protected]
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Netdot".
The branch, master has been updated
via 5e343e0625796ce1d5ab009c4f8e139a311edf43 (commit)
from 35fbc1f9bff2bc366a80578305e945d12560a9c7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
lib/Netdot/Model/DataCache.pm | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
Netdot
------------------------------
Message: 5
Date: Fri, 8 Aug 2014 08:25:40 -0400
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-devel] oddness in v1.0.6 source code
To: Wim Vandersmissen <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252
Correct. That?s because Model.pm loads all of its descendant modules.
I?ve just added the use line in DataCache.pm. This avoids future surprises if
Picture.pm stops using that module.
Thank you both.
cv
On Aug 8, 2014, at 7:44 AM, Wim Vandersmissen <[email protected]>
wrote:
> It is actually using that "use APR::Base64;" in Picture.pm
>
> Try
>
> #!/usr/bin/perl
> use lib "/usr/local/netdot/lib";
> use Netdot::Model;
> my $encode = APR::Base64::encode("abc");
>
> It will work.. through some perl magic beyond my knowledge :-)
>
> If you remove the use APR::Base64 from Picture.pm the code above will not
> longer work.
>
> But use APR::Base64 should probably be added to DataCache.pm and Ipblock.pm
>
> --Wim
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of William Bulley
> Sent: donderdag 7 augustus 2014 20:54
> To: Carlos Vicente
> Cc: [email protected]
> Subject: [Netdot-devel] oddness in v1.0.6 source code
>
> Not sure whether this is a typo or a bug or what, so rather than
> create a Redmine issue, I thought I'd check here first.
>
> unix% pwd
> /usr/local/Netdot
> unix% grep -l -r 'APR::Base64' *
> lib/Netdot/Model/Picture.pm
> lib/Netdot/Model/DataCache.pm
> unix% grep 'APR::Base64' lib/Netdot/Model/Picture.pm
> use APR::Base64;
> unix% grep 'APR::Base64' lib/Netdot/Model/DataCache.pm
> my $encoded = APR::Base64::encode($data);
> my $decoded = APR::Base64::decode($encoded);
>
> So unless DataCache.pm "use"es Picture.pm, this doesn't make a whole
> lot of sense to me. Does any one care to advise me what I should do?
>
> I have no problem adding an issue to Redmine, just unsure what to do.
>
> I found this by running import/import_ip_bulk.pl when I got a Perl
> error or warning at line 37 of lib/Netdot/Model/DataCache.pm:
>
> my $encoded = APR::Base64::encode($data);
>
> Regards,
>
> web...
>
> --
>
> /"\ ASCII RIBBON / William Bulley
> \ / CAMPAIGN AGAINST /
> X HTML E-MAIL AND / E-MAIL: [email protected]
> / \ LISTSERV POSTINGS /
>
> 72 characters width template ----------------------------------------->|
> _______________________________________________
> Netdot-devel mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-devel
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 89, Issue 3
*******************************************