sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
byte-compiling error
Lazy_Kent
#1 Print Post
Posted on 04-07-2010 15:03
Member

Posts: 3
Joined: 04.07.10

uniconvertor-1.1.5, openSUSE 11.1, 11.2, 11.3 i586

? ???????? ?????????? ??????? ??????:

Download source  Code
byte-compiling /usr/src/packages/BUILDROOT/uniconvertor-1.1.5-0.i386/usr/lib/python2.6/site-packages/uniconvertor/app/scripts/export_raster.py to export_raster.pyc
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/uniconvertor/app/scripts/export_raster.py', 40, 28, 'from sk1libs import imaging.Image, imaging.ImageChops\n'))



??? ????? ??????????
 
igor
#2 Print Post
Posted on 04-07-2010 18:30
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

Hi,

Just delete export_raster.py before compiling. The file is not used in UniConvertor. It's a subj for spec-file small patch.
Regards,

Igor Novikov
sK1 Project
 
Lazy_Kent
#3 Print Post
Posted on 04-07-2010 22:25
Member

Posts: 3
Joined: 04.07.10

Thanks.
Compiled successfully and works well in oS 11.1 i586. Not tested yet in oS 11.3 x86_64.

But I got rpmlint warning:
Download source  Code
I: Program is using implicit definitions of functions getting
   pointers or implemented by macros. These functions need to use their
   correct prototypes to allow correct argument passing on e.g. x86_64 .
     - Implicit memory/string functions need #include <string.h>.
     - Implicit *printf functions need #include <stdio.h>.
     - Implicit *printf functions need #include <stdio.h>.
     - Implicit *read* functions need #include <unistd.h>.
     - Implicit *recv* functions need #include <sys/socket.h>.
W: uniconvertor implicit-pointer-decl src/modules/skmod/curvelow.c:51



Should it be fixed?
Edited by Lazy_Kent on 04-07-2010 22:26
 
Lazy_Kent
#4 Print Post
Posted on 05-07-2010 07:28
Member

Posts: 3
Joined: 04.07.10

Tested and works in openSUSE 11.3 x86_64.
The only thing I worry about is a warning in my previous message.
 
Jump to Forum: