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

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-users
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-users digest..."


Today's Topics:

   1. Image upload size limit (Nico)
   2. Re: Image upload size limit (Carlos Vicente)
   3. Re: Image upload size limit (Nico)


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

Message: 1
Date: Wed, 3 Dec 2014 12:43:21 +0100
From: Nico <[email protected]>
Subject: [Netdot-users] Image upload size limit
To: "[email protected]" <[email protected]>
Message-ID:
        <CAKXQfmu3+bf+7uuiz=72fs3xt93j_wqrw7w4hjp2ctbtv93...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello,

I'm trying to upload floor maps on Netdot, and getting an error on
files bigger than 1Mb (aprox.).
The error seems not to be related to that, but with smaller files,
it's working ok.
I'm trying to upload pdf files, this errors occurs with a 2MB PDF file:

error: DBD driver has not implemented the AutoCommit attribute at
/usr/lib/perl5/site_perl/5.10.0/Exception/Class/Base.pm line 78.
context:
...
106: if ( $m->comp_exists($comp_path) ){
107: # $m->dhandler_arg returns the path portion after "./", but not
108: # the get/post args (e.g. ?foo=bar&baz=fraz). The args are passed
109: # along in %ARGS.
110: $m->comp( $comp_path, %ARGS );
111: }else{
112: $r->content_type(q{text/html; charset=utf-8});
113: $m->comp('/generic/error.mhtml', error => "The requested page:
\"$request\" does not exist");
114: }
...
code stack: /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler:110
/opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/dhandler:1
/opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/autohandler:353
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:951
/opt/netdot/netdot/prod/netdot-1.0.6/htdocs/masondata/obj/1784076917/cable_plant/autohandler.obj:21
/opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler:76
raw error






























DBD driver has not implemented the AutoCommit attribute at
/usr/lib/perl5/site_perl/5.10.0/Exception/Class/Base.pm line 78.


Trace begun at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Commands::__ANON__('info', '', 'request', 'edit.html',
'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
'showheader', 1, 'select_id', '', 'upload', 'W-N-2.pdf', 'dowindow',
0, 'selected', '') called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2391a28)',
'info', '', 'request', 'edit.html', 'submit', 'Insert', 'floor', 315,
'table', 'FloorPicture', 'showheader', 1, 'select_id', '', 'upload',
'W-N-2.pdf', 'dowindow', 0, 'selected', '') called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, 'info', '', 'request',
'edit.html', 'submit', 'Insert', 'floor', 315, 'table',
'FloorPicture', 'showheader', 1, 'select_id', '', 'upload',
'W-N-2.pdf', 'dowindow', 0, 'selected', '') called at
/opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler line 110
HTML::Mason::Commands::__ANON__('request', 'edit.html', 'info', '',
'table', 'FloorPicture', 'floor', 315, 'submit', 'Insert',
'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
'W-N-2.pdf', 'selected', '') called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7fcff20a83f8)',
'request', 'edit.html', 'info', '', 'table', 'FloorPicture', 'floor',
315, 'submit', 'Insert', 'showheader', 1, 'select_id', '', 'dowindow',
0, 'upload', 'W-N-2.pdf', 'selected', '') called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, 'request', 'edit.html',
'info', '', 'table', 'FloorPicture', 'floor', 315, 'submit', 'Insert',
'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
'W-N-2.pdf', 'selected', '') called at
/opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/dhandler line
1
HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
'', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
'showheader', 1) called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2593180)',
'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
'showheader', 1) called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 958
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
called at /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/autohandler
line 353
HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
'', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
'showheader', 1) called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 160
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fcff2181448)',
'main', 'info', '', 'submit', 'Insert', 'floor', 315, 'table',
'FloorPicture', 'showheader', 1, 'select_id', '', 'dowindow', 0,
'upload', 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 951
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)',
'main', 'info', '', 'submit', 'Insert', 'floor', 315, 'table',
'FloorPicture', 'showheader', 1, 'select_id', '', 'dowindow', 0,
'upload', 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
/opt/netdot/netdot/prod/netdot-1.0.6/htdocs/masondata/obj/1784076917/cable_plant/autohandler.obj
line 21
HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
'', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
'showheader', 1) called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2181448)',
'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
'showheader', 1) called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 958
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)',
'showheader', 1) called at
/opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler line 76
HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
'', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '') called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff20a8728)',
'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
'W-N-2.pdf', 'selected', '') called at
/usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1300
eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '')
called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line
484
eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 484
eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm
line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm
line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fcfefa95058)',
'Apache2::RequestRec=SCALAR(0x7fcff234c848)') called at
/opt/netdot/netdot/prod/netdot-1.0.6/lib/Netdot/Mason.pm line 59
Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x7fcff234c848)')
called at -e line 0
eval {...} at -e line 0

Thank you in advance.

-- 
Nico


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

Message: 2
Date: Wed, 3 Dec 2014 08:33:35 -0500
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] Image upload size limit
To: Nico <[email protected]>
Cc: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252

I?m not aware of any file size limits within Netdot itself. 

What?s the value of max_allowed_packet in your mysql configuration?

cv

On Dec 3, 2014, at 6:43 AM, Nico <[email protected]> wrote:

> Hello,
> 
> I'm trying to upload floor maps on Netdot, and getting an error on
> files bigger than 1Mb (aprox.).
> The error seems not to be related to that, but with smaller files,
> it's working ok.
> I'm trying to upload pdf files, this errors occurs with a 2MB PDF file:
> 
> error: DBD driver has not implemented the AutoCommit attribute at
> /usr/lib/perl5/site_perl/5.10.0/Exception/Class/Base.pm line 78.
> context:
> ...
> 106: if ( $m->comp_exists($comp_path) ){
> 107: # $m->dhandler_arg returns the path portion after "./", but not
> 108: # the get/post args (e.g. ?foo=bar&baz=fraz). The args are passed
> 109: # along in %ARGS.
> 110: $m->comp( $comp_path, %ARGS );
> 111: }else{
> 112: $r->content_type(q{text/html; charset=utf-8});
> 113: $m->comp('/generic/error.mhtml', error => "The requested page:
> \"$request\" does not exist");
> 114: }
> ...
> code stack: /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler:110
> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/dhandler:1
> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/autohandler:353
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:951
> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/masondata/obj/1784076917/cable_plant/autohandler.obj:21
> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler:76
> raw error
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> DBD driver has not implemented the AutoCommit attribute at
> /usr/lib/perl5/site_perl/5.10.0/Exception/Class/Base.pm line 78.
> 
> 
> Trace begun at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Exceptions.pm line 
> 129
> HTML::Mason::Commands::__ANON__('info', '', 'request', 'edit.html',
> 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
> 'showheader', 1, 'select_id', '', 'upload', 'W-N-2.pdf', 'dowindow',
> 0, 'selected', '') called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2391a28)',
> 'info', '', 'request', 'edit.html', 'submit', 'Insert', 'floor', 315,
> 'table', 'FloorPicture', 'showheader', 1, 'select_id', '', 'upload',
> 'W-N-2.pdf', 'dowindow', 0, 'selected', '') called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
> HTML::Mason::Request::comp(undef, undef, 'info', '', 'request',
> 'edit.html', 'submit', 'Insert', 'floor', 315, 'table',
> 'FloorPicture', 'showheader', 1, 'select_id', '', 'upload',
> 'W-N-2.pdf', 'dowindow', 0, 'selected', '') called at
> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler line 110
> HTML::Mason::Commands::__ANON__('request', 'edit.html', 'info', '',
> 'table', 'FloorPicture', 'floor', 315, 'submit', 'Insert',
> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
> 'W-N-2.pdf', 'selected', '') called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
> HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7fcff20a83f8)',
> 'request', 'edit.html', 'info', '', 'table', 'FloorPicture', 'floor',
> 315, 'submit', 'Insert', 'showheader', 1, 'select_id', '', 'dowindow',
> 0, 'upload', 'W-N-2.pdf', 'selected', '') called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
> HTML::Mason::Request::comp(undef, undef, 'request', 'edit.html',
> 'info', '', 'table', 'FloorPicture', 'floor', 315, 'submit', 'Insert',
> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
> 'W-N-2.pdf', 'selected', '') called at
> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/dhandler line
> 1
> HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
> 'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
> '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
> 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2593180)',
> 'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
> 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
> HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
> 'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
> 'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
> 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 958
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
> called at /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/autohandler
> line 353
> HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
> 'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
> '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
> 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 160
> HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fcff2181448)',
> 'main', 'info', '', 'submit', 'Insert', 'floor', 315, 'table',
> 'FloorPicture', 'showheader', 1, 'select_id', '', 'dowindow', 0,
> 'upload', 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 951
> HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)',
> 'main', 'info', '', 'submit', 'Insert', 'floor', 315, 'table',
> 'FloorPicture', 'showheader', 1, 'select_id', '', 'dowindow', 0,
> 'upload', 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/masondata/obj/1784076917/cable_plant/autohandler.obj
> line 21
> HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
> 'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
> '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
> 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2181448)',
> 'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
> 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
> HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
> 'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
> 'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
> 'showheader', 1) called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 958
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)',
> 'showheader', 1) called at
> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler line 76
> HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
> 'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
> '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '') called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff20a8728)',
> 'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
> 'W-N-2.pdf', 'selected', '') called at
> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1300
> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
> HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
> 'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
> 'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '')
> called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line
> 484
> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 484
> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 436
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
> called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm
> line 168
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
> called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm
> line 825
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fcfefa95058)',
> 'Apache2::RequestRec=SCALAR(0x7fcff234c848)') called at
> /opt/netdot/netdot/prod/netdot-1.0.6/lib/Netdot/Mason.pm line 59
> Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x7fcff234c848)')
> called at -e line 0
> eval {...} at -e line 0
> 
> Thank you in advance.
> 
> -- 
> Nico
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users




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

