<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:39 UTC 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-3997] Errors using EDITOR and emacs23-x in Ubuntu 11.04</title>
                <link>https://jira.mongodb.org/browse/SERVER-3997</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This could be user error, but I&apos;m getting a bunch of error messages that may be worth looking at.  Or not.&lt;/p&gt;

&lt;p&gt;In Ubuntu, I run the Terminal application from the Application/Accessories menu.  Then I type &quot;export EDITOR=/usr/bin/emacs23-x&quot; which is the location of the X-windows version of EMACS in my setup.  I can type &quot;$EDITOR&quot; and it runs EMACS.&lt;/p&gt;

&lt;p&gt;But trying the example from the documentation in my 2.1.0-pre- copy of mongo (shell) built with &quot;scons all&quot;, I get this:&lt;/p&gt;

&lt;p&gt;tad@tad-VirtualBox:~$ echo $EDITOR&lt;/p&gt;

&lt;p&gt;tad@tad-VirtualBox:~$ export EDITOR=/usr/bin/emacs23-x&lt;br/&gt;
tad@tad-VirtualBox:~$ $EDITOR               // EMACS runs fine, no error messages&lt;br/&gt;
tad@tad-VirtualBox:~$ ./mongodb/mongo/mongo&lt;br/&gt;
MongoDB shell version: 2.1.0-pre-&lt;br/&gt;
connecting to: test&lt;br/&gt;
&amp;gt; f={}&lt;br/&gt;
{ }&lt;br/&gt;
&amp;gt; edit f&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-WARNING **: invalid (NULL) pointer instance&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)&apos; failed&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-WARNING **: invalid (NULL) pointer instance&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)&apos; failed&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_object_add_weak_pointer: assertion `G_IS_OBJECT (object)&apos; failed&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-WARNING **: invalid (NULL) pointer instance&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)&apos; failed&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-WARNING **: invalid (NULL) pointer instance&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)&apos; failed&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_object_add_weak_pointer: assertion `G_IS_OBJECT (object)&apos; failed&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-WARNING **: invalid (NULL) pointer instance&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)&apos; failed&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-WARNING **: invalid (NULL) pointer instance&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)&apos; failed&lt;/p&gt;

&lt;p&gt;(emacs23-x:18731): GLib-GObject-CRITICAL **: g_object_add_weak_pointer: assertion `G_IS_OBJECT (object)&apos; failed&lt;br/&gt;
&amp;gt; f&lt;/p&gt;
{ &quot;key&quot; : &quot;value&quot; }
&lt;p&gt;&amp;gt; &lt;/p&gt;

&lt;p&gt;The error messages from EMACS are all delivered as EMACS is started, and EMACS itself seems to be fine.  I add the key:value pair, save the file and exit, and it worked.  I see from the code in shell/dbshell.cpp that we&apos;re just calling ::system() with the EDITOR string followed by the filename, so maybe there&apos;s just something wrong with my copy of EMACS.  On its splash screen, it says:&lt;/p&gt;

&lt;p&gt;This is GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)&lt;br/&gt;
of 2011-04-04 on rothera, modified by Debian&lt;br/&gt;
Copyright (C) 2010 Free Software Foundation, Inc.&lt;/p&gt;

&lt;p&gt;The top of the changelog for my version of emacs23 says:&lt;/p&gt;

&lt;p&gt;emacs23 (23.2+1-7ubuntu2) natty; urgency=low&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;debian/patches/no_cpp_multiarch_dir_mangling.diff: make sure cpp doesn&apos;t&lt;br/&gt;
    mangle our multiarch include path due to a built-in macro matching the&lt;br/&gt;
    architecture name.  LP: #749270.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt; &amp;#8211; Steve Langasek &amp;lt;vorlon@debian.org&amp;gt;  Mon, 04 Apr 2011 08:51:24 +0000&lt;/p&gt;

&lt;p&gt;in case this helps identify the code, but it&apos;s a version of EMACS listed in Ubuntu&apos;s Synaptic Package Manager&apos;s &quot;Editors&quot; section (4th line), so it&apos;s Canonical-supported code, and I am up-to-date on patches.&lt;/p&gt;</description>
                <environment>Standard Terminal window in Ubuntu 11.04 32-bit running in VirtualBox 4.1.2 under Windows 7 64-bit</environment>
        <key id="23125">SERVER-3997</key>
            <summary>Errors using EDITOR and emacs23-x in Ubuntu 11.04</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="tad">Tad Marshall</assignee>
                                    <reporter username="tad">Tad Marshall</reporter>
                        <labels>
                    </labels>
                <created>Sun, 2 Oct 2011 13:11:55 +0000</created>
                <updated>Wed, 29 Feb 2012 03:54:09 +0000</updated>
                            <resolved>Mon, 28 Nov 2011 11:57:09 +0000</resolved>
                                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="69206" author="tad" created="Mon, 28 Nov 2011 11:57:09 +0000"  >&lt;p&gt;I&apos;m going to resolve this as &quot;not a bug&quot; or &quot;nothing to fix&quot;.  I&apos;m now running Ubuntu in multiple versions in multiple virtual machines on multiple machines, and I see this flurry of Gtk messages on some and not others, and sometimes from the bash shell and sometimes only when launched by the mongo shell.  Googling for the error messages indicates that this is a common problem with Gtk-based code, and not just Emacs, and the solutions are all over the map.  So, we really can&apos;t do anything about this, and closing the bug is the right thing to do.&lt;/p&gt;</comment>
                            <comment id="63812" author="redbeard0531" created="Mon, 31 Oct 2011 20:26:35 +0000"  >&lt;p&gt;Any chance you get these messages when you launch emacs from the shell? It looks like those are just GTK messages and I know they can sometimes be &quot;noisy&quot; but just warnings.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 31 Oct 2011 20:26:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 12 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 12 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hroozz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hriqkf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>22957</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0cxb:</customfieldvalue>

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