<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[QElectroTech — qet_tb_generator installation]]></title>
		<link>https://qelectrotech.org/forum/viewtopic.php?id=1043</link>
		<atom:link href="https://qelectrotech.org/forum/extern.php?action=feed&amp;tid=1043&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in qet_tb_generator installation.]]></description>
		<lastBuildDate>Sun, 30 Aug 2020 08:50:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13140#p13140</link>
			<description><![CDATA[<p> Thanks a lot.</p><p>I replace the first line and now it&#039;s working well.</p><p>About the namespaces i&#039;m not sure how i generate differents names.</p><p>I think i have to learn a good way to create a project step by step.</p><p>Maybe i will looking for someone around my location to help me... </p>]]></description>
			<author><![CDATA[null@example.com (nicogrim)]]></author>
			<pubDate>Sun, 30 Aug 2020 08:50:20 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13140#p13140</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13134#p13134</link>
			<description><![CDATA[<p> Hi Nicogrim, I&#039;ve checked your QET schema and the problem is the logo at the title block.</p><p>The QET schema files are a XML type file, and the library I use in the Terminal Block plug-in requires that the XML file is well-formed.<br />If you get a error likes this : &quot;xml.etree.ElementTree.ParseError: unbound prefix: line 8, column 20&quot;, open the qet schema file in a text editor and you will see this (line 8)</p><div class="codebox"><pre><code>    &lt;ns0:svg ns1:version=&quot;0.46+devel&quot; id=&quot;Livello_1&quot; ns1:output_extension=&quot;org.inkscape.output.svgz.inkscape&quot; viewBox=&quot;0 0 116 116&quot; width=&quot;128&quot; ns1:export-filename=&quot;/home/pinheiro/pics/oxygen-icons/scalable/apps/QElectroTech.png&quot; overflow=&quot;visible&quot; ns1:export-ydpi=&quot;67.5&quot; xml:space=&quot;preserve&quot; ns2:version=&quot;0.32&quot; height=&quot;128&quot; ns2:docname=&quot; QElectroTech.svgz&quot; enable-background=&quot;new 0 0 116 116&quot; ns1:export-xdpi=&quot;67.5&quot; version=&quot;1.0&quot;&gt;</code></pre></div><p>The &quot;ns0&quot; of the &quot;ns0:svg&quot; is a XML namespace ( <a href="https://www.w3schools.com/XML/xml_namespaces.asp">https://www.w3schools.com/XML/xml_namespaces.asp</a> ), and must be defined berefe the first use. <br />The easy wey to solve this is adding de namesapce definition in the first line:</p><p>Original first line:<br /></p><div class="codebox"><pre><code>&lt;project folioSheetQuantity=&quot;1&quot; title=&quot;CTA SBO 39CZ450&quot; version=&quot;0.70&quot;&gt;</code></pre></div><p>Modified first line with the namespace definition:</p><div class="codebox"><pre><code>&lt;project folioSheetQuantity=&quot;1&quot; title=&quot;CTA SBO 39CZ450&quot; version=&quot;0.70&quot; xmlns:ns0=&quot;ns0&quot;&gt;</code></pre></div><br /><p>Specifically in your XML file there are 7 different namespaces used but not defined. So the solution is change the first line like this:<br /></p><div class="codebox"><pre><code>&lt;project folioSheetQuantity=&quot;1&quot; title=&quot;CTA SBO 39CZ450&quot; version=&quot;0.70&quot; xmlns:ns0=&quot;ns0&quot; xmlns:ns1=&quot;ns1&quot;  xmlns:ns2=&quot;ns2&quot; xmlns:rdf=&quot;rdf&quot; xmlns:ns4=&quot;ns4&quot; xmlns:dc=&quot;dc&quot;  xmlns:ns6=&quot;ns6&quot;&gt;</code></pre></div><br /><p>The easy way to find all namespaces is fix one editing the first line, save it, and try again the plugin from the console. A new unbound error will say you where are a next namespace.</p><p>PD: I&#039;ve checked the possibility that the ElementTree library I use in the plugin omits the namespaces, but didn&#039;t find the possibility. </p>]]></description>
			<author><![CDATA[null@example.com (unalcalde)]]></author>
			<pubDate>Sun, 30 Aug 2020 07:19:09 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13134#p13134</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13113#p13113</link>
			<description><![CDATA[<p> Je pense qu&#039;en anglais il comprendra à moins que tu écrives bien l&#039;espagnol? </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sat, 29 Aug 2020 20:04:50 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13113#p13113</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13111#p13111</link>
			<description><![CDATA[<p> C&#039;est en anglais avec lui c&#039;est ça? </p>]]></description>
			<author><![CDATA[null@example.com (nicogrim)]]></author>
			<pubDate>Sat, 29 Aug 2020 20:02:25 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13111#p13111</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13110#p13110</link>
			<description><![CDATA[<p> Je pense qu&#039;il sera plus réactif par email, il est tres pris et il me semble qu&#039;il n&#039;a pas trop le temps de venir lire ici les retours et problemes de son plugin.</p><p>Nous le remercions encore pour son travail. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sat, 29 Aug 2020 20:01:53 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13110#p13110</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13109#p13109</link>
			<description><![CDATA[<p> </p><div class="quotebox"><cite>scorpio810 wrote:</cite><blockquote><p>Tu peux envoyer ton projet et ainsi que le message d&#039;erreur à Raul l&#039;auteur du plugin?<br /><a href="https://pypi.org/project/qet-tb-generator/">https://pypi.org/project/qet-tb-generator/</a></p><p>Lui seul seul doit pouvoir t&#039;aider.<br />désolé si je ne peux pas t&#039;aider plus, mais j&#039;ai mille choses à faire et je ne sais plus ou donner de la tète en ce moment ..<br />et la reprise du boulot arrive a grand pas ..</p></blockquote></div><p>Je vais faire ça merci </p>]]></description>
			<author><![CDATA[null@example.com (nicogrim)]]></author>
			<pubDate>Sat, 29 Aug 2020 19:58:26 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13109#p13109</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13108#p13108</link>
			<description><![CDATA[<p> Tu peux envoyer ton projet et ainsi que le message d&#039;erreur à Raul l&#039;auteur du plugin?<br /><a href="https://pypi.org/project/qet-tb-generator/">https://pypi.org/project/qet-tb-generator/</a></p><p>Lui seul seul doit pouvoir t&#039;aider.<br />désolé si je ne peux pas t&#039;aider plus, mais j&#039;ai mille choses à faire et je ne sais plus ou donner de la tète en ce moment ..<br />et la reprise du boulot arrive a grand pas .. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sat, 29 Aug 2020 19:46:51 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13108#p13108</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13107#p13107</link>
			<description><![CDATA[<p> J&#039;ai suivi la procédure du message <br /><a href="https://qelectrotech.org/forum/viewtopic.php?id=1007&amp;p=5">https://qelectrotech.org/forum/viewtopi … 07&amp;p=5</a><br />maintenant le plugin semble se lancer directement dans QElectroTech mais rien ne se passe.<br />Si je lance le plugin dans le CMD j&#039;ai de nouveau un message d&quot;erreur :</p><p>C:\Users\----&gt;qet_tb_generator<br />21:36:26 INFO&nbsp; &nbsp; &nbsp;** QElectrotech terminal block plug-in - v1.1.6 ** [main.main:839]<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python37\lib\runpy.py&quot;, line 193, in _run_module_as_main<br />&nbsp; &nbsp; &quot;__main__&quot;, mod_spec)<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python37\lib\runpy.py&quot;, line 85, in _run_code<br />&nbsp; &nbsp; exec(code, run_globals)<br />&nbsp; File &quot;C:\Users\----\AppData\Local\Programs\Python\Python37\Scripts\qet_tb_generator.exe\__main__.py&quot;, line 7, in &lt;module&gt;<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python37\lib\site-packages\src\main.py&quot;, line 850, in main<br />&nbsp; &nbsp; qet_project = QETProject(qet_file)&nbsp; # allows working with a QET XML file.<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python37\lib\site-packages\src\qetproject.py&quot;, line 67, in __init__<br />&nbsp; &nbsp; self._qet_tree = etree.parse(project_file)<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python37\lib\xml\etree\ElementTree.py&quot;, line 1197, in parse<br />&nbsp; &nbsp; tree.parse(source, parser)<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python37\lib\xml\etree\ElementTree.py&quot;, line 598, in parse<br />&nbsp; &nbsp; self._root = parser._parse_whole(source)<br />xml.etree.ElementTree.ParseError: unbound prefix: line 8, column 20 </p>]]></description>
			<author><![CDATA[null@example.com (nicogrim)]]></author>
			<pubDate>Sat, 29 Aug 2020 19:41:28 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13107#p13107</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13104#p13104</link>
			<description><![CDATA[<p> Le plugin ne se lance pas après, par contre si je le lance directement dans le terminal j&#039;ai une également une erreur :</p><p>C:\Users\----\AppData\Local\Programs\Python\Python38\Scripts&gt;qet_tb_generator<br />20:05:56 INFO&nbsp; &nbsp; &nbsp;** QElectrotech terminal block plug-in - v1.1.6 ** [main.main:839]<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python38\lib\runpy.py&quot;, line 194, in _run_module_as_main<br />&nbsp; &nbsp; return _run_code(code, main_globals, None,<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python38\lib\runpy.py&quot;, line 87, in _run_code<br />&nbsp; &nbsp; exec(code, run_globals)<br />&nbsp; File &quot;C:\Users\----\AppData\Local\Programs\Python\Python38\Scripts\qet_tb_generator.exe\__main__.py&quot;, line 7, in &lt;module&gt;<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python38\lib\site-packages\src\main.py&quot;, line 850, in main<br />&nbsp; &nbsp; qet_project = QETProject(qet_file)&nbsp; # allows working with a QET XML file.<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python38\lib\site-packages\src\qetproject.py&quot;, line 67, in __init__<br />&nbsp; &nbsp; self._qet_tree = etree.parse(project_file)<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python38\lib\xml\etree\ElementTree.py&quot;, line 1202, in parse<br />&nbsp; &nbsp; tree.parse(source, parser)<br />&nbsp; File &quot;c:\users\----\appdata\local\programs\python\python38\lib\xml\etree\ElementTree.py&quot;, line 595, in parse<br />&nbsp; &nbsp; self._root = parser._parse_whole(source)<br />xml.etree.ElementTree.ParseError: unbound prefix: line 8, column 20</p><p>Je pense que je n&#039;ai peut être pas respecté les chemins d&#039;installation </p>]]></description>
			<author><![CDATA[null@example.com (nicogrim)]]></author>
			<pubDate>Sat, 29 Aug 2020 19:19:28 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13104#p13104</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13100#p13100</link>
			<description><![CDATA[<p> Bonsoir et merci pour les compliments,</p><p>le plugin se lance quand même après?, on a souvent des faux positif le message d’alarme apparaît demandant d&#039;installer le plugin avec sa procédure mais entre temps le générateur de bornier apparaît.<br />Faudrait temporiser le warning ou s’assurer que le QFile existe avant de le lancer le QProces.<br />process-&gt;startDetached(QDir::homePath() + &quot;/Application Data/qet/qet_tb_generator.exe&quot;, {(QETDiagramEditor::currentProjectView()-&gt;project()-&gt;filePath())});</p><p><a href="https://git.tuxfamily.org/qet/qet.git/tree/sources/qetdiagrameditor.cpp#n2260">https://git.tuxfamily.org/qet/qet.git/t … .cpp#n2260</a> </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sat, 29 Aug 2020 19:00:23 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13100#p13100</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=13087#p13087</link>
			<description><![CDATA[<p> Bonjour,<br />Tout d&#039;abord merci pour le travail réalisé.</p><p>Je n&#039;arrive pas à lancer le générateur.<br />Quand j&#039;ouvre l&#039;option dans QET j&#039;ai la fenêtre qui me demande d&#039;installer le plugin.<br />Et j&#039;ai eu ce message lors de l&#039;installation puis lors de la mise à jour. </p><p>C:\Users\----\AppData\Local\Programs\Python\Python38&gt;python -m pip install --upgrade qet_tb_generator<br />Collecting qet_tb_generator<br />&nbsp; Downloading qet_tb_generator-1.1.6-py3-none-any.whl (29 kB)<br />Installing collected packages: qet-tb-generator<br />&nbsp; Attempting uninstall: qet-tb-generator<br />&nbsp; &nbsp; Found existing installation: qet-tb-generator 1.1.5<br />&nbsp; &nbsp; Uninstalling qet-tb-generator-1.1.5:<br />&nbsp; &nbsp; &nbsp; Successfully uninstalled qet-tb-generator-1.1.5<br />&nbsp; WARNING: The script qet_tb_generator.exe is installed in &#039;C:\Users\Gequo\AppData\Local\Programs\Python\Python38\Scripts&#039; which is not on PATH.<br />&nbsp; Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.<br />Successfully installed qet-tb-generator-1.1.6</p><p>J&#039;imagine que j&#039;ai un problème de localisation des fichiers mais je ne comprend pas où ça coince... </p>]]></description>
			<author><![CDATA[null@example.com (nicogrim)]]></author>
			<pubDate>Sat, 29 Aug 2020 14:34:49 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=13087#p13087</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=7684#p7684</link>
			<description><![CDATA[<p> Hello i have got a problem in fact, i want to launch qet_tb_generator in Qelectro, it&#039;s not install...<br />But i launch windows in your example and compilation run </p><p>C:\Users\admin\AppData\Local\Programs\Python\Python36\Scripts&gt;pip install qet_tb_generator<br />Collecting qet_tb_generator<br />  Downloading qet_tb_generator-0.7.72-py3-none-any.whl<br />Collecting pyqt5 (from qet_tb_generator)<br />  Downloading PyQt5-5.9.2-5.9.3-cp35.cp36.cp37-none-win_amd64.whl (77.4MB)<br />    100% |████████████████████████████████| 77.4MB 14kB/s<br />Collecting sip&lt;4.20,&gt;=4.19.4 (from pyqt5-&gt;qet_tb_generator)<br />  Downloading sip-4.19.6-cp36-none-win_amd64.whl (51kB)<br />    100% |████████████████████████████████| 51kB 2.8MB/s<br />Installing collected packages: sip, pyqt5, qet-tb-generator<br />Successfully installed pyqt5-5.9.2 qet-tb-generator-0.7.72 sip-4.19.6 </p>]]></description>
			<author><![CDATA[null@example.com (noir_desir)]]></author>
			<pubDate>Fri, 12 Jan 2018 10:11:50 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=7684#p7684</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=6654#p6654</link>
			<description><![CDATA[<p> Solution: run cmd as administrator.</p><p>Windows-&gt;Start-&gt;type &quot;cmd&quot;, right click and &quot;Run as administrator&quot;-&gt;execute qet install command. </p>]]></description>
			<author><![CDATA[null@example.com (gabe)]]></author>
			<pubDate>Wed, 07 Jun 2017 13:18:08 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=6654#p6654</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=6653#p6653</link>
			<description><![CDATA[<p> Here&#039;s a file with the error I get when trying to install the script (see attached file): </p>]]></description>
			<author><![CDATA[null@example.com (gabe)]]></author>
			<pubDate>Wed, 07 Jun 2017 12:12:06 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=6653#p6653</guid>
		</item>
		<item>
			<title><![CDATA[Re: qet_tb_generator installation]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=6515#p6515</link>
			<description><![CDATA[<p> &gt;&gt; First install on Windows<br />1. Install, if required, python 3.5 or above<br />2. pip install qet_generator<br />&gt;&gt; Update on Windows<br />python -m pip install --upgrade qet_tb_generator</p><p><a href="https://download.qelectrotech.org/qet/forum_img/win_pip.png">https://download.qelectrotech.org/qet/f … in_pip.png</a> </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Mon, 08 May 2017 19:53:53 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=6515#p6515</guid>
		</item>
	</channel>
</rss>
