Details

      Description

      {html}<div><p><strong>Problem</strong></p>
      <p>When you build a module from Titanium.py the build.py file that
      is created is not finding the LICENSE file.</p>
      <p><strong>Error</strong></p>
      <pre>
      <code>Traceback (most recent call last):
      File "/mymodule/build.py", line 187, in <module>
      validate_license()
      File "/mymodule/build.py", line 99, in validate_license
      c = open('LICENSE').read()
      IOError: [Errno 2] No such file or directory: 'LICENSE'</code>
      </pre>
      <p><strong>Suggested Fix</strong></p>
      <p>Modify lines 99-100 to:<br></p>
      <pre>
      <code> path = os.path.join(cwd,'LICENSE')
      x = open(path)
      c = x.read()</code>
      </pre>
      <p><strong>Ticket Reference</strong></p>
      <p><a href=
      "http://developer.appcelerator.com/helpdesk/view/76398">http://developer.appcelerator.com/helpdesk/view/76398</a></p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              rseagraves Reggie Seagraves
              Reporter:
              aleard Alan Leard
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-2872
                  Sync status:
                  ERROR
                  Last sent:

                  Git Source Code