Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

TitaniumDesktop Build 1.2.1 -> cant make MAC or Windows packages

Hey i'am trying to export my app to windows and mac clients, it worked before but now i get the error:

Packaging failed with message: 'NoneType' object has no attribute 'rfind

it is somehow related to the contents of my Resources folder…. perhaps related to dojo/dijit/dojox (before i added this i could export to win and mac).

Any hints? suggestions?

— asked December 6th 2010 by Christian Holzberger
  • mac
  • win32
  • The exact thing happens to me when I try to package for Mac. Packaging for Windows and Linux work well.

    — commented February 12th 2011 by Near Privman
  • I have the same problem. When set License back to orig it packaged fine. Any work around for being able to include a license agreement with your app?

    — commented March 22nd 2011 by General Usage
  • I have the same problem, no matter which license is there…

    — commented May 31st 2011 by Federico Severi
  • Have the same problem, default license. This is friggin killing me.

    — commented August 2nd 2011 by Ray Wang
  • There are other questions about this same problem. Some possibilities include problems when they change the default logo, problems with non-ASCII characters in the LICENSE.txt, and problems when they use a number like ".8.1" or "7" (instead of "0.8.1" or "7.0").

    — commented October 30th 2011 by Trent Larson

7 Answers

  • and its still valid with 1.2.2

    — answered December 13th 2010 by Christian Holzberger
  • Well, I really need to build a Windows version of my app (the Mac version builds fine). I doubt it something I'm doing, because the app runs under Windows just fine (although it could be I guess…). :P

    Anyway, I've submitted a ticket for this, just FWIW: http://goo.gl/GV10T

    — answered December 16th 2010 by Joshua Pruitt
  • I had this same problem trying to build the Mac package. Figured out my issue was to do with the custom app icon I was using. I opened it in photoshop, resaved it and now it compiles for Macs just fine. Looks like it has issues with some types of PNG files.

    Hope that helps!

    — answered July 7th 2011 by David Rugendyke
  • You need to check in 2 specific places:

    1. Ensure that your license.txt file contains NO special characters
    2. Your version number needs to have a . in it, so version "7.0" will work but version "7" wont [atleast not when building on Windows,in my experience]. I hope this helps someone!
    — answered December 26th 2011 by Gaurav DCosta
  • I'm getting the same thing now. Dammit.

    — answered December 13th 2010 by Joshua Pruitt
  • When I change my license.txt, i get the same message. But when i take the default, it works…

    — answered February 9th 2011 by René Kaul
  • Same problem here with the Mac version. Error is:
    "Packaging failed with message: 'NoneType' object has no attribute 'rfind'"
    The Linux and Windows versions build ok. That is for Titanium Studio Beta. (bump)

    — answered April 13th 2011 by Christian Tzurcanu
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.