builder.py error = 'CSSCompiler' object has no attribute 'code'

You must Login before you can answer or comment on any questions.

Hi Guys, Getting this error when trying to build my project. Its just refusing to run and i cant see why??

[ERROR] Error: Traceback (most recent call last):
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/iphone/builder.py", line 881, in main
    asf.write(cssc.code)
AttributeError: 'CSSCompiler' object has no attribute 'code'
Any ideas?

— asked 1 year ago by adam kearsley
1 Comment
  • Missing from your question are a number of important pieces of information. I suggest you take a look at the Using Questions and Answers article, specifically the Q&A Question Checklist. The missing information is critical to reproducing problems in a test environment and often indicates other factors that cause the undesirable outcome you are experiencing.

    — commented 1 year ago by Stephen Feather

2 Answers

Another problem that can cause that error is a missing 'manifest' file. Restoring it from a backup fixed the error for me.

— answered 12 months ago by Wade S
answer permalink
1 Comment
  • If using a CVS tool like git or mercurial etc. make sure the manifest file is not missing from one branch or another when switching. I had 2 branches and 1 (for an unknown reason) was missing this manifest file.

    — commented 12 months ago by Matt Almutairi

Your Answer

Think you can help? Login to answer this question!