Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octoprint Browse button press causes Slic3r to close #5052

Open
treflip opened this issue Feb 15, 2021 · 0 comments
Open

Octoprint Browse button press causes Slic3r to close #5052

treflip opened this issue Feb 15, 2021 · 0 comments

Comments

@treflip
Copy link

treflip commented Feb 15, 2021

Describe the bug
When searching for Octoprint on my network (Browse button in Printer setttings) Slic3r closes.

To Reproduce
Steps to reproduce the behavior:

  1. open Slic3r
  2. goto printer settings
  3. under octoprint section press 'Browse' button

Expected behavior
see a list of hosts to pick Octoprint from?

Desktop (please complete the following information):
Windows 10 Home
Version: 10.0.19041 Build 19041

Additional context
Using debug (opening a console first so the cmd window doesn't' close after the debug report)
I see this error displayed:
Can't locate object method "new" via package "Net::Bonjour" at C:/Users/~/Downloads/3d_printer/Slic3r-1.3.0.32bit/lib/Slic3r/GUI/PresetEditor.pm line 1350.

In the PresetEditor.pm file at line 1350 I see this code:
# look for devices
my $entries;
{
line 1350 --> my $res = Net::Bonjour->new('octoprint');
$res->discover;
$entries = [ $res->entries ];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant