<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MAYA_SHELF_PATH in module file prevents Batch Render from working in Maya Forum</title>
    <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9394129#M18805</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a very odd one and I am curious if there is an explanation for this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a plugin that works well and without any issues.&lt;/P&gt;&lt;P&gt;In my plugin .mod module file, I am setting the&amp;nbsp;MAYA_SHELF_PATH to ensure that the shelf is loaded on Maya startup.&lt;/P&gt;&lt;P&gt;Again, all of this is working well and as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, it turns out that this seems to be preventing Batch Render from working.&lt;/P&gt;&lt;P&gt;If I try to do a Batch Render, I receive this in the Script Editor:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// Result: Saving temporary file: C:/Users/Sebastian/Documents/maya/projects/default/scenes/batch_render_test__13288.mb // 
// Result: Rendering with Maya Software... // 
// Result: Rendering Completed. See mayaRenderLog.txt for information. //&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the log file contains nothing but three empty lines and the current date. Literally nothing else.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;
3/23/2020&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then, if I edit the module file and remove the following line&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MAYA_SHELF_PATH += C:\Users\Sebastian\Documents\shelves&lt;/LI-CODE&gt;&lt;P&gt;and try to do the Batch Render again, then it works without issues.&lt;/P&gt;&lt;P&gt;And if I re-add the line to the module file, it stops working again.&lt;/P&gt;&lt;P&gt;So it must definitely be that line that is causing the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Also important:&lt;/U&gt; The plugin is not even loaded! And I do not need to restart Maya or do anything special after editing the module file in a text editor! Just editing and saving is enough to make Batch Render work or stop it from working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the solution to this issue seems to be to remove the&amp;nbsp;MAYA_SHELF_PATH from the module file and set it another way, I am not necessarily looking for another workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am really after is an explanation of why this causes the Batch Render to fail; because it is not obvious to me and I would try to avoid any similar issues in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any and all input is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2020 16:29:13 GMT</pubDate>
    <dc:creator>Sebastian_Wiendl</dc:creator>
    <dc:date>2020-03-23T16:29:13Z</dc:date>
    <item>
      <title>MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9394129#M18805</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a very odd one and I am curious if there is an explanation for this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a plugin that works well and without any issues.&lt;/P&gt;&lt;P&gt;In my plugin .mod module file, I am setting the&amp;nbsp;MAYA_SHELF_PATH to ensure that the shelf is loaded on Maya startup.&lt;/P&gt;&lt;P&gt;Again, all of this is working well and as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, it turns out that this seems to be preventing Batch Render from working.&lt;/P&gt;&lt;P&gt;If I try to do a Batch Render, I receive this in the Script Editor:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// Result: Saving temporary file: C:/Users/Sebastian/Documents/maya/projects/default/scenes/batch_render_test__13288.mb // 
// Result: Rendering with Maya Software... // 
// Result: Rendering Completed. See mayaRenderLog.txt for information. //&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the log file contains nothing but three empty lines and the current date. Literally nothing else.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;
3/23/2020&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then, if I edit the module file and remove the following line&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MAYA_SHELF_PATH += C:\Users\Sebastian\Documents\shelves&lt;/LI-CODE&gt;&lt;P&gt;and try to do the Batch Render again, then it works without issues.&lt;/P&gt;&lt;P&gt;And if I re-add the line to the module file, it stops working again.&lt;/P&gt;&lt;P&gt;So it must definitely be that line that is causing the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Also important:&lt;/U&gt; The plugin is not even loaded! And I do not need to restart Maya or do anything special after editing the module file in a text editor! Just editing and saving is enough to make Batch Render work or stop it from working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the solution to this issue seems to be to remove the&amp;nbsp;MAYA_SHELF_PATH from the module file and set it another way, I am not necessarily looking for another workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am really after is an explanation of why this causes the Batch Render to fail; because it is not obvious to me and I would try to avoid any similar issues in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any and all input is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 16:29:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9394129#M18805</guid>
      <dc:creator>Sebastian_Wiendl</dc:creator>
      <dc:date>2020-03-23T16:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9394510#M18806</link>
      <description>&lt;P&gt;What plugin is it?&lt;/P&gt;
&lt;P&gt;What is in the shelves folder? Just mel files? Any different about what those mel files do?&lt;/P&gt;
&lt;P&gt;If you put an empty mel file in the shelves folder, or a mel file with an empty, do-nothing global proc, what happens?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 19:24:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9394510#M18806</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2020-03-23T19:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9397097#M18807</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Stephen,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for getting back to me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is a custom plugin, but I can recreate the same behavior with standard plugins.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example, if I open&amp;nbsp;C:\Program Files\Autodesk\Maya2020\modules\MASH.mod and change it from&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;+ LOCALE:en_US MASH 1.0 ../plug-ins/MASH
MASH_LOCATION:=
PATH+:=bin
MAYA_CONTENT_PATH+:=MASH Examples
MAYA_CONTENT_PATH+:=Smart Presets
scripts: scripts

+ LOCALE:ja_JP MASH 1.0 ../plug-ins/MASH
MASH_LOCATION:=
PATH+:=bin
MAYA_CONTENT_PATH+:=MASH Examples
MAYA_CONTENT_PATH+:=Smart Presets
MAYA_PLUG_IN_RESOURCE_PATH+:=resources/l10n/ja_JP
scripts: scripts

+ LOCALE:zh_CN MASH 1.0 ../plug-ins/MASH
MASH_LOCATION:=
PATH+:=bin
MAYA_CONTENT_PATH+:=MASH Examples
MAYA_CONTENT_PATH+:=Smart Presets
MAYA_PLUG_IN_RESOURCE_PATH+:=resources/l10n/zh_CN
scripts: scripts&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;+ LOCALE:en_US MASH 1.0 ../plug-ins/MASH
MASH_LOCATION:=
PATH+:=bin
MAYA_CONTENT_PATH+:=MASH Examples
MAYA_CONTENT_PATH+:=Smart Presets
MAYA_SHELF_PATH+=C:\Users\Sebastian\Documents\EmptyFolder
scripts: scripts

+ LOCALE:ja_JP MASH 1.0 ../plug-ins/MASH
MASH_LOCATION:=
PATH+:=bin
MAYA_CONTENT_PATH+:=MASH Examples
MAYA_CONTENT_PATH+:=Smart Presets
MAYA_PLUG_IN_RESOURCE_PATH+:=resources/l10n/ja_JP
scripts: scripts

+ LOCALE:zh_CN MASH 1.0 ../plug-ins/MASH
MASH_LOCATION:=
PATH+:=bin
MAYA_CONTENT_PATH+:=MASH Examples
MAYA_CONTENT_PATH+:=Smart Presets
MAYA_PLUG_IN_RESOURCE_PATH+:=resources/l10n/zh_CN
scripts: scripts&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get exactly the same behavior.&lt;/P&gt;&lt;P&gt;As you see, I just added the single&amp;nbsp;MAYA_SHELF_PATH line.&lt;/P&gt;&lt;P&gt;Also, the folder EmptyFolder is empty. Nothing in it at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, you can see an immediate effect when you edit the file while Maya 2020 is running.&lt;/P&gt;&lt;P&gt;Depending on whether the line is in the file the Batch Render will fail or run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I double-checked in the Plug-In Manager and MASH.mll is neither set to loaded nor autoload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you are able to reproduce the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sebastian&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 16:24:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9397097#M18807</guid>
      <dc:creator>Sebastian_Wiendl</dc:creator>
      <dc:date>2020-03-24T16:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9397953#M18808</link>
      <description>&lt;P&gt;Yup, totally repro (reproducible). I'll log a Maya ticket.&lt;/P&gt;
&lt;P&gt;Only workaround I see is "don't do it"&lt;/P&gt;
&lt;P&gt;I notice that things like MtoA, Mash, Bifrost, and XGen all stick their shelves in the user's &lt;STRONG&gt;prefs/shelves&lt;/STRONG&gt; folder.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 22:17:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9397953#M18808</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2020-03-24T22:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9398675#M18809</link>
      <description>&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, that's the workaround I've been using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please keep me posted on any updates on the Maya ticket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 09:17:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/9398675#M18809</guid>
      <dc:creator>Sebastian_Wiendl</dc:creator>
      <dc:date>2020-03-25T09:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/10913238#M18810</link>
      <description>&lt;P&gt;It looks like Maya 2022.2 is still affected. Any news on this?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 12:51:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/10913238#M18810</guid>
      <dc:creator>asztalosdani</dc:creator>
      <dc:date>2022-01-28T12:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/11773261#M18811</link>
      <description>&lt;P&gt;This is still an issue in 2023.3 ........&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 15:39:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/11773261#M18811</guid>
      <dc:creator>duduf</dc:creator>
      <dc:date>2023-02-22T15:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/12816644#M18812</link>
      <description>&lt;P&gt;Any update on this?&lt;BR /&gt;I found it only fails when I use Render.exe through deadline using MayaCmd plugin. MayaBatch plugin doesn't fail.&lt;BR /&gt;I also tested a CommandLine job that calls Render.exe and it worked fine.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 03:37:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/12816644#M18812</guid>
      <dc:creator>pfina</dc:creator>
      <dc:date>2024-06-04T03:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/12817747#M18813</link>
      <description>&lt;P&gt;Sorry, I do not have an update.&lt;/P&gt;&lt;P&gt;I have not tested this again. Just been putting the shelf file in the &lt;SPAN&gt;in the user's&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;prefs/shelves&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;folder.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 13:56:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/12817747#M18813</guid>
      <dc:creator>Sebastian_Wiendl</dc:creator>
      <dc:date>2024-06-04T13:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: MAYA_SHELF_PATH in module file prevents Batch Render from working</title>
      <link>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/13253926#M18814</link>
      <description>&lt;P&gt;I can confirm that this is still an issue. Sure is one of the odder issues I've seen.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 14:41:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-forum/maya-shelf-path-in-module-file-prevents-batch-render-from/m-p/13253926#M18814</guid>
      <dc:creator>stefan.reutersward</dc:creator>
      <dc:date>2025-01-10T14:41:21Z</dc:date>
    </item>
  </channel>
</rss>

