Skip to content

Commit 2596b31

Browse files
author
Daniel Oberski
committed
Fixed bug in installer, versioning problems in GTK/glib/...
1 parent c4e910b commit 2596b31

5 files changed

+23
-7
lines changed

JruleMplus.glade

+12-2
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ This field sets the criterion for "high power"; that is, when the detection prob
532532
<property name="type_hint">normal</property>
533533
<property name="has_separator">False</property>
534534
<property name="program_name">Jrule for Mplus</property>
535-
<property name="version">beta</property>
535+
<property name="version">version 0.91 (beta)</property>
536536
<property name="copyright" translatable="yes">&#xA9; 2009 Daniel Oberski</property>
537537
<property name="website">http://wiki.github.com/daob/JruleMplus</property>
538538
<property name="authors">Daniel Oberski
@@ -544,7 +544,17 @@ Based on a paper (2009) by
544544

545545
Willem E. Saris
546546
Albert Satorra
547-
William van der Veld</property>
547+
William van der Veld
548+
549+
550+
Thanks are due to the following people for testing
551+
the program and providing valuable feedback:
552+
553+
* Eldad Davidov
554+
* Bart Meuleman
555+
556+
* &lt;Your name here? Contact me!
557+
daniel.oberski@gmail.com&gt;</property>
548558
<property name="documenters">daniel oberski</property>
549559
<property name="logo">img/decision.png</property>
550560
<signal name="response" handler="on_about_response"/>

JruleMplus.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,14 @@ def reload(self, *args):
137137
"""Reload the list using the MplusOutput class. Might be used as a callback
138138
so has variable number of arguments."""
139139
self.critical = False #recalc
140+
if not self.filename: return False
140141
try:
141-
self.output = MplusOutput(self.filename)
142-
self.estimates = self.output.get_estimates()
142+
if os.path.exists(self.filename):
143+
self.output = MplusOutput(self.filename)
144+
self.estimates = self.output.get_estimates()
145+
else:
146+
sys.stderr.write('Mplus output file not found: %s\n'%self.filename)
147+
return False
143148
except Exception, e:
144149
sys.stderr.write('Could not reload application: %s\n'%str(e))
145150
self.filename = ''# Undo filename setting
@@ -409,7 +414,8 @@ def __init__(self, widget_name, app, choices=()):
409414
cell = gtk.CellRendererText()
410415
self.widget.pack_start(cell)
411416
self.widget.add_attribute(cell, 'text' ,0)
412-
self.widget.set_active(0)
417+
self.widget.set_active(0)
418+
# FIXME: GtkWarning: gtk_entry_set_text: assertion `text != NULL' failed
413419

414420
self.widget.connect('changed', self.changed)
415421

Output/JRuleMplusSetup.exe

795 KB
Binary file not shown.

Output/JRuleMplusSetup.md5

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5e2afc7db914aba68e40b7591722fac9 JRuleMplusSetup.exe
1+
1dad6e3d7a4fba29ed2fd5b38b19b3e6 JRuleMplusSetup.exe

innosetup.iss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[Setup]
22
AppName=JRule for Mplus
3-
AppVerName=Jrule for Mplus 0.91
3+
AppVerName=Jrule for Mplus 0.91 (beta)
44
AppPublisher=Daniel Oberski
55
AppPublisherURL=http://www.daob.org/
66
DefaultDirName={pf}\JruleMplus

0 commit comments

Comments
 (0)