Community Questions & Answers

django + mysql + titanium

hi i have a project with con python/django but is not works, show me the error: "Error loading MySQLdb module: No module named MySQLdb" in the inspector, please help

Python error while distributing to App Store

When deploying the app to the iTunes App store I get the error below. The strange thing is that this error is not shown when compiling to the simulator. Any ideas where I can start the debugging? Just updated to the latest version of Titanium Studio and...

"Python: no user"?

Suddenly this morning, I started receiving an error that says "Python: no user". I haven't rebooted, and I'm logged in on the webpage I noticed the SDK has somehow changed to "loading" instead of "3.1" (iPhone), and there is...

Titanium desktop crashes

I am getting crashes from my appcelerator desktop instance for no discernable reason. System: Mac OS X Lion Titanium Desktop version: 1.2.RC4 Here's my crashlog, any help would be great: Date/Time: 2011-11-23 18:10:09.210 -0500 OS Version: ...

Python 3?

Hi, I am using the latest version of both the SDK and Studio along with xcode 4. A client has given me an app to fix for them but i get an error in titanium studio saying ~~~ interpreter: Python 3 not found ~~~ I am using a mac and have installed python...

Call PHP/Python from Worker

Hi there, I am evaluating Titanium Desktop for a multiplatform app. I am trying to figure out if I can call PHP or Python code scripts from a Worker execution code (in the onMessage function inside the js file specified in the createWorker method). Does...

Threads with Python in Desktop

Does Titanium Desktop support threads at all that can access the GUI? For example, I have a python program that I want to be able to update when it receives notifications. I can't seem to get it to work as it either stalls if I use a standard loop or if I...

How to import python file

Hi friends. I'm new on Titanium Platform. I'm using the free version, only for tests. And I have a question... I'm a python developer. In some tutorials, I'm seeing that the import is like this: ~~~ < script type="text/python"...

Titanium Desktop, use python 2.6

I'm on Lion, and looking at [http://developer.appcelerator.com/doc/desktop/python](http://developer.appcelerator.com/doc/desktop/python) I assume Desktop should use python 2.6, but it doesn't.. How can I build the app so that is uses the Titanium included...

Using python scripts

I have a very very basic project with just a few lines of code just to get my head around using python methods inside my project. So I have this index.html page in my Resources dir with the following...

Python Question

I'm having a problem where the emulator doesn't load because it is being called with a blank in the -sdcard parameter (my user name has a space). The fix I found in the Q&A is to change users\Gary...

Python error

Hello, Im trying to install this program but i have a error, the error appears in red after the klik on the emulator. C:\Program Files\Appcelerator\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1306357174\python\python.exe: can't...

Building Issue

I'm using 1.7.1 mobile SDK with Titanium Studio... When I'm running my app for iPhone i get this [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/iphone/builder.py", line...

Python Script Source?

I'm having trouble with what seems like something REALLY basic. My `index.html` has... ~~~ <input type="submit" id="button" value="Click Me" \onclick="doAlert()" /> ~~~ (ignore the \ before `onclick`, it's...

Client-side python with appcelerator

It is written that appcelerator provides "script type=text/python" tag, where I can code in python. But if I include this tag in my website, how will it work? I mean, browsers can only understand javascript, so in order for it to work user must...

Desktop Using C++

Hey, So I just figured this out today and thought I would share my findings. I've been trying to figure out how to create my own c++ modules and use them within desktop for a while. Behold, python + ctypes. You can create your own dlls, or use shared dlls...

Application doesnt run - ugly code

Hi. Im beginner. My problemo is in Titanium 1.2.1. I read article from this site: http://developer.appcelerator.com/doc/desktop/get_started - step by step, but i have a problem. In section "Verify your new application" when I go to "Test...

Create a window using python

I am trying to create a python function that will create a window at the moment i have ~~~ from Tkinter import * def confirm (message): root = Tk() root.title='' root.geometry=("200x200") ~~~ which throws " 'module' object has no...

Python version update?

Any plans to update the version of python from 2.5/2.6? I couldn't find any roadmap info. Also, if anyone knows how to build titanium desktop with a fresher version, I'd be interested that.

developing with python...

On a MAC, can I use the Python 3.1 versions? Your docs seem to revolve around using 2.5 versions, and I dont think Python 3.x is backward compatible. A recent version of Python (>= 2.5) on your PATH or configured with PYTHONHOME. * In Windows,...

Showing 1-50 of 66 1 2