Re: [Repoze-dev] Example / Tutorial about Pyjamas + Repoze.BFG?
Is there working demo code with these two together? On Wed, Jul 15, 2009 at 6:01 PM, george hu wrote: > I'm wondering anybody can write an example or step-by-step work through on > how to setup these two things to work together? > > ___ > Repoze-dev mailing list > Repoze-dev@lists.repoze.org > http://lists.repoze.org/listinfo/repoze-dev > > -- SplashStart - Professional Websites. Starting Now. http://www.splashstart.com ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] Getting Started with repoze.bfg - installing repoze.shootout, lxml errors
Chris, Thanks, this is really helpful, I'm sure it will lower the barrier for a few newbies. On Wed, Jul 8, 2009 at 11:02 AM, Chris McDonough wrote: > On 7/8/09 9:23 AM, david bain wrote: > >> Okay, I needed libxslt-dev also. >> >> sudo apt-get install libxslt-dev libxml2-dev >> >> seems to have done it. This needs to be mentioned, preferably right next >> to the instructions for getting repoze.shootout and the other sample >> applications. >> >> Is 'python setup.py develop' the "correct" approach? >> > > Yes, usually into a virtualenv. I've added install instructions to the > shootout README.txt: > http://svn.repoze.org/repoze.shootout/trunk/README.txt > > - C > > > >> On Wed, Jul 8, 2009 at 8:05 AM, Wichert Akkerman > <mailto:wich...@wiggy.net>> wrote: >> >>On 7/8/09 2:07 PM, david bain wrote: >> >>I stuck at installing repoze.shootout. >>using python2.4, virtualenv --no-site-packages, and ubuntu with >>build-essentials. >> >> >>Can you try installing libxml2-dev as well? >> >>Wichert. >> >> >> >> >> -- >> SplashStart - Professional Websites. Starting Now. >> http://www.splashstart.com >> >> >> >> >> ___ >> Repoze-dev mailing list >> Repoze-dev@lists.repoze.org >> http://lists.repoze.org/listinfo/repoze-dev >> > > -- SplashStart - Professional Websites. Starting Now. http://www.splashstart.com ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] Getting Started with repoze.bfg - installing repoze.shootout, lxml errors
Okay, I needed libxslt-dev also. sudo apt-get install libxslt-dev libxml2-dev seems to have done it. This needs to be mentioned, preferably right next to the instructions for getting repoze.shootout and the other sample applications. Is 'python setup.py develop' the "correct" approach? On Wed, Jul 8, 2009 at 8:05 AM, Wichert Akkerman wrote: > On 7/8/09 2:07 PM, david bain wrote: > >> I stuck at installing repoze.shootout. >> using python2.4, virtualenv --no-site-packages, and ubuntu with >> build-essentials. >> > > Can you try installing libxml2-dev as well? > > Wichert. > -- SplashStart - Professional Websites. Starting Now. http://www.splashstart.com ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
[Repoze-dev] Getting Started with repoze.bfg - installing repoze.shootout, lxml errors
I stuck at installing repoze.shootout. using python2.4, virtualenv --no-site-packages, and ubuntu with build-essentials. I went through the repoze documentation and getting started was pretty manageable. then I tried to install a sample application. I checked out repoze.shootout and discovered there were a few gaps regarding information on installing an application. I took the following approach with repoze.shootout. 1. get dev packages for sqlite3 (sudo apt-get install libsqlite3-dev) 2. use virtualenv --no-site-packages and python2.4 3. use bin/python setup.py develop Running bin/python setup.py develop with my virtualenv activated gave me this traceback (looks like an lxml issue, but I'm not sure how best to fix it): snip ... erDictionaryContext’ has no member named ‘pushImpliedContextFromParser’ src/lxml/lxml.etree.c:143945: error: ‘struct __pyx_vtabstruct_4lxml_5etree__ParserDictionaryContext’ has no member named ‘pushImpliedContext’ src/lxml/lxml.etree.c:143946: error: ‘struct __pyx_vtabstruct_4lxml_5etree__ParserDictionaryContext’ has no member named ‘popImpliedContext’ src/lxml/lxml.etree.c:143960: error: ‘struct __pyx_vtabstruct_4lxml_5etree__FileReaderContext’ has no member named ‘_createParserInputBuffer’ src/lxml/lxml.etree.c:143960: error: ‘__pyx_f_4lxml_5etree_18_FileReaderContext__createParserInputBuffer’ undeclared (first use in this function) src/lxml/lxml.etree.c:143961: error: ‘struct __pyx_vtabstruct_4lxml_5etree__FileReaderContext’ has no member named ‘_createParserInput’ src/lxml/lxml.etree.c:143961: error: ‘__pyx_f_4lxml_5etree_18_FileReaderContext__createParserInput’ undeclared (first use in this function) src/lxml/lxml.etree.c:143962: error: ‘struct __pyx_vtabstruct_4lxml_5etree__FileReaderContext’ has no member named ‘_readDtd’ src/lxml/lxml.etree.c:143962: error: ‘__pyx_f_4lxml_5etree_18_FileReaderContext__readDtd’ undeclared (first use in this function) src/lxml/lxml.etree.c:143963: error: ‘struct __pyx_vtabstruct_4lxml_5etree__FileReaderContext’ has no member named ‘_readDoc’ src/lxml/lxml.etree.c:143963: error: ‘__pyx_f_4lxml_5etree_18_FileReaderContext__readDoc’ undeclared (first use in this function) src/lxml/lxml.etree.c:143964: error: ‘struct __pyx_vtabstruct_4lxml_5etree__FileReaderContext’ has no member named ‘copyToBuffer’ src/lxml/lxml.etree.c:144068: error: ‘struct __pyx_vtabstruct_4lxml_5etree__FilelikeWriter’ has no member named ‘_createOutputBuffer’ src/lxml/lxml.etree.c:144068: error: ‘__pyx_f_4lxml_5etree_15_FilelikeWriter__createOutputBuffer’ undeclared (first use in this function) src/lxml/lxml.etree.c:144069: error: ‘struct __pyx_vtabstruct_4lxml_5etree__FilelikeWriter’ has no member named ‘write’ src/lxml/lxml.etree.c:144070: error: ‘struct __pyx_vtabstruct_4lxml_5etree__FilelikeWriter’ has no member named ‘close’ src/lxml/lxml.etree.c:144338: error: ‘struct __pyx_vtabstruct_4lxml_5etree_XSLT’ has no member named ‘_run_transform’ src/lxml/lxml.etree.c:144338: error: ‘__pyx_f_4lxml_5etree_4XSLT__run_transform’ undeclared (first use in this function) src/lxml/lxml.etree.c:145283: error: ‘xmlParserVersion’ undeclared (first use in this function) src/lxml/lxml.etree.c:145472: error: ‘LIBXML_VERSION’ undeclared (first use in this function) src/lxml/lxml.etree.c:146381: error: ‘__pyx_v_4lxml_5etree___DEFAULT_ENTITY_LOADER’ undeclared (first use in this function) src/lxml/lxml.etree.c:146390: error: ‘__pyx_f_4lxml_5etree__local_resolver’ undeclared (first use in this function) src/lxml/lxml.etree.c:146399: error: ‘XML_PARSE_NOENT’ undeclared (first use in this function) src/lxml/lxml.etree.c:146399: error: ‘XML_PARSE_NOCDATA’ undeclared (first use in this function) src/lxml/lxml.etree.c:146399: error: invalid operands to binary | (have ‘struct PyMemberDef *’ and ‘struct PyMemberDef *’) src/lxml/lxml.etree.c:146399: error: ‘XML_PARSE_NONET’ undeclared (first use in this function) src/lxml/lxml.etree.c:146399: error: invalid operands to binary | (have ‘struct PyMemberDef *’ and ‘struct PyMemberDef *’) src/lxml/lxml.etree.c:146399: error: invalid operands to binary | (have ‘struct PyMemberDef *’ and ‘int’) src/lxml/lxml.etree.c:146699: error: ‘XML_PARSE_RECOVER’ undeclared (first use in this function) src/lxml/lxml.etree.c:146699: error: ‘HTML_PARSE_NONET’ undeclared (first use in this function) src/lxml/lxml.etree.c:146699: error: invalid operands to binary | (have ‘struct PyMemberDef *’ and ‘struct PyMemberDef *’) src/lxml/lxml.etree.c:146699: error: invalid operands to binary | (have ‘struct PyMemberDef *’ and ‘int’) src/lxml/lxml.etree.c:147253: error: ‘XML_XPATH_NUMBER_ERROR’ undeclared (first use in this function) src/lxml/lxml.etree.c:147264: error: ‘XML_XPATH_UNFINISHED_LITERAL_ERROR’ undeclared (first use in this function) src/lxml/lxml.etree.c:147275: error: ‘XML_XPATH_VARIABLE_REF_ERROR’ undeclared (first use in this function) src/lxml/lxml.etree.c:147286: error: ‘XML_XPATH_INVALID_PREDICATE_ERROR’ undeclared (first use in this function) src/lxml