<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[pymakr&#x2F;vscode on raspberry pi]]></title><description><![CDATA[<p dir="auto">Dear All,</p>
<p dir="auto">This might seem stupid at first but I am trying to do pycom developpment from a raspberry.<br />
Reason is simple. The whole system lopy4 + raspberry (openplotter) are meant to be installed on my boat for security monitoring (intrusion and water level), navigation logging (that's the raspberry's job), and occasionally retrieve raspberry data remotely<br />
Both will be connected together through the usb port. The lopy4 will be able to turn on the pi remotely record some nmea data (wind, etc... ) and turn it back off<br />
Anyway since the 2 devices will be connected for life I thought why not do the development on the pi and so if I need to make changes later on while on the boat I'll be able to do so.</p>
<p dir="auto">Anyway I just installed the arm version of VScode and installed pymakr on top of it both successfully !!! I can see the lopy serial(usb) connection but apparently vs nor pymakr seem to keen on detecting it. the bottom menu doesn't appear and on the top right when I click on &quot;pymakr run current file&quot; it says pymakr.run not found...</p>
<p dir="auto">Any hints or dependencies missing I should have installed or is it not possible at this time?</p>
<p dir="auto">Thank you in advance</p>
]]></description><link>https://forum.pycom.io/topic/3960/pymakr-vscode-on-raspberry-pi</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 19:18:15 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/3960.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Nov 2018 23:32:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Mon, 05 Nov 2018 23:32:38 GMT]]></title><description><![CDATA[<p dir="auto">Dear All,</p>
<p dir="auto">This might seem stupid at first but I am trying to do pycom developpment from a raspberry.<br />
Reason is simple. The whole system lopy4 + raspberry (openplotter) are meant to be installed on my boat for security monitoring (intrusion and water level), navigation logging (that's the raspberry's job), and occasionally retrieve raspberry data remotely<br />
Both will be connected together through the usb port. The lopy4 will be able to turn on the pi remotely record some nmea data (wind, etc... ) and turn it back off<br />
Anyway since the 2 devices will be connected for life I thought why not do the development on the pi and so if I need to make changes later on while on the boat I'll be able to do so.</p>
<p dir="auto">Anyway I just installed the arm version of VScode and installed pymakr on top of it both successfully !!! I can see the lopy serial(usb) connection but apparently vs nor pymakr seem to keen on detecting it. the bottom menu doesn't appear and on the top right when I click on &quot;pymakr run current file&quot; it says pymakr.run not found...</p>
<p dir="auto">Any hints or dependencies missing I should have installed or is it not possible at this time?</p>
<p dir="auto">Thank you in advance</p>
]]></description><link>https://forum.pycom.io/post/23306</link><guid isPermaLink="true">https://forum.pycom.io/post/23306</guid><dc:creator><![CDATA[theshade]]></dc:creator><pubDate>Mon, 05 Nov 2018 23:32:38 GMT</pubDate></item><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Tue, 06 Nov 2018 12:40:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3469">@theshade</a> Which version of VSCode and Pymakr are you running? Can you upload the project or does that give you an error as well?</p>
]]></description><link>https://forum.pycom.io/post/23320</link><guid isPermaLink="true">https://forum.pycom.io/post/23320</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Tue, 06 Nov 2018 12:40:36 GMT</pubDate></item><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Tue, 06 Nov 2018 15:58:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2032">@dan</a> ,</p>
<p dir="auto">I got vscode for armhf here:<br />
<a href="https://code.headmelted.com/" target="_blank" rel="noopener noreferrer nofollow">https://code.headmelted.com/</a><br />
Version: 1.29.0 (user setup)<br />
Commit: c6990d2ed650612cfffcebedad439e61a34c7779<br />
Date: 2018-10-16T15:00:47.231Z<br />
Electron: 2.0.11<br />
Chrome: 61.0.3163.100<br />
Node.js: 8.9.3<br />
V8: 6.1.534.41<br />
Architecture: arm</p>
<p dir="auto">installed on:<br />
PRETTY_NAME=&quot;Raspbian GNU/Linux 9 (stretch)&quot;<br />
NAME=&quot;Raspbian GNU/Linux&quot;<br />
VERSION_ID=&quot;9&quot;<br />
VERSION=&quot;9 (stretch)&quot;<br />
ID=raspbian<br />
ID_LIKE=debian</p>
<p dir="auto">Pymakr is 1.0.4 as far as I can see from the extensions tab.</p>
<p dir="auto">and it also says command pymakr.upload not found</p>
<p dir="auto">Thank you for your help.</p>
<p dir="auto">p.s.: am I the first doing this or have you already heard of people doing it from a raspberry?</p>
]]></description><link>https://forum.pycom.io/post/23335</link><guid isPermaLink="true">https://forum.pycom.io/post/23335</guid><dc:creator><![CDATA[theshade]]></dc:creator><pubDate>Tue, 06 Nov 2018 15:58:26 GMT</pubDate></item><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Tue, 06 Nov 2018 16:25:09 GMT]]></title><description><![CDATA[<p dir="auto">HI <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3469">@theshade</a>, I see you're using vscode version 1.29.0, which is not the latest stable release (1.28.2). I'm guessing that the serialport library is crashing in your setup, because it has been build against electron 2.0.7 instead of 2.0.11. I'll prepare the code for that and release it when 1.29 is officially out.</p>
<p dir="auto">So you can solve it by downgrading to 1.28.2, or if you don't want to, by rebuilding the serialport.<br />
Easiest way for the latter is changing one line: <code>var electron_version = '2.0.7'</code> to '2.0.11' in <code>~/.vscode/extensions/pycom.pymakr-1.0.4/scripts/install.js</code> and then run <code>npm install</code> again from the pycom.pymakr-1.0.4 folder.</p>
]]></description><link>https://forum.pycom.io/post/23336</link><guid isPermaLink="true">https://forum.pycom.io/post/23336</guid><dc:creator><![CDATA[Ralph]]></dc:creator><pubDate>Tue, 06 Nov 2018 16:25:09 GMT</pubDate></item><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Wed, 07 Nov 2018 20:32:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/76">@ralph</a>,</p>
<p dir="auto">I just did as you said and changed the install.js because I don't really know how to get 1.28.2 for armhf:<br />
using<br />
curl -s <a href="https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh" target="_blank" rel="noopener noreferrer nofollow">https://packagecloud.io/install/repositories/headmelted/codebuilds/script.deb.sh</a> | sudo bash<br />
sudo apt-cache showpkg code-oss<br />
only shows 1.29 versions....<br />
Apparently it seems there is only 1.29 versions for debian/stretch and 1.28 is Ubuntu/xenial.<br />
Why does it have to do with the windows manager????</p>
<p dir="auto">Anyway I had some progress by modifying the electron_version to 2.0.11 and it seems the connection works and the REPL is now working in the consol !!!!!<br />
So serial works and most commands work. (wifi, firmware version, etc)</p>
<p dir="auto">Except the Global settings, which doesn't do anything (I am expecting to see some file being opened) and looking everywhere I can't find find the json file on drive... although config.js seems to be have a default version of it.<br />
&quot;upload or download project&quot; are also not responding nor throwing any errors.<br />
I am not clear about how to indicate to the vscode that the current folder is supposed to be a project (except by setting the &quot;sync_folder&quot; to the pymakr.conf)<br />
&quot;Run current file&quot; seems to work though...</p>
<p dir="auto">Also It says that pymakr.conf file format is wrong but I put it in a json validator and it seems to be fine..</p>
<p dir="auto">here is a screen shot(not sure how it would help)..<br />
<img src="/assets/uploads/files/1541621944140-b3287395-6830-4869-9867-98db2450f926-image-resized.png" alt="0_1541621944426_b3287395-6830-4869-9867-98db2450f926-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Thank you for your support...</p>
]]></description><link>https://forum.pycom.io/post/23352</link><guid isPermaLink="true">https://forum.pycom.io/post/23352</guid><dc:creator><![CDATA[theshade]]></dc:creator><pubDate>Wed, 07 Nov 2018 20:32:43 GMT</pubDate></item><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Mon, 26 Nov 2018 18:11:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/76">@Ralph</a>,<br />
I am still stuck with no solution in case you missunderstood my last entry to this topic... Can you help? And did you succeed somehow in making it work?</p>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.pycom.io/post/23771</link><guid isPermaLink="true">https://forum.pycom.io/post/23771</guid><dc:creator><![CDATA[theshade]]></dc:creator><pubDate>Mon, 26 Nov 2018 18:11:21 GMT</pubDate></item><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Tue, 27 Nov 2018 10:22:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3469">@theshade</a>, sorry for not responding on this. Good to hear you made the REPL work. What I understand is that the global settings don't work. I think is might also be causing the format error in pymakr.conf that you see, because in your screenshot the format is indeed correct.</p>
<p dir="auto">(By the way, you can leave the 'sync_folder' set to an empty string if you want to sync the root folder of the opened project.)</p>
<p dir="auto">On linux, the config file should be here: <code>/Users/&lt;username&gt;/.config/Code/User/pymakr.json</code>. Could you check if that is there, and if not, try to create it? Contents with defaults should be this:</p>
<pre><code class="language-{">    &quot;address&quot;: &quot;192.168.4.1&quot;,
    &quot;username&quot;: &quot;micro&quot;,
    &quot;password&quot;: &quot;python&quot;,
    &quot;sync_folder&quot;: &quot;&quot;,
    &quot;open_on_start&quot;: true,
    &quot;safe_boot_on_upload&quot;: false,
    &quot;sync_file_types&quot;: &quot;py,txt,log,json,xml,html,js,css,mpy&quot;,
    &quot;ctrl_c_on_connect&quot;: false,
    &quot;sync_all_file_types&quot;: false,
    &quot;auto_connect&quot;: false

}
</code></pre>
<p dir="auto">Pymakr should create this by default. I'll check if there is a mistake there that occurs on linux when installing for the first time.</p>
]]></description><link>https://forum.pycom.io/post/23783</link><guid isPermaLink="true">https://forum.pycom.io/post/23783</guid><dc:creator><![CDATA[Ralph]]></dc:creator><pubDate>Tue, 27 Nov 2018 10:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Sat, 01 Dec 2018 13:05:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/76">@ralph</a>,</p>
<p dir="auto">Just reporting that It works actually the folder is oddly named : Code - OSS (headmelted)/<br />
(yes with the sort of &quot;spaces&quot;)</p>
<p dir="auto">so to make it work I just did a symlink in: .config<br />
ln -s Code - OSS (headmelted) Code<br />
and added the json file and I can now code/upload/download my lopy4 from my raspberry 3B+ ;)</p>
<p dir="auto">Thank you for your help</p>
]]></description><link>https://forum.pycom.io/post/23890</link><guid isPermaLink="true">https://forum.pycom.io/post/23890</guid><dc:creator><![CDATA[theshade]]></dc:creator><pubDate>Sat, 01 Dec 2018 13:05:38 GMT</pubDate></item><item><title><![CDATA[Reply to pymakr&#x2F;vscode on raspberry pi on Tue, 04 Dec 2018 10:56:58 GMT]]></title><description><![CDATA[<p dir="auto">Good to hear you sorted that out <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/3469">@theshade</a>! If I have time I might fix Pymakr to look in that folder on a raspi, although I think there are not many people running this setup. (ps Pymakr is open source, so if you want to do that yourself with a pull request, feel free)</p>
]]></description><link>https://forum.pycom.io/post/23920</link><guid isPermaLink="true">https://forum.pycom.io/post/23920</guid><dc:creator><![CDATA[Ralph]]></dc:creator><pubDate>Tue, 04 Dec 2018 10:56:58 GMT</pubDate></item></channel></rss>