Message: 3
Date: Wed, 3 Dec 2014 15:03:06 +0100
From: Nico <[email protected]>
Subject: Re: [Netdot-users] Image upload size limit
To: "[email protected]" <[email protected]>
Message-ID:
        <cakxqfmtytnz31xyoy0ivgy9eepyncswy5lrb_jobdhxdbwi...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hello,
It was:
max_allowed_packet = 1M
changed it to:
max_allowed_packet = 3M
And no problem loading the same 2MB PDF file wich was failing.
Thank you very much.
Greetings,
Nico

2014-12-03 14:33 GMT+01:00 Carlos Vicente <[email protected]>:
> I?m not aware of any file size limits within Netdot itself.
>
> What?s the value of max_allowed_packet in your mysql configuration?
>
> cv
>
> On Dec 3, 2014, at 6:43 AM, Nico <[email protected]> wrote:
>
>> Hello,
>>
>> I'm trying to upload floor maps on Netdot, and getting an error on
>> files bigger than 1Mb (aprox.).
>> The error seems not to be related to that, but with smaller files,
>> it's working ok.
>> I'm trying to upload pdf files, this errors occurs with a 2MB PDF file:
>>
>> error: DBD driver has not implemented the AutoCommit attribute at
>> /usr/lib/perl5/site_perl/5.10.0/Exception/Class/Base.pm line 78.
>> context:
>> ...
>> 106: if ( $m->comp_exists($comp_path) ){
>> 107: # $m->dhandler_arg returns the path portion after "./", but not
>> 108: # the get/post args (e.g. ?foo=bar&baz=fraz). The args are passed
>> 109: # along in %ARGS.
>> 110: $m->comp( $comp_path, %ARGS );
>> 111: }else{
>> 112: $r->content_type(q{text/html; charset=utf-8});
>> 113: $m->comp('/generic/error.mhtml', error => "The requested page:
>> \"$request\" does not exist");
>> 114: }
>> ...
>> code stack: /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler:110
>> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/dhandler:1
>> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/autohandler:353
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm:951
>> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/masondata/obj/1784076917/cable_plant/autohandler.obj:21
>> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler:76
>> raw error
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> DBD driver has not implemented the AutoCommit attribute at
>> /usr/lib/perl5/site_perl/5.10.0/Exception/Class/Base.pm line 78.
>>
>>
>> Trace begun at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Exceptions.pm line 
>> 129
>> HTML::Mason::Commands::__ANON__('info', '', 'request', 'edit.html',
>> 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
>> 'showheader', 1, 'select_id', '', 'upload', 'W-N-2.pdf', 'dowindow',
>> 0, 'selected', '') called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
>> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2391a28)',
>> 'info', '', 'request', 'edit.html', 'submit', 'Insert', 'floor', 315,
>> 'table', 'FloorPicture', 'showheader', 1, 'select_id', '', 'upload',
>> 'W-N-2.pdf', 'dowindow', 0, 'selected', '') called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
>> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
>> HTML::Mason::Request::comp(undef, undef, 'info', '', 'request',
>> 'edit.html', 'submit', 'Insert', 'floor', 315, 'table',
>> 'FloorPicture', 'showheader', 1, 'select_id', '', 'upload',
>> 'W-N-2.pdf', 'dowindow', 0, 'selected', '') called at
>> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler line 110
>> HTML::Mason::Commands::__ANON__('request', 'edit.html', 'info', '',
>> 'table', 'FloorPicture', 'floor', 315, 'submit', 'Insert',
>> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
>> 'W-N-2.pdf', 'selected', '') called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
>> HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7fcff20a83f8)',
>> 'request', 'edit.html', 'info', '', 'table', 'FloorPicture', 'floor',
>> 315, 'submit', 'Insert', 'showheader', 1, 'select_id', '', 'dowindow',
>> 0, 'upload', 'W-N-2.pdf', 'selected', '') called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
>> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
>> HTML::Mason::Request::comp(undef, undef, 'request', 'edit.html',
>> 'info', '', 'table', 'FloorPicture', 'floor', 315, 'submit', 'Insert',
>> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
>> 'W-N-2.pdf', 'selected', '') called at
>> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/dhandler line
>> 1
>> HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
>> 'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
>> '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
>> 'showheader', 1) called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
>> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2593180)',
>> 'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
>> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
>> 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
>> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
>> HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
>> 'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
>> 'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
>> 'showheader', 1) called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 958
>> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
>> called at /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/cable_plant/autohandler
>> line 353
>> HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
>> 'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
>> '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
>> 'showheader', 1) called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 160
>> HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7fcff2181448)',
>> 'main', 'info', '', 'submit', 'Insert', 'floor', 315, 'table',
>> 'FloorPicture', 'showheader', 1, 'select_id', '', 'dowindow', 0,
>> 'upload', 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 951
>> HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)',
>> 'main', 'info', '', 'submit', 'Insert', 'floor', 315, 'table',
>> 'FloorPicture', 'showheader', 1, 'select_id', '', 'dowindow', 0,
>> 'upload', 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
>> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/masondata/obj/1784076917/cable_plant/autohandler.obj
>> line 21
>> HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
>> 'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
>> '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
>> 'showheader', 1) called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
>> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff2181448)',
>> 'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
>> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
>> 'W-N-2.pdf', 'selected', '', 'showheader', 1) called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1305
>> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
>> HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
>> 'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
>> 'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '',
>> 'showheader', 1) called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 958
>> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)',
>> 'showheader', 1) called at
>> /opt/netdot/netdot/prod/netdot-1.0.6/htdocs/autohandler line 76
>> HTML::Mason::Commands::__ANON__('info', '', 'submit', 'Insert',
>> 'floor', 315, 'table', 'FloorPicture', 'showheader', 1, 'select_id',
>> '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '') called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Component.pm line 138
>> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fcff20a8728)',
>> 'info', '', 'submit', 'Insert', 'floor', 315, 'table', 'FloorPicture',
>> 'showheader', 1, 'select_id', '', 'dowindow', 0, 'upload',
>> 'W-N-2.pdf', 'selected', '') called at
>> /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1300
>> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 1295
>> HTML::Mason::Request::comp(undef, undef, undef, 'info', '', 'submit',
>> 'Insert', 'floor', 315, 'table', 'FloorPicture', 'showheader', 1,
>> 'select_id', '', 'dowindow', 0, 'upload', 'W-N-2.pdf', 'selected', '')
>> called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line
>> 484
>> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 484
>> eval {...} at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/Request.pm line 436
>> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
>> called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm
>> line 168
>> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fcff2569700)')
>> called at /usr/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm
>> line 825
>> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fcfefa95058)',
>> 'Apache2::RequestRec=SCALAR(0x7fcff234c848)') called at
>> /opt/netdot/netdot/prod/netdot-1.0.6/lib/Netdot/Mason.pm line 59
>> Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x7fcff234c848)')
>> called at -e line 0
>> eval {...} at -e line 0
>>
>> Thank you in advance.
>>
>> --
>> Nico
>> _______________________________________________
>> Netdot-users mailing list
>> [email protected]
>> https://osl.uoregon.edu/mailman/listinfo/netdot-users
>



-- 
Nico



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

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


End of Netdot-users Digest, Vol 73, Issue 1
*******************************************

Reply via email to