<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:52:47 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[FIBERALLOC-6] Installation problem in a Python environment with anaconda</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/FIBERALLOC-6</link>
                <project id="10500" key="FIBERALLOC">Target to fiber allocation and configuration</project>
                    <description>&lt;p&gt;&lt;b&gt;Problem&lt;/b&gt;:&lt;br/&gt;
If the package is build with python installed using anaconda, the pyETS cannot be imported with the following error:&lt;br/&gt;
    Fatal Python error: PyThreadState_Get: no current thread&lt;br/&gt;
    Abort trap: 6&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Environment in test&lt;/b&gt;:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;macOS Sierra 10.12.6&lt;/li&gt;
	&lt;li&gt;Python 2.7.13 | Anaconda custom (x86_64)&lt;/li&gt;
	&lt;li&gt;Anaconda 4.3.25&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="11835">FIBERALLOC-6</key>
            <summary>Installation problem in a Python environment with anaconda</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="Martin.Reinecke">Martin Reinecke</assignee>
                                    <reporter username="kiyoto.yabe">Kiyoto Yabe</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Sep 2017 00:20:57 +0000</created>
                <updated>Wed, 20 Mar 2019 13:57:55 +0000</updated>
                            <resolved>Wed, 20 Mar 2019 13:57:55 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="12549" author="cloomis" created="Fri, 15 Sep 2017 00:29:48 +0000"  >&lt;p&gt;master?&lt;/p&gt;</comment>
                            <comment id="12550" author="kiyoto.yabe" created="Fri, 15 Sep 2017 00:35:01 +0000"  >&lt;p&gt;Yes, master branch.&lt;/p&gt;</comment>
                            <comment id="12551" author="cloomis" created="Fri, 15 Sep 2017 01:17:25 +0000"  >&lt;p&gt;I am not sure that I have the &lt;em&gt;correct&lt;/em&gt; answer, but I have one which works. Basically, &lt;tt&gt;python-config  --ldflags&lt;/tt&gt; does not provide the &lt;tt&gt;-L&lt;/tt&gt; library path, and so the system&apos;s python framework is used instead of the anaconda python library.&lt;/p&gt;

&lt;p&gt;On OSX, &lt;tt&gt;otool -L pyETS.so&lt;/tt&gt; shows the problem. On Linux, &lt;tt&gt;ldd pyETS.so&lt;/tt&gt; would.&lt;/p&gt;

&lt;p&gt;Add &lt;tt&gt;-L$(shell $(PYTHON_CONFIG) --prefix)/lib&lt;/tt&gt; to your &lt;tt&gt;PYFLAGS&lt;/tt&gt; to get the right python library linked into your &lt;tt&gt;pyETS.so&lt;/tt&gt;&lt;/p&gt;</comment>
                            <comment id="12553" author="martin.reinecke" created="Fri, 15 Sep 2017 08:01:53 +0000"  >&lt;p&gt;Thanks Craig!&lt;br/&gt;
I updated the Makefile accordingly.&lt;br/&gt;
Kiyoto, could you please double-check?&lt;/p&gt;

&lt;p&gt;Craig, if you can spare the time, could you please have a look at the branch &quot;setuptools-test&quot;? I&apos;m trying to write a portable setup.py there, which should in principle make the package installable via a simple&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-none&quot;&gt;
pip install --user git+https://github.com/Subaru-PFS/ets_fiber_assigner.git@setuptools-test
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Do you think that this approach will be more promising in the longer term?&lt;/p&gt;</comment>
                            <comment id="12554" author="kiyoto.yabe" created="Fri, 15 Sep 2017 08:27:40 +0000"  >&lt;p&gt;I confirmed that it worked. Thank you.&lt;/p&gt;</comment>
                            <comment id="12569" author="kiyoto.yabe" created="Thu, 21 Sep 2017 06:01:03 +0000"  >&lt;p&gt;I also confirmed that it worked in Tomomi&apos;s environment. Now we are ready for the announcement.&lt;/p&gt;</comment>
                            <comment id="12570" author="martin.reinecke" created="Thu, 21 Sep 2017 15:01:14 +0000"  >&lt;p&gt;Fine with me! What is the procedure?&lt;/p&gt;</comment>
                            <comment id="12583" author="kiyoto.yabe" created="Mon, 25 Sep 2017 02:28:05 +0000"  >&lt;p&gt;I will send an e-mail to the collaboration this week. &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=Martin.Reinecke&quot; class=&quot;user-hover&quot; rel=&quot;Martin.Reinecke&quot;&gt;Martin Reinecke&lt;/a&gt; Could you add a release tag at the current point, please?&lt;/p&gt;</comment>
                            <comment id="12601" author="martin.reinecke" created="Sun, 1 Oct 2017 08:58:48 +0000"  >&lt;p&gt;I have tagged the code on Github with the release tag &quot;v1.0&quot;. Please note that this does not yet contain the proposed fix for &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/FIBERALLOC-7&quot; title=&quot;PFI-Y direction is different from Sky-Y direction when position angle = 0?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;FIBERALLOC-7&quot;&gt;&lt;del&gt;FIBERALLOC-7&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="13029" author="martin.reinecke" created="Mon, 12 Mar 2018 09:13:12 +0000"  >&lt;p&gt;Which installation procedure did you try?&lt;/p&gt;

&lt;p&gt;If the&#160; Makefile-based approach described in README.md doesn&apos;t work, there is a chance that doing a&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
python setup.py &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;might work, or even&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
pip install --user git+https:&lt;span class=&quot;code-comment&quot;&gt;//github.com/Subaru-PFS/ets_fiber_assigner.git&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;(For this last command, you don&apos;t even need to clone the repository first.)&lt;/p&gt;

&lt;p&gt;If the problem persists, we will need the help of someone with access to MacOS Sierra, which I unfortunately do not have.&lt;/p&gt;</comment>
                            <comment id="13139" author="martin.reinecke" created="Fri, 20 Apr 2018 08:23:30 +0000"  >&lt;p&gt;Still waiting for additional information. Is there a way to set the Task to a &quot;Waiting&quot; status?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|ii02w7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>