{"id":2625,"date":"2022-08-30T15:26:25","date_gmt":"2022-08-30T15:26:25","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/04\/problem-about-tidesdk-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:26:25","modified_gmt":"2022-08-30T15:26:25","slug":"problem-about-tidesdk-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-tidesdk-collection-of-common-programming-errors\/","title":{"rendered":"problem about tidesdk-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b33931350cfd071a1270dbff7511cc84?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nbuser<br \/>\nwindows tidesdk<br \/>\nI&#8217;m trying to package a TideSDK application to run from a DVD with no installation. I&#8217;m using TideSDK 1.3.3 Beta and TideSDK Developer 1.4.2 on Windows 7 x64. When I &#8220;Package with Runtime&#8221;, I get the following, as expected:packages\/win32\/bundle\/myApp.exe &#8211; a self-contained installer for the applicationpackages\/win32\/bundle\/myApp\/ &#8211; a directory containing the applicationWhen I move the directory myApp to an external hard drive, plug it into a different computer, and run myApp\/myApp.exe, it works<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/14b49a3b0be3fdb806c9daabd3065775?s=32&amp;d=identicon&amp;r=PG&amp;f=1\" \/><br \/>\nuser3026134<br \/>\njavascript native tidesdk<br \/>\nHas this happened to anyone? How to solve?Couldn&#8217;t load file:\/home\/familia\/.tidesdk\/TideSDK\/runtime\/1.3.1-beta\/libtide.so, error: libjpeg.so.62: cannot open shared object file: No such file or directory<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/dc5c27144fe63c00375ee47da00c5621?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJasonSmith<br \/>\nwindows linux osx phonegap tidesdk<br \/>\nI&#8217;m looking for a desktop publishing platform for Mac, Windows, and Linux that is closely tied to PhoneGap in terms of the concept. I know that there&#8217;s Titanium for Desktop (TideSDK?) but as far as I&#8217;ve used it before, it requires the end-users to download a big 70mb-ish runtime file once. What I liked about PhoneGap is that it doesn&#8217;t require any of that (it works out of the box). I&#8217;m looking for something similar, only, instead of being meant for the mobile development, it &#8216;s targeted at deskt<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5aa58baa21ae512b5d88cd27c6a3bd10?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nLuis Arriojas<br \/>\ntidesdk<br \/>\nI installed TideSDK and TideSDK Developer correctly in Ubuntu and Windows 7. I can run Developer, import Hello World project, can run the app and do a Package with Runtime. Followed the &#8220;Get Started With TideSDK&#8221; tutotial.The app generated can run without problems in my own system (Ubuntu or Windows 7, depends where it was compiled), but when I try to run it in a computer that doesn&#8217;t have TideSDK, it doesn&#8217;t run. Why?Do I need to install TideSDK in each computer where the app will run?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6d08230b27bc58cd918c8ebece95b0ac?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nVictor Zimmer<br \/>\ntidesdk<br \/>\nI just downloaded TideSDK and it looks great. Saw that TideKit is upcoming :)When I tried to start up their &#8220;Hello World&#8221; example it told me it had to install more packages. When downloading it hit what seems like to me a 404 error and it also got &#8220;no release found by that id&#8221; as response.I did wait a few hours before retrying, but it doesn&#8217;t seem to help..So I was wondering if wether or not it&#8217;s just me? Alternatively if anyone&#8217;s seen these errors before and what they did to resolve&#8230;Error: Pa<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3b1a3c7eb11abd99439c5b1b4b50b37f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmadth3<br \/>\ntidesdk<br \/>\nHow can I download a file and store it locally? I&#8217;ve searched the doc and google and couldn&#8217;t find an example of it.I tried this:this.copyRemote = function(path,path2){reader = Ti.Network.createHTTPClient();writer = Ti.Filesystem.getFile(path2);reader.open(&#8216;GET&#8217;,path);reader.receive(writer); }But Tidesdk crashes while trying to download the file, the last messages on console are:[12:42:39:647] [Ti.Network.HTTPClient] [Debug] Changing readyState from 0 to 1 for url:https:\/\/buttonpublish.com\/api\/i<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ad45edcb1e70f20aa6de6ca69ebe5219?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAshit Vora<br \/>\ntidesdk<br \/>\nI&#8217;m trying to use TideSDK to create a Accounting software for a client. The software will mainly do CRUD operations.I&#8217;m wondering which Database is shipped with TideSDK. Is it localStorage \/ SQLite? Is there a way to bundle any other Database?The reason I&#8217;m asking is, the software will store around 10 tables and each with approx 10K rows min (depends on user&#8217;s plan).What&#8217;s the best way to take regular backup so we don&#8217;t loose any data in case Database crashes?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/vQnj0.png?s=32&amp;g=1\" \/><br \/>\nThava Mani<br \/>\ntitanium tidesdk<br \/>\ni have installed tideSDK 1.3.1-beta on my machine File path is &#8220;user\/.tidesdk&#8221;.. then tried to install tideSDK developer 1.4.2 i got following error message.Couldn&#8217;t load file:\/home\/mareeswari\/TideSDK-Developer-1.4.2-linux-x86\/runtime\/1.3.1-beta\/libtide.so, error: \/usr\/lib\/libstdc++.so.6: version `GLIBCXX_3.4.15&#8242; not found (required by \/home\/mareeswari\/TideSDK-Developer-1.4.2-linux-x86\/runtime\/1.3.1-beta\/libtide.so)<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/44eaaa3783922a617281e96bfe3f5343?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsamanime<br \/>\nphp debugging tidesdk<br \/>\nI&#8217;ve started working in TideSDK. So far I like it, with the exception of one thing:If I get certain types of errors, it crashes and the console closes before I get a chance to read the output.I&#8217;m using the latest version of the TideSDK (1.3.1 beta) and TideSDK Developer (1.4.2). However, whenever I get certain types of errors, my app is just like &#8220;I give up&#8221; and closes immediately, before I get a chance to check with the console to determine what the error was. There also seems to be no log, and<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/55996fee316853fcf56441e9a0fc4129?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nprocek<br \/>\ntidesdk linuxmint mate<br \/>\nI work with openFileChooserDialog() in TideSDK:Ti.UI.openFileChooserDialog(callbackFunc, options); callbackFunc = function(filenames){ fileSelected = filenames[0];console.log(&#8216;&#8212;&#8216;);console.log(fileSelected);console.log(&#8216;&#8212;&#8216;); }; var options = { multiple: false, title: &#8220;Select files to open&#8230;&#8221;, types: [&#8216;txt&#8217;], typesDescription: &#8220;Documents&#8221;, path: Ti.Filesystem.getUserDirectory() };Everything is ok when i Choose file on my disk, but&#8230; I use Linux Mint 13 x64 Mate and I have &#8220;recent ope<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/dccede9615c63aa640bde76e3fad416f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJay Bhatt<br \/>\nphp tidesdk<br \/>\nI have a simple tidesdk program with php module which contains a simple form and a php file which handles this form. Everything works fine. But when I submit the form the program crashes and throws an exception which is listed below. I am running the program through tidesdk developer. Here&#8217;s the form.&lt;form action=&#8221;login.php&#8221;&gt;&lt;table style=&#8221;margin: 0 auto; width: 250px;&#8221;&gt;&lt;tr&gt;&lt;td style=&#8221;padding-top: 20px;&#8221;&gt;&lt;div class=&#8221;input-group margin-bottom-sm&#8221;&gt; &lt;span class=&#8221;inpu<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6108844429ce59a569a369bda74be6e5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nThesane<br \/>\npython-2.7 tidesdk<br \/>\nI am trying to hide source code for the application so I used py2exe to create executable file of the python code. Then I tried to use Ti.Process to get the data from this exe. I can see the data returned without a problem but process.isRunning() is always true. I need to wait until process.isRunning() is false so I can return proper data to caller function else the return value is undefined. var myScript = Ti.Process.createProcess({args:[Ti.API.application.resourcesPath + &#8216;\/mbtiles_cmd&#8217;,Ti.API<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/62888762baffb123570b068f99df4a35?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ncasoars<br \/>\ntidesdk<br \/>\nI want to use TideSDK developer with php script and follow getting start tutorial.When i launch a basic hello script with php module, application start but the debug screen show me this message :[Ti.Host] [Error] Could not load module (\/home\/casoars\/.tidesdk\/modules\/linux\/php\/1.3.1-beta\/libtidephp.so): &#8220;Error loading module (\/home\/casoars\/.tidesdk\/modules\/linux\/php\/1.3.1-beta\/libtidephp.so) : libgmp.so.3I have exactly the same message for libphp5.so module.And others php modules can&#8217;t be created<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/o8b6s.jpg?s=32&amp;g=1\" \/><br \/>\nInsane Coder<br \/>\njavascript html css tidesdk<br \/>\nI have developed a Windows application using TideSDK with HTML , CSS and Javascript.To give it a widget look I disappered its title bar.So I can&#8217;t drag it.The TideSDK documentation says &#8220;after disappearing title bars, you can drag window using its contents with javascript&#8221;.How can I drag the window with javascript selecting its components(tiles in my case)?Any tutorial or code as I found nothing on google with my search.My App looks like below:<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/100000813483304\/picture?type=large\" \/><br \/>\nSaiful Islam Cse<br \/>\nphp sqlite tidesdk<br \/>\nI&#8217;m a new user of Tide SDK , I am able to Use SQLITE on JS \/ Ti , But I&#8217;m Trying to Use Database from php , But i can&#8217;t do that , i search every where to get solution but i don&#8217;t have any soluton. I Tryed Following Code:&lt;?phpglobal $Ti;$desktop = &#8220;C:\\Users\\SAIFUL\\Desktop\\business\\businessApp\\Resources&#8221;;$db = new SQLite3($desktop . &#8220;\\customdatabase.db&#8221;);if($db){echo &#8220;Sucess !&lt;br&gt;&#8221;;}else{echo &#8220;Failed !&lt;br&gt;&#8221;;}sqlite_exec($db, &#8220;INSERT INTO Users (id, name) VALUES (&#8216;5&#8242;,&#8217;saiful&#8217;)&#8221;);?&amp;g<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/07123541fba3343f9ddb5876595b99a7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlex<br \/>\nphp ssh tidesdk<br \/>\nAre there any possibilities to connect to server via ssh using php in tidesdk. I&#8217;m trying to use$session = ssh2_connect($server, 22);But an error occurredFatal error &#8211; Call to undefined function ssh2_connect()<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2014-02-04 09:56:22. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>buser windows tidesdk I&#8217;m trying to package a TideSDK application to run from a DVD with no installation. I&#8217;m using TideSDK 1.3.3 Beta and TideSDK Developer 1.4.2 on Windows 7 x64. When I &#8220;Package with Runtime&#8221;, I get the following, as expected:packages\/win32\/bundle\/myApp.exe &#8211; a self-contained installer for the applicationpackages\/win32\/bundle\/myApp\/ &#8211; a directory containing the applicationWhen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2625","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2625"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2625\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}