Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyrasite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
pyrasite
Commits
684c93cb
Commit
684c93cb
authored
Mar 13, 2012
by
Nathaniel Case
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around missing Meliae
parent
d7536560
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
pyrasite/tools/gui.py
pyrasite/tools/gui.py
+7
-1
No files found.
pyrasite/tools/gui.py
View file @
684c93cb
...
...
@@ -32,7 +32,10 @@ import threading
from
os.path
import
join
,
abspath
,
dirname
from
random
import
randrange
from
meliae
import
loader
try
:
from
meliae
import
loader
except
:
pass
from
gi.repository
import
GLib
,
GObject
,
Pango
,
Gtk
,
WebKit
import
pyrasite
...
...
@@ -606,6 +609,9 @@ class PyrasiteWindow(Gtk.Window):
try
:
objects
=
loader
.
load
(
'/tmp/%d.objects'
%
proc
.
pid
,
show_prog
=
False
)
except
NameError
:
log
.
debug
(
"Meliae not available, continuing..."
)
return
except
:
log
.
debug
(
"Falling back to slower meliae object dump loader"
)
objects
=
loader
.
load
(
'/tmp/%d.objects'
%
proc
.
pid
,
...
...
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