<div dir="ltr">Hi Rachel,<div><div><br></div><div>Nabble is being strange. Messages posted there appear to be accepted by the mapguide-users list but aren't displaying in Nabble's copy of the mailing list. I only found this message because I posted a message myself yesterday through Nabble that didn't appear in Nabble's UI, but does appear in the mailing list archive <a href="https://lists.osgeo.org/pipermail/mapguide-users/2020-February/thread.html">here</a> where I found your message.</div><div><br></div><div>So if this message appears on the list, it's because I'm replying the old fashioned way. I've cc'd you a copy of this email either way.</div><div><br></div><div>On to your problem(s) at hand.</div><div><br></div><div>I think the problem appears to be the Ubuntu install of MapGuide has a non-functional WMS FDO provider that is derailing the MapGuide Server when a client application is asking for what FDO providers are available on the MapGuide Server (which Maestro is actually asking for when you create a feature source). </div><div><br></div><div>For the purpose of getting you back on track to finish your video tutorial, you can disable the WMS provider by editing <b>/usr/local/fdo-x.y.z/lib/providers.xml</b> (where <b>x.y.z</b> is your FDO version installed) and look for the provider entry for the WMS provider which looks like this:</div><div><br></div><div><font face="monospace"> <FeatureProvider><br> <Name>OSGeo.WMS.4.1</Name><br> <DisplayName>OSGeo FDO Provider for WMS</DisplayName><br> <Description>Read access to OGC WMS-based data store</Description><br> <IsManaged>False</IsManaged><br> <Version>4.1.0.0</Version><br> <FeatureDataObjectsVersion>4.1.0.0</FeatureDataObjectsVersion><br> <LibraryPath>libWMSProvider.so</LibraryPath><br> </FeatureProvider></font><br></div><div><br></div><div>Comment that entry out by surrounding it with XML comment markers like so</div><div><br></div><div><font face="monospace"> <!--</font></div><div><font face="monospace"> <FeatureProvider><br> <Name>OSGeo.WMS.4.1</Name><br> <DisplayName>OSGeo FDO Provider for WMS</DisplayName><br> <Description>Read access to OGC WMS-based data store</Description><br> <IsManaged>False</IsManaged><br> <Version>4.1.0.0</Version><br> <FeatureDataObjectsVersion>4.1.0.0</FeatureDataObjectsVersion><br> <LibraryPath>libWMSProvider.so</LibraryPath><br> </FeatureProvider></font><br></div><div><font face="monospace"> --></font></div><div><br></div><div>Then save the file and restart your MapGuide Server daemon. I'm certain after this that whatever Maestro's doing will not blow up the MapGuide Server anymore.</div><div><br></div><div>Regarding "invalid stream header" errors: These errors are generally a byproduct of a severed connection between the MapGuide Server and Web tiers such as the MapGuide Server crashing due to the problem above. When such
"invalid stream header" errors occur, the general suggestion is to just retry whatever action you were doing in the first place, unless that action crashed/stops the MapGuide Server</div><div><br></div><div>Regarding what "C:\projects\mapguide-maestro\OSGeo.MapGuide.MaestroAPI" is, that is the path of the build machine that built MapGuide Maestro from source. These paths generally don't mean much to users, this is more information for developers like me to help locate the source code files in question to further diagnose/debug the problem if needed.</div><div><br></div><div>Finally assuming that disabling the WMS provider gets you back up and running I'm going to pre-emptively warn you that the video tutorial in question is probably assuming you are running a *windows installation* of MapGuide if it is asking you to set up external folders with *windows* file paths. Your Linux MapGuide Server is not going to know what these windows external paths are.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>- Jackie</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><a href="http://themapguyde.blogspot.com" target="_blank">http://themapguyde.blogspot.com</a></div></div><div dir="ltr"><br></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Hello,</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I am a new user of mapguide and currently following a video tutorial where I</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">added an external folder to the MapGuide Site Administrator. The pathway is</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">C:\Users\NAME\Documents\Ex_Files_UaR_MapGuide\Exercise Files\RASTER so there</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">are no strange symbols</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">When I go to click add new resource >Feature Source >Add it disconnects both</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">the site administrator and Maestro from the mapguide server. I have to</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">reboot the server and Maestro to reconnect.</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I am running mapguide server through Ubuntu 14.04 on Virtual Box</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I do not know what "C:\projects\mapguide-maestro\OSGeo.MapGuide.MaestroAPI"</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">in the below error message is, it is not a directory on my local machine.</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">The error log on the mapguide server doesn't seem to give any reason, the</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">server appears to still be running. ("Success: Server started." is the most</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">recent message)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">These are the errors that I receive from Maestro:</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">System.Exception: The remote server returned an error: (559)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">MgInvalidStreamHeaderException.: </pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Invalid stream header exception.</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">- MgHttpGetFeatureProviders.Execute() line 65 file</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">HttpGetFeatureProviders.cpp</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">- MgCommand.ExecuteCommand() line 120 file Services/Command.cpp</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">- MgCommand.GetResponse() line 177 file Services/Command.cpp</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> ---> System.Net.WebException: The remote server returned an error: (559)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">MgInvalidStreamHeaderException.</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Net.HttpWebRequest.GetResponse()</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">C:\projects\mapguide-maestro\OSGeo.MapGuide.MaestroAPI\Http\HttpServerConnection.cs:line</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">1405</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> --- End of inner exception stack trace ---</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">C:\projects\mapguide-maestro\OSGeo.MapGuide.MaestroAPI\Http\HttpServerConnection.cs:line</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">1421</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.get_FeatureProviders()</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">in</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">C:\projects\mapguide-maestro\OSGeo.MapGuide.MaestroAPI\Http\HttpServerConnection.cs:line</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">302</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at Maestro.Base.Templates.FeatureSourceItemTemplate.CreateItem(String</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">startPoint, IServerConnection conn) in</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">C:\projects\mapguide-maestro\Maestro.Base\Templates\FeatureSourceItemTemplate.cs:line</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">43</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at Maestro.Base.Commands.NewItemCommand.Run() in</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">C:\projects\mapguide-maestro\Maestro.Base\Commands\NewItemCommand.cs:line 55</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at ICSharpCode.Core.WinForms.ToolBarCommand.OnClick(EventArgs e)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">ToolStripItemEventType met)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">ToolStripItemEventType met)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">button, Int32 clicks)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.Control.WndProc(Message& m)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.ScrollableControl.WndProc(Message& m)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.ToolStrip.WndProc(Message& m)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">IntPtr wparam, IntPtr lparam)</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">--</pre></div></div></div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html">http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html</a></pre></div></div></div></blockquote></div></div>