Hmmm, sorry, I can't remove BeautifulSoup from epubview.py neither :)<br>It's used to do text to speach in epub files.<br><br>Gonzalo<br><br><div class="gmail_quote">On Mon, Jun 6, 2011 at 10:14 AM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org">gonzalo@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Rafael,<br>I can remove the use of BeautifulSoup in epubview.py,<br>but in jobs.py is used to search.<br>
It's strange you can't use it in sugar 0.88, because the import is in the initial <br>commit from Sayamindu when he added epub suppport, two years ago.<br>
<br>git show 9760c4c9<br><br>commit 9760c4c9acdf0ea1cf4c57ded8c65eb4390ca171<br>Author: Sayamindu Dasgupta <<a href="mailto:sayamindu@gmail.com" target="_blank">sayamindu@gmail.com</a>><br>Date: Tue Jul 21 01:14:46 2009 +0530<br>
<br> Added epubview from upstream<br><br>BeautifulSoup is used in GetBooks too.<br><font color="#888888"><br>Gonzalo</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Sat, Jun 4, 2011 at 7:22 PM, Rafael Ortiz <span dir="ltr"><<a href="mailto:rafael@activitycentral.com" target="_blank">rafael@activitycentral.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">removing BeautifulSoup imports that prevented launch,<br>
this regression can affect epubview.<br>
---<br>
epubview/epubview.py | 1 -<br>
epubview/jobs.py | 1 -<br>
2 files changed, 0 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/epubview/epubview.py b/epubview/epubview.py<br>
index 432c332..cec56c5 100644<br>
--- a/epubview/epubview.py<br>
+++ b/epubview/epubview.py<br>
@@ -22,7 +22,6 @@ import widgets<br>
import os.path<br>
import math<br>
import shutil<br>
-import BeautifulSoup<br>
<br>
from epub import _Epub<br>
from jobs import _JobPaginator as _Paginator<br>
diff --git a/epubview/jobs.py b/epubview/jobs.py<br>
index a0b6771..779b69c 100644<br>
--- a/epubview/jobs.py<br>
+++ b/epubview/jobs.py<br>
@@ -23,7 +23,6 @@ import cairo<br>
<br>
import math<br>
import os.path<br>
-import BeautifulSoup<br>
<br>
import epub<br>
<font color="#888888"><br>
--<br>
1.7.4.1<br>
<br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>