Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
5204811f
Commit
5204811f
authored
Nov 02, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixconnectfail'
parents
13d968f4
b0160015
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
pronterface.py
printrun/pronterface.py
+7
-1
No files found.
printrun/pronterface.py
View file @
5204811f
...
...
@@ -1845,9 +1845,15 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
logging
.
error
(
_
(
"Error: You don't have permission to open
%
s."
)
%
port
)
logging
.
error
(
_
(
"You might need to add yourself to the dialout group."
))
else
:
traceback
.
print_exc
(
)
logging
.
error
(
traceback
.
format_exc
()
)
# Kill the scope anyway
return
except
OSError
as
e
:
if
e
.
errno
==
2
:
logging
.
error
(
_
(
"Error: You are trying to connect to a non-existing port."
))
else
:
logging
.
error
(
traceback
.
format_exc
())
return
self
.
statuscheck
=
True
if
port
!=
self
.
settings
.
port
:
self
.
set
(
"port"
,
port
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment