> > I got some problems when upgrading:
> > 
> > --------------------------------------------------------------------
> > 1. Inconsistent image names?
> > 
> > I was using "important.png" before, and browsed through the icons 
> > to find a suitable replacement. I noticed that in 
> CrystalClear/32/status there is dialog-warning.png, but in the other 
> sizes it is defined as dialog-error.png. 
> > Also, the 64 and 128 images appear to be the same - just marginally 
> > bigger than the 48 image.

My mistake on the image size - they are in fact correct.

> The major priority for the icon themes in qooxdoo is that all 
> available icons are actually included in all the themes which comes 
> with qooxdoo. <snip>

OK.

> > --------------------------------------------------------------------
> > 2. qooxdoo files not found?
> > 
> > When upgrading, I got loads of messages like:
> > 
> >     * Error: Couldn't find required file: qx.OO
> >     * Error: Couldn't find required file: 
> > qx.ui.layout.HorizontalBoxLayout
> > 
> > Why would that be? My command line was:
> > 
> > $ ../../Widgets/qooxdoo_source/frontend/framework/tool/generator.py 
> > --class-path source/class --migrate-source --migration-target 0.6.5
> 
> It seems that there is something wrong with your includer or build. 
> qx.OO is a integral part of qooxdoo. Maybe the whole qooxdoo could 
> not be loaded. Please double check if you have made a "make" after 
> the migration. If this does not help, try to execute a "make 
> distclean" first.

I have done many makes after the migration and they're all OK. Actually, why 
does the migration need to find the original qooxdoo files? There is no command 
line parameter for the path - so why should it be able to?

> > --------------------------------------------------------------------
> > 3. Malformed upgrade instruction?
> > 
> > Also, in the source update I got:
> > 
> >   * Searching for info expression data...
> >     - Number of info files: 3
> >     - Compiling expressions...
> >       - 01-mime.dat
> >         - Malformed entry: (?<!type = 
> > )(?<!type=)[\"\']text\/javascript[\"\']=Be
> > tter use qx.util.Mime.JAVASCRIPT (Please ignore for <script> tags)
> > 
> > Looks like a malformed upgrade instruction.
> 
> I don't understand what you mean with malformed in this case. This is 
> just a warning that a part of your code could not be migrated 
> automatically.

"Malformed" refers to the actual output of the migration script - it's in 
Migrator.py, line 32, and appears to refer to an upgrade instruction which is 
in the wrong format. The problem is that the upgrade line (which is in 
tool/migration/0.6.5/info/01-mime.dat) is not correct as it has too many "=" 
signs.

This has nothing to do with my code - it's your code.

> > --------------------------------------------------------------------
> > 4. Debugging output when updating?
> > 
> > And, then when advising of an update:
> > 
> >     - abling.CApplication
> >       - line 18 : 
> > ((?<!actions)(?<!apps)(?<!categories)(?<!devices)(?<!mimetypes
> > )(?<!places)(?<!status)[/\"\'\(]important\.png[\"\'\)])
> >         The image 'important.png' is no longer supported! Try to 
> > use a different icon.
> > 
> > What is the entry under "- line 18 :"? Looks like debugging output.
> 
> Ahhh OK. I think I finally understood what you mean. :) This line is 
> the regular expression which matched your code. One part of the 
> automatic migration is a regexp based tool to replace old code with 
> new code. In the other part regular expressions are used to find old 
> parts, which could not be replaced automatically. This is true in 
> this case for example.

Yes, exactly, that's the way it works. But I don't want to see the regular 
expression when I'm looking at the program output. Why not just change line 79 
of migrator.py from:

        print "      - line %s : (%s)" % (line, patchEntry["orig"])
        
to

        print "      - line %s :" % line
        
I can get the regular expression that matched by using --verbose mode. I don't 
want it in normal mode - it just makes the output more difficult to read.
        
Hugh

-------------------------------------------------------------------------
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

Reply via email to