[Eric] Can not compile resource

Detlev Offenbach detlev at die-offenbachs.de
Wed Jul 2 17:48:25 BST 2008


On Mittwoch, 2. Juli 2008, José David wrote:
> I have been using eric for more than a year now and everything runs fine
> but when i last updated here is what appens when i try to compile a
> resource file:
>
> Aviso:
>
> An unhandled exception occurred. Please report the problem using the
> error reporting dialog or via email to <eric4-bugs at die-offenbachs.de>. A
> log has been written to "/home/david/.eric4/eric4_error.log".
>
> Error information:
> ---------------------------------------------------------------------------
>----- 2008-07-02, 14:02:32
> ---------------------------------------------------------------------------
>----- <type 'exceptions.NameError'>:
> global name 'RCFilenameFormatPython' is not defined
> ---------------------------------------------------------------------------
>----- File
> "/usr/lib/python2.5/site-packages/eric4/Project/ProjectResourcesBrowser.py"
>, line 561, in __compileResource
> self.__compileQRC(fn)
> File
> "/usr/lib/python2.5/site-packages/eric4/Project/ProjectResourcesBrowser.py"
>, line 520, in __compileQRC
> self.compiledFile = os.path.join(dirname, RCFilenameFormatPython

That should be "self.RCFilenameFormatPython". Please change the code 
accordingly (4 occurrances).

Detlev

> -0,000000ilename)
>
> ---------------------------------------------------------------------------
>----- Version Numbers:
> Python 2.5.2
> Qt 4.4.0
> PyQt4 4.4.2
> sip 4.7.6
> QScintilla 2.2
> eric4 4.2-snapshot-20080628 (r2277)
>
> Platform: linux2
> 2.5.2 (r252:60911, May 28 2008, 08:35:32)
> [GCC 4.2.4 (Debian 4.2.4-1)]
>
> The strange is that it seems that RCFilenameFormatPython is declared.
> If i compile from a shell with pyrcc4 everything is good.
>
> Any ideas on why??
>
> Cheers,
>
> David
>
>
>
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric



-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the Eric mailing list