<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / REX Module error]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=187&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=187"/>
	<updated>2016-09-02T10:08:58Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=187</id>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=854#p854"/>
		<content type="html"><![CDATA[<p>Hi Adam,<br />thanks for the update. At the moment I have no better advice than ignoring the error. I&#039;ll try some more to replicate the bug but so far I was not successful.</p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-09-02T10:08:58Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=854#p854</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=843#p843"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav and Stetina,</p><p>It does seem to be only occurring immediately after the Pi is restarted. Enabling &#039;Wait for Network at Boot&#039;, makes no difference. </p><p>Do you think I should be worried, or as the error does not seem to be affecting the operation of the system, should I ignore it?</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2016-08-30T17:17:47Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=843#p843</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=839#p839"/>
		<content type="html"><![CDATA[<p>Hi Adam,<br />can you please examine this in more detail? Does the error occur only after the Raspberry Pi is powered on? RexCore starts very early during the boot-up, sooner than the Ethernet adapter is initialized, therefore it cannot connect to an external SQL server until the network is properly configured. </p><p>Please run &quot;sudo raspi-config&quot; on your RPi and enable &quot;Wait for Network at Boot&quot; and let me know if and how it affects the error.</p><p>Hope this helps.<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-08-29T09:07:38Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=839#p839</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=838#p838"/>
		<content type="html"><![CDATA[<p>You got connection failed after 1st downloading configuration (line &quot;Swapping configuration&quot; in log file), but no fail after 2nd downloading configuration, so data are written into database.<br />I hope you know what was changed beetwen both downloads. Sometimes configuration not work correctly after Raspberry power on, but work correctly after manual download. This happend when some component (MySQL deamon or ODBC deamon in this case) start too late, but we not see this problem with MySQL. <br />By the way ODBC-connection-failed log message contain standardised error code (IM008) and error description (Invalid window handle) returned by MySQL. You can find more information in MySQL and/or ODBC documetation, internet forums etc. I try google, but I get only general advise to see ODBC and MySQL logfile for more details.</p>]]></content>
		<author>
			<name><![CDATA[stetina]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=9</uri>
		</author>
		<updated>2016-08-29T06:10:28Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=838#p838</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=835#p835"/>
		<content type="html"><![CDATA[<p>Hi Adam,<br />thanks for the screenshot. I have passed it to our developers. Hope they&#039;ll be able to shed some light on it.</p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-08-29T05:34:18Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=835#p835</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=829#p829"/>
		<content type="html"><![CDATA[<p>Hi Tomas,</p><p>Screenshot uploaded</p><p><a href="https://www.rexygen.com/oldforum/img/members/71/REXInvalidWindowError.jpg" rel="nofollow"><span class="postimg"><img src="https://www.rexygen.com/oldforum/img/members/71/mini_REXInvalidWindowError.jpg" alt="mini_REXInvalidWindowError.jpg" /></span></a></p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2016-08-26T09:08:16Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=829#p829</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=826#p826"/>
		<content type="html"><![CDATA[<p>Hi Adam,</p><p>can you please post a screenshot of your System log in RexView? It&#039;s strange that you get the data to your database correctly and Rex database driver says &quot;Connect to DB failed&quot;. I will have a look at it.</p><p>Cheers, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2016-08-26T07:41:17Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=826#p826</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=823#p823"/>
		<content type="html"><![CDATA[<p>Hi Tomas,</p><p>I have got data into my database now (silly miss type in odbcinst.ini), but I am still getting the error </p><p>&#039;2016-08-25;16:31:30.285;Error;DBDRV: connect to &#039;DRIVER=MySQL;SERVER=192.168.1.XXX;PORT=3306;DATABASE=test;UID=XXX;PWD=XXX;&#039; failed!!!! ([IM008] [unixODBC][MySQL][ODBC 5.1 Driver]Invalid window handle);</p><p>Is it a problem? is it something I can fix?</p><p>[edited to put separate questions in a separate post]</p><p>Cheers,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2016-08-25T15:49:20Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=823#p823</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=822#p822"/>
		<content type="html"><![CDATA[<p>Hi Tomas,</p><p>I was following &#039;MbDrv_ENG.pdf&#039; which doesn&#039;t seem to have the bit about installing the ODBC driver, I had therefore assumed it was installed with the module. I can now download to the target, though I don&#039;t seem to be getting data inserted into the database; hopefully that is just a configuration issue though.</p><p>Thank you very much for your help.</p><p>Regards,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2016-08-25T14:52:55Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=822#p822</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=820#p820"/>
		<content type="html"><![CDATA[<p>Hi Adam,</p><p>did you go through the <a href="https://github.com/rexcontrols/REXexamples/blob/master/ODBC_database_connection/MySQL_simple_export/README.md" rel="nofollow">README.md</a> file which is part of the MySQL simple export example? There are some important prerequisites. The README file also contains link to <a href="https://www.rexcontrols.com/media/DOC/ENGLISH/DbDrv_ENG.pdf" rel="nofollow">Database driver documentation</a>. You will find configuration notes for ODBC interface instalation inside.</p><p>Hope it will help you.</p><p>Please let me know if you have any questions.</p><p>Cheers, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2016-08-25T13:22:11Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=820#p820</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=819#p819"/>
		<content type="html"><![CDATA[<p>Hi Tomas,</p><p>Thank you for replying. </p><p>As you guessed, the System log is showing a error &#039;unable to load module &#039;DbDrv&#039;, error = -108&#039; (attached zip file includes the full log). </p><p>Also as you presumed, my target device is a Raspberry Pi, and the &#039;rex-dbdrvt&#039; is listed as installed (attached zip file includes the full output of &#039;dpkg -l&#039;).</p><p>If you can think of a solution for me, I would be most grateful.</p><p>Cheers,</p><p>Adam</p><p><a href="https://www.rexygen.com/oldforum/img/members/71/ModuleErrorLogs.zip" rel="nofollow">ModuleErrorLogs.zip</a></p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2016-08-25T13:05:14Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=819#p819</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=818#p818"/>
		<content type="html"><![CDATA[<p>Hi Adam,</p><p>it seems that there is missing one of REX modules on your target device. Please, try to connect to your target device with RexView and go to a &quot;System log&quot; tab. There should be specified which REX module are you missing.<br />My guess is that you are missing rex-dbdrvt as you are trying to run one of database examples.</p><p>I presume that your target device is Raspberry Pi, am I right? If so, you can check all installed packages on your Raspberry with following command:</p><div class="codebox"><pre><code>dpkg -l</code></pre></div><p>Look for packages named &quot;rex-*&quot;.</p><p>Let me know what did you find and we will think of a solution for you.</p><p>Cheers, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2016-08-25T11:03:57Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=818#p818</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[REX Module error]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=817#p817"/>
		<content type="html"><![CDATA[<p>Trying to download the MySQL_simple_export example to my Pi, I get the error &#039;Connection to target device failed! Reason: REX Module error&#039;; see screenshot below</p><p><a href="https://www.rexygen.com/oldforum/img/members/71/REXModuleerror.jpg" rel="nofollow"><span class="postimg"><img src="https://www.rexygen.com/oldforum/img/members/71/mini_REXModuleerror.jpg" alt="mini_REXModuleerror.jpg" /></span></a></p><p>What have I missed, or is something not working?</p><p>Cheers,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2016-08-25T10:17:29Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=817#p817</id>
	</entry>
</feed>
