readthedocs / readthedocs.org

The source code that powers readthedocs.org
https://readthedocs.org/
MIT License
8.03k stars 3.58k forks source link

pdf problem #295

Closed phalcon closed 11 years ago

phalcon commented 11 years ago

Hi, after build the pdf version I'm getting the following log:

Running Sphinx v1.1.2
loading translations [en]... locale not available
loading pickled environment... done
building [latex]: all documents
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
processing PhalconDocumentation.tex... index reference/motivation reference/benchmark reference/benchmark/hello-world reference/benchmark/micro reference/install reference/xampp reference/wamp reference/nginx reference/tutorial reference/tutorial-invo reference/tutorial-rest reference/di reference/mvc reference/controllers reference/models reference/phql reference/odm reference/views reference/tags reference/volt reference/applications reference/routing reference/dispatching reference/micro reference/namespaces reference/events reference/request reference/response reference/url reference/flash reference/session reference/filter reference/config reference/pagination reference/cache reference/acl reference/translate reference/loader reference/logging reference/cli reference/db reference/intl reference/migrations reference/debug reference/tools reference/wintools reference/mactools reference/linuxtools api/index api/Phalcon_Acl api/Phalcon_Acl_Adapter_Memory api/Phalcon_Acl_Exception api/Phalcon_Acl_Resource api/Phalcon_Acl_Role api/Phalcon_CLI_Console api/Phalcon_CLI_Console_Exception api/Phalcon_CLI_Dispatcher api/Phalcon_CLI_Dispatcher_Exception api/Phalcon_CLI_Router api/Phalcon_CLI_Router_Exception api/Phalcon_CLI_Task api/Phalcon_Cache_Backend api/Phalcon_Cache_Backend_Apc api/Phalcon_Cache_Backend_File api/Phalcon_Cache_Backend_Memcache api/Phalcon_Cache_Backend_Mongo api/Phalcon_Cache_Exception api/Phalcon_Cache_Frontend_Base64 api/Phalcon_Cache_Frontend_Data api/Phalcon_Cache_Frontend_None api/Phalcon_Cache_Frontend_Output api/Phalcon_Config api/Phalcon_Config_Adapter_Ini api/Phalcon_Config_Exception api/Phalcon_DI api/Phalcon_DI_Exception api/Phalcon_DI_FactoryDefault api/Phalcon_DI_FactoryDefault_CLI api/Phalcon_DI_Injectable api/Phalcon_Db api/Phalcon_Db_Adapter_Pdo api/Phalcon_Db_Adapter_Pdo_Mysql api/Phalcon_Db_Adapter_Pdo_Postgresql api/Phalcon_Db_Adapter_Pdo_Sqlite api/Phalcon_Db_Column api/Phalcon_Db_Dialect api/Phalcon_Db_Dialect_Mysql api/Phalcon_Db_Dialect_Postgresql api/Phalcon_Db_Dialect_Sqlite api/Phalcon_Db_Exception api/Phalcon_Db_Index api/Phalcon_Db_Profiler api/Phalcon_Db_Profiler_Item api/Phalcon_Db_RawValue api/Phalcon_Db_Reference api/Phalcon_Db_Result_Pdo api/Phalcon_Dispatcher api/Phalcon_Escaper api/Phalcon_Escaper_Exception api/Phalcon_Events_Event api/Phalcon_Events_Exception api/Phalcon_Events_Manager api/Phalcon_Exception api/Phalcon_Filter api/Phalcon_Filter_Exception api/Phalcon_Flash api/Phalcon_Flash_Direct api/Phalcon_Flash_Exception api/Phalcon_Flash_Session api/Phalcon_Http_Request api/Phalcon_Http_Request_Exception api/Phalcon_Http_Request_File api/Phalcon_Http_Response api/Phalcon_Http_Response_Exception api/Phalcon_Http_Response_Headers api/Phalcon_Loader api/Phalcon_Loader_Exception api/Phalcon_Logger api/Phalcon_Logger_Adapter_File api/Phalcon_Logger_Exception api/Phalcon_Logger_Item api/Phalcon_Mvc_Application api/Phalcon_Mvc_Application_Exception api/Phalcon_Mvc_Collection api/Phalcon_Mvc_Collection_Exception api/Phalcon_Mvc_Collection_Manager api/Phalcon_Mvc_Controller api/Phalcon_Mvc_Dispatcher api/Phalcon_Mvc_Dispatcher_Exception api/Phalcon_Mvc_Micro api/Phalcon_Mvc_Micro_Exception api/Phalcon_Mvc_Model api/Phalcon_Mvc_Model_Criteria api/Phalcon_Mvc_Model_Exception api/Phalcon_Mvc_Model_Manager api/Phalcon_Mvc_Model_Message api/Phalcon_Mvc_Model_MetaData api/Phalcon_Mvc_Model_MetaData_Apc api/Phalcon_Mvc_Model_MetaData_Files api/Phalcon_Mvc_Model_MetaData_Memory api/Phalcon_Mvc_Model_MetaData_Session api/Phalcon_Mvc_Model_Query api/Phalcon_Mvc_Model_Query_Lang api/Phalcon_Mvc_Model_Query_Status api/Phalcon_Mvc_Model_Resultset api/Phalcon_Mvc_Model_Resultset_Complex api/Phalcon_Mvc_Model_Resultset_Simple api/Phalcon_Mvc_Model_Row api/Phalcon_Mvc_Model_Transaction api/Phalcon_Mvc_Model_Transaction_Exception api/Phalcon_Mvc_Model_Transaction_Failed api/Phalcon_Mvc_Model_Transaction_Manager api/Phalcon_Mvc_Model_Validator api/Phalcon_Mvc_Model_Validator_Email api/Phalcon_Mvc_Model_Validator_Exclusionin api/Phalcon_Mvc_Model_Validator_Inclusionin api/Phalcon_Mvc_Model_Validator_Numericality api/Phalcon_Mvc_Model_Validator_PresenceOf api/Phalcon_Mvc_Model_Validator_Regex api/Phalcon_Mvc_Model_Validator_StringLength api/Phalcon_Mvc_Model_Validator_Uniqueness api/Phalcon_Mvc_Router api/Phalcon_Mvc_Router_Exception api/Phalcon_Mvc_Router_Route api/Phalcon_Mvc_Url api/Phalcon_Mvc_Url_Exception api/Phalcon_Mvc_User_Component api/Phalcon_Mvc_User_Module api/Phalcon_Mvc_User_Plugin api/Phalcon_Mvc_View api/Phalcon_Mvc_View_Engine api/Phalcon_Mvc_View_Engine_Php api/Phalcon_Mvc_View_Engine_Volt api/Phalcon_Mvc_View_Engine_Volt_Compiler api/Phalcon_Mvc_View_Exception api/Phalcon_Paginator_Adapter_Model api/Phalcon_Paginator_Adapter_NativeArray api/Phalcon_Paginator_Exception api/Phalcon_Session api/Phalcon_Session_Adapter_Files api/Phalcon_Session_Bag api/Phalcon_Session_Exception api/Phalcon_Tag api/Phalcon_Tag_Exception api/Phalcon_Tag_Select api/Phalcon_Text api/Phalcon_Translate api/Phalcon_Translate_Adapter_NativeArray api/Phalcon_Translate_Exception api/Phalcon_Version reference/license 
resolving references...
writing... done
copying images... reference/../_static/img/views-1.png reference/../_static/img/xampp-2.png reference/../_static/img/xampp-5.png reference/../_static/img/xampp-7.png reference/../_static/img/xampp-6.png reference/../_static/img/mac-3.png reference/../_static/img/migrations-5.png reference/../_static/img/migrations-4.png reference/../_static/img/migrations-1.png reference/../_static/img/mac-5.png reference/../_static/img/bench-4.png reference/../_static/img/wamp-3.png reference/../_static/img/wamp-2.png reference/../_static/img/path-3.png reference/../_static/img/tools-10.png reference/../_static/img/tools-5.png reference/../_static/img/xampp-1.png reference/../_static/img/xampp-3.png reference/../_static/img/linux-1.png reference/../_static/img/linux-2.png reference/../_static/img/invo-1.png reference/../_static/img/migrations-2.png reference/../_static/img/wamp-4.png reference/../_static/img/tools-9.png reference/../_static/img/bench-5.png reference/../_static/img/path-2.png reference/../_static/img/path-1.png reference/../_static/img/path-0.png reference/../_static/img/tools-6.png reference/../_static/img/tutorial-1.png reference/../_static/img/tutorial-2.png reference/../_static/img/tutorial-3.png reference/../_static/img/mac-1.png reference/../_static/img/mac-4.png reference/../_static/img/path-01.png reference/../_static/img/tools-12.png reference/../_static/img/sql.png reference/../_static/img/tools-2.png reference/../_static/img/tools-3.png reference/../_static/img/path-6.png reference/../_static/img/path-5.png reference/../_static/img/path-4.png reference/../_static/img/tools-11.png reference/../_static/img/invo-2.png reference/../_static/img/xampp-4.png reference/../_static/img/mac-2.png reference/../_static/img/migrations-3.png reference/../_static/img/tools-7.png reference/../_static/img/wamp-1.png reference/../_static/img/tools-4.png reference/../_static/img/tutorial-4.png reference/../_static/img/tools-1.png reference/../_static/img/path-7.png
copying TeX support files... done
build succeeded.

