Arpaxad / lightlang

Automatically exported from code.google.com/p/lightlang
0 stars 0 forks source link

Some python issues #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
+---------------------------------------------------------------------+
  Default config      : normal
  Audio player        : play
  prefix              : /usr
  exec_prefix         : /usr
  bindir              : /usr/bin
  libdir              : /usr/lib
  datarootdir         : /usr/share
  mandir              : /usr/share/man
  docdir              : /usr/share/doc/
  Qt translations dir :
+---------------------------------------------------------------------+
  CFLAGS              : -g -O2 --pedantic --std=c9x -Wall
  GUI support         : yes
+---------------------------------------------------------------------+
  python-xlib version : 0.15rc1
  Qt4 version         : 4.6.1
  PyQt4 version       : 4.7.3
+---------------------------------------------------------------------+
  OK. Type "make" to compile the package.
+---------------------------------------------------------------------+
[root@churin lightlang]# make
+---------------------------------------------------------------------+
 Building LightLang...
+---------------------------------------------------------------------+
make -C apps
make[1]: Entering directory `/root/build/lightlang-read-
only/lightlang/apps'
make -C sl
make[2]: Entering directory `/root/build/lightlang-read-
only/lightlang/apps/sl'
/usr/bin/gcc  -o sl src/help.o src/linear_index.o src/main.o 
src/managed_search.o src/manager.o src/options.o src/search.o 
src/search_output.o src/settings.o src/string.o
make[2]: Leaving directory `/root/build/lightlang-read-
only/lightlang/apps/sl'
make -C llrepo
make[2]: Entering directory `/root/build/lightlang-read-
only/lightlang/apps/llrepo'
cd src && for file in `/bin/ls *.py`; do \
                /usr/local/bin/python -c 'import sys, py_compile; 
py_compile.compile(sys.argv[1])' $file; \
        done
  File "llrepo.py", line 86
    return ( winsize_struct_unpacked[1] if winsize_struct_unpacked[1] > 80 
else 80 )
                                         ^
SyntaxError: invalid syntax
/bin/cp -f src/llrepo.py llrepo
/bin/chmod +x llrepo
make[2]: Leaving directory `/root/build/lightlang-read-
only/lightlang/apps/llrepo'
/usr/bin/test yes = "yes" && make -C xsl
make[2]: Entering directory `/root/build/lightlang-read-
only/lightlang/apps/xsl'
cd src/pyqt4 && for file in `/bin/ls *.py`; do \
                /usr/local/bin/python -c 'import sys, py_compile; 
py_compile.compile(sys.argv[1])' $file; \
        done
  File "DictsListWidget.py", line 89
    dict_state = ( Qt.Qt.Checked if self.item_code_regexp.cap(1).toInt()[0] 
== 1 else Qt.Qt.Unchecked )
                                  ^
SyntaxError: invalid syntax
  File "Settings.py", line 55
    return ( user_settings_file_path.left(index) if index >= 0 else 
Qt.QString() )
                                                  ^
SyntaxError: invalid syntax
  File "SlSearchPanel.py", line 166
    word = ( self.line_edit.text().simplified() if word == None else 
word.simplified() )
                                                 ^
SyntaxError: invalid syntax
  File "TabbedTranslateBrowser.py", line 131
    index = ( self.tab_widget.currentIndex() if index < 0 else index )
                                              ^
SyntaxError: invalid syntax
  File "TextSearchFrame.py", line 118
    self.line_edit.setPalette(self.line_edit_default_palette if found_flag 
else self.line_edit_red_alert_palette)
                                                              ^
SyntaxError: invalid syntax
  File "UserStyleCssCollection.py", line 166
    DictHeaderFontBoldFlagObject = ( True if css_option_value == "bold" 
else False )
                                           ^
SyntaxError: invalid syntax
/bin/cp -f src/pyqt4/xsl.py xsl
/bin/chmod +x xsl
make[2]: Leaving directory `/root/build/lightlang-read-
only/lightlang/apps/xsl'
make[1]: Leaving directory `/root/build/lightlang-read-only/lightlang/apps'
make -C resources
make[1]: Entering directory `/root/build/lightlang-read-
only/lightlang/resources'
make -C dicts
make[2]: Entering directory `/root/build/lightlang-read-
only/lightlang/resources/dicts'
cd src && for file in `/bin/ls *.??-??`; do \
                ../../apps/sl/sl --print-index $file 1> /tmp/tmpdict && \
                /bin/cat $file 1>> /tmp/tmpdict && \
                ../../apps/sl/sl --print-index /tmp/tmpdict 1> 
dicts/${file##src/} && \
                /bin/cat $file 1>> dicts/${file##src/}; \
        done
/bin/ls: *.??-??: No such file or directory
/bin/rm -f /tmp/tmpdict
make[2]: Leaving directory `/root/build/lightlang-read-
only/lightlang/resources/dicts'
make[1]: Leaving directory `/root/build/lightlang-read-
only/lightlang/resources'
+---------------------------------------------------------------------+
 OK. Type "make install" to install.
+---------------------------------------------------------------------+

Original issue reported on code.google.com by differ...@gmail.com on 17 May 2010 at 2:27

GoogleCodeExporter commented 9 years ago
What version of python?

Original comment by mdevaev@gmail.com on 8 Jun 2010 at 2:13

GoogleCodeExporter commented 9 years ago

Original comment by mdevaev@gmail.com on 27 Jul 2010 at 2:10

GoogleCodeExporter commented 9 years ago
Python is too old

Original comment by mdevaev@gmail.com on 27 Jul 2010 at 2:11