PiCam keeps losing configs
I updated to .90 and the webcam works fine when i config it through the web but as soon as i go to a different page allthe settings disapear and i have to redo them. It never keeps the settings.
I have a feeling its a permissions issue with a file just not sure which one. I am running the server on a Pi with rasperian.
Comments
We have changed the format for xml file a bit. Should automatically upgrade to new format, but maybe you have a setting that prevents that and save does not finish due to the problem. Can you send me the xml printer config you have, so I can test if that would be a problem and especially if we have a bug in upgrade path for your settings.
<webcam pos="0">
<method>3</method>
<timelapseMethod>1</timelapseMethod>
<staticUrl>http://127.0.0.1:8090/?action=snapshot</staticUrl>
<dynamicUrl>http://127.0.0.1:8090/?action=stream</dynamicUrl>
<orientation>0</orientation>
<reloadInterval>1</reloadInterval>
<timelapseInterval>20</timelapseInterval>
<timelapseHeight>0.1</timelapseHeight>
<timelapseLayer>1</timelapseLayer>
<timelapseBitrate>1000</timelapseBitrate>
<timelapseSelected>0</timelapseSelected>
<timelapseFramerate>30</timelapseFramerate>
</webcam>
</webcams>
<printer>
<shape>
<grid color="#454545" spacing="10"/>
<rectangle color="#dddddd" xMax="220" xMin="0" yMax="220" yMin="0"/>
</shape>
<general>
<name>Anet A8</name>
<slug>Anet_A8</slug>
<firmwareName>Marlin</firmwareName>
<printerVariant>cartesian</printerVariant>
<active>true</active>
<fan>true</fan>
<fan2>false</fan2>
<tempUpdateEvery>1</tempUpdateEvery>
<pauseHandling>0</pauseHandling>
<pauseSeconds>120</pauseSeconds>
<sdcard>false</sdcard>
<softwarePower>false</softwarePower>
<defaultVolumetric>false</defaultVolumetric>
<logHistory>true</logHistory>
<useOwnModelRepository>true</useOwnModelRepository>
<useModelFromSlug/>
<model/>
<numFans>1</numFans>
</general>
<connection>
<serial>
<baudrate>250000</baudrate>
<device>/dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_557363138373514180E1-if00</device>
<pingPong>false</pingPong>
<inputBufferSize>127</inputBufferSize>
<communicationTimeout>30</communicationTimeout>
<rts>0</rts>
<dtr>0</dtr>
<malyanHack>false</malyanHack>
</serial>
<lcdTimeMode>4</lcdTimeMode>
<resetScript/>
<connectionMethod>0</connectionMethod>
<pipe>
<file/>
</pipe>
<ip>
<port>23</port>
<address/>
</ip>
</connection>
<movement>
<xMin>0</xMin>
<xMax>220</xMax>
<xHome>0</xHome>
<yMin>0</yMin>
<yMax>220</yMax>
<yHome>0</yHome>
<zMin>0</zMin>
<zMax>240</zMax>
<zHome>0</zHome>
<xyJerk>20</xyJerk>
<zJerk>0.30000000000000004</zJerk>
<timeMultiplier>1</timeMultiplier>
<movebuffer>16</movebuffer>
<xySpeed max="300">100</xySpeed>
<zSpeed max="5">2</zSpeed>
<xyPrintAcceleration>2000</xyPrintAcceleration>
<xyTravelAcceleration>2000</xyTravelAcceleration>
<zPrintAcceleration>100</zPrintAcceleration>
<zTravelAcceleration>100</zTravelAcceleration>
<endstops all="true" x="true" y="true" z="true"/>
<invert x="false" y="false" z="false"/>
<G10Speed>50</G10Speed>
<G10Distance>3</G10Distance>
<G10LongDistance>50</G10LongDistance>
<G11Speed>50</G11Speed>
<G11ExtraDistance>0</G11ExtraDistance>
<G11ExtraLongDistance>0</G11ExtraLongDistance>
<G10ZLift>0</G10ZLift>
</movement>
<extruders>
<extruder changeFastDistance="20" changeSlowDistance="20" filamentDiameter="1.75" lastTemp="220" maxTemp="260" num="0">
<alias/>
<maxSpeed acceleration="100" jerk="30" max="100"/>
<extrude speed="2"/>
<retract speed="30"/>
<tempChange cooldownPerSecond="0.5" heatupPerSecond="2"/>
<offsets x="0" y="0"/>
<temperatures>
<temperature value="245">ABS 245</temperature>
<temperature value="210">PLA 210</temperature>
<temperature value="195">PLA 195</temperature>
</temperatures>
</extruder>
</extruders>
<quickCommands/>
<properties/>
<scripts/>
<heatedBeds>
<heatedBed lastTemp="0" maxTemp="120" num="0">
<alias/>
<tempChange cooldownPerSecond="0.5" heatupPerSecond="1.5"/>
<temperatures>
<temperature value="115">ABS</temperature>
<temperature value="50">PLA</temperature>
</temperatures>
</heatedBed>
</heatedBeds>
<heatedChambers/>
<webcams>
<webcam pos="0">
<method>3</method>
<timelapseMethod>1</timelapseMethod>
<staticUrl>http://127.0.0.1:8090/?action=snapshot</staticUrl>
<dynamicUrl>http://127.0.0.1:8090/?action=stream</dynamicUrl>
<orientation>0</orientation>
<reloadInterval>1</reloadInterval>
<timelapseInterval>20</timelapseInterval>
<timelapseHeight>0.1</timelapseHeight>
<timelapseLayer>1</timelapseLayer>
<timelapseBitrate>1000</timelapseBitrate>
<timelapseSelected>0</timelapseSelected>
<timelapseFramerate>30</timelapseFramerate>
</webcam>
</webcams>
</printer>
Also please open javascript console to see if errors happen. Just right click and select inspect element then switch to console.
in javascript console I get:
You see it lists the webcam as supposed. What do you get if you enter this in javascript console? Not sure wher eit goes wrong but config at least is ok.