Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Can't locate object method "new" via package "Slic3r::GUI::PreviewCanvas" #1731

Closed
morlac opened this Issue · 1 comment

2 participants

Christian Adams Alessandro Ranellucci
Christian Adams
hagbard:Slic3r adams$ date
Thu Jan 23 10:49:11 CET 2014
hagbard:Slic3r adams$ git pull
Already up-to-date.
hagbard:Slic3r adams$ sudo perl Build.PL 
Password:
App::cpanminus is up to date. (1.7001)
Class::XSAccessor is up to date. (1.19)
Encode::Locale is up to date. (1.03)
ExtUtils::MakeMaker is up to date. (6.86)
ExtUtils::ParseXS is up to date. (3.22)
skipping R/RJ/RJBS/perl-5.18.2.tar.bz2
--> Working on File::Spec
Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-3.40.tar.gz ... OK
Configuring PathTools-3.40 ... OK
Building and testing PathTools-3.40 ... OK
Successfully installed PathTools-3.40 (upgraded from 3.33)
1 distribution installed
Getopt::Long is up to date. (2.42)
IO::Scalar is up to date. (2.110)
Math::Geometry::Voronoi is up to date. (1.3)
Math::PlanePath is up to date. (113)
Module::Build::WithXSpp is up to date. (0.14)
Moo is up to date. (1.004002)
Scalar::Util is up to date. (1.38)
Test::Harness is up to date. (3.30)
--> Working on Test::More
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Simple-1.001002.tar.gz ... OK
Configuring Test-Simple-1.001002 ... OK
Building and testing Test-Simple-1.001002 ... OK
Successfully installed Test-Simple-1.001002 (upgraded from 0.98)
1 distribution installed
Time::HiRes is up to date. (1.9726)
XML::SAX::ExpatXS is up to date. (1.33)
Cleaning up build files
Cleaning up configuration files
--> Working on ./xs
Configuring /[...]/Slic3r/xs ... OK
Building and testing Slic3r-XS-0.01 ... OK
Successfully installed Slic3r-XS-0.01
1 distribution installed
t/angles.t ........... ok     
t/arcs.t ............. skipped: arcs are currently disabled
t/clean_polylines.t .. ok   
t/clipper.t .......... ok   
t/collinear.t ........ ok     
t/combineinfill.t .... ok   
t/cooling.t .......... ok     
t/custom_gcode.t ..... ok   
t/dynamic.t .......... skipped: variable-width paths are currently disabled
t/fill.t ............. ok     
t/gcode.t ............ ok   
t/geometry.t ......... ok     
t/layers.t ........... ok   
t/loops.t ............ skipped: temporarily disabled
t/multi.t ............ ok   
t/perimeters.t ....... ok   
t/polyclip.t ......... ok     
t/print.t ............ ok   
t/retraction.t ....... ok     
t/shells.t ........... ok     
t/skirt_brim.t ....... ok   
t/slice.t ............ skipped: temporarily disabled
t/support.t .......... ok     
t/svg.t .............. ok   
t/threads.t .......... ok   
t/vibrationlimit.t ... ok   
All tests successful.
Files=26, Tests=220, 103 wallclock secs ( 0.18 usr  0.09 sys + 109.20 cusr  2.22 csys = 111.69 CPU)
Result: PASS
If you also want to use the GUI you can now run `perl Build.PL --gui` to install the required modules.
hagbard:Slic3r adams$ sudo perl Build.PL --gui
App::cpanminus is up to date. (1.7001)
Growl::GNTP is up to date. (0.20)
OpenGL is up to date. (0.6703)
Wx is up to date. (0.9922)
--> Working on Wx::GLCanvas
Fetching http://www.cpan.org/authors/id/M/MB/MBARBON/Wx-GLCanvas-0.09.tar.gz ... OK
Configuring Wx-GLCanvas-0.09 ... OK
Building and testing Wx-GLCanvas-0.09 ... FAIL
! Installing Wx::GLCanvas failed. See /[...]/.cpanm/work/1390484997.16080/build.log for details. Retry with --force to force install it.
Don't worry, this module is optional.

Now I start Slic3r, add some Model and then click on 'Settings' Slic3r crashes with the following output:

hagbard:Slic3r adams$ perl slic3r.pl 
Can't locate object method "new" via package "Slic3r::GUI::PreviewCanvas" at [...]/Slic3r/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm line 54.
Alessandro Ranellucci
Owner

Fixed, thank you.

Alessandro Ranellucci alexrj closed this
Alessandro Ranellucci alexrj added the Fixed label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.