but the pdf build is always failing, can you help us please?

zzzeek commented 11 years ago

I'm about to take down all the PDF links for SQLAlchemy, as PDF generation on RTD is almost useless. My PDFs are stuck on old versions, even doing a full wipe of my environment and rebuild is not working. PDF gen creates a ton of warning and errors, and RTD should really be looking to see, "hey new pdf file", and that's it - ignore all the alarms and bells. Copy the file that's there and is newer, always. A naming scheme that takes tag/branch into account would be nice too.

I noticed that Pyramid has the same issue in their builds. I've tried emailing the librelist list and it appears my emails aren't being delivered.

phalcon commented 11 years ago

I finally figured out the problem with the pdf generation, some non-printable characters were producing conflicts in LaTex.

zzzeek commented 11 years ago

PDF builds are still failing.

https://readthedocs.org/builds/sqlalchemy/334374/

Making output directory...

Exception occurred: File "/home/docs/checkouts/readthedocs.org/user_builds/sqlalchemy/envs/rel_0_8/local/lib/python2.7/site-packages/sphinx/builders/latex.py", line 50, in get_target_uri raise NoUri NoUri The full traceback has been saved in /tmp/sphinx-err-owt72s.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. Either send bugs to the mailing list at http://groups.google.com/group/sphinx-dev/, or report them in the tracker at http://bitbucket.org/birkenfeld/sphinx/issues/. Thanks

zzzeek commented 11 years ago

reopened at #296 since I cant reopen this.