Yes, this is an error in this version which is already fixed in SVN.
Please define a cache folder. It should work then.
Sebastian
Dan1234 schrieb:
> Hi I'm probably missing something rearlly simple here, but I've no clue what
> it is....
>
> I'm trying to build my own custom.js file, but can not get it to work.
>
> My Enviroment-
> Installed Cygwin
> Unzipped Qooxdoo 0.61
> Successfully ran:
> make
> make source
> make clean
> make realclean
> make distclean
>
> Then from the frontend directory I tried to run the command:
>
> framework/tool/generator/generator.py --script-input framework/source/class
> \
> --generate-compiled-script --compiled-script-file custom.js
>
> As the most simple test. It keeps on failling with the following:
>
> Any help/ suggestions would be greatly appreciated.
>
> Cheers
>
> Dan
> ----------------------------------------------------------------------------------
> * Indexing files...
> * 278 files were found
> * Resolving dependencies...
> - Generating tokens for qx.ui.embed.LinkEmbed...
> raceback (most recent call last): File
> "framework/tool/generator/generator.py", line 749, in ?
> main()
> File "framework/tool/generator/generator.py", line 262, in main
> argparser(sys.argv[1:])
> File "framework/tool/generator/generator.py", line 246, in argparser
> (fileDb, moduleDb) = load(options)
> File "framework/tool/generator/generator.py", line 286, in load
> (fileDb, moduleDb) = loader.indexScriptInput(options)
> File
> "/home/BENNETTD/qooxdoo-0.6.1-sdk/frontend/framework/tool/generator/modules/loader.py",
> line 486, in indexScriptInput
> resolveAutoDeps(fileDb, options)
> File
> "/home/BENNETTD/qooxdoo-0.6.1-sdk/frontend/framework/tool/generator/modules/loader.py",
> line 236, in resolveAutoDeps
> fileTokens = getTokens(fileDb, fileId, options)
> File
> "/home/BENNETTD/qooxdoo-0.6.1-sdk/frontend/framework/tool/generator/modules/loader.py",
> line 143, in getTokens
> cachePath = os.path.join(filetool.normalize(options.cacheDirectory),
> fileId + "-tokens.pcl")
> File
> "/home/BENNETTD/qooxdoo-0.6.1-sdk/frontend/framework/tool/generator/modules/filetool.py",
> line 29, in normalize
> return os.path.normcase(os.path.normpath(filename))
> File "/usr/lib/python2.4/posixpath.py", line 378, in normpath
> initial_slashes = path.startswith('/')
> ttributeError: 'NoneType' object has no attribute 'startswith'
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel