<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I recently received this bug notification from my macports version of pymvpa. It should be the most current stable release 0.4.2, so I think this might be an upstream issue.&nbsp;<div><br></div><div>Cheers,</div><div><br></div><div>-james<br><div><br><div>Begin forwarded message:</div><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; ">Hi there,</div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I noticed a very simple issue in the current pymvpa port when using "from mvpa.suite import *", and I saw this email-address as macport maintainer, so I figured I'd notify you.</div><div><br></div><div><br></div><div><div></div><div></div><blockquote type="cite"><div><font class="Apple-style-span" color="#144FAE">&nbsp;&nbsp;File "/opt/local/lib/python2.5/site-packages/mvpa/base/externals.py", line 31, in __version_to_tuple</font></div><div><font class="Apple-style-span" color="#144FAE">&nbsp;&nbsp; &nbsp;v = tuple([int(x) for x in v.split('.') if not x.startswith('dev')])</font></div><div><font class="Apple-style-span" color="#144FAE">ValueError: invalid literal for int() with base 10: '1rc3'</font></div><div><font class="Apple-style-span" color="#144FAE">&gt;&gt;&gt; edit /opt/local/lib/python2.5/site-packages/mvpa/base/externals.py</font></div><div><font class="Apple-style-span" color="#144FAE">&nbsp;&nbsp;File "&lt;stdin&gt;", line 1</font></div><div><font class="Apple-style-span" color="#144FAE">&nbsp;&nbsp; &nbsp;edit /opt/local/lib/python2.5/site-packages/mvpa/base/externals.py</font></div><div><font class="Apple-style-span" color="#144FAE">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</font></div><div><font class="Apple-style-span" color="#144FAE">SyntaxError: invalid syntax</font></div><div><font class="Apple-style-span" color="#144FAE">&gt;&gt;&gt;&nbsp;</font></div></blockquote><div><br></div></div><div>(it worked after I modified the line to "<span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; ">v = tuple([int(x) <span style="color: #aa0d91">for</span> x <span style="color: #aa0d91">in</span> v.split(<span style="color: #1c00cf">'.'</span>) <span style="color: #aa0d91">if</span> x.isdigit()])")</span></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;"><br></span></font></div><div><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="background-color: transparent; font-size: 12px;">Thanks for making mvpa available!</span></font></div><div>Christian</div></div></blockquote></div><br></div></body></html>