Thanks Ali !
Indeed this package is a big miss !

I've downloaded python-dev and some more packages and was able to
compile python-poppler
But when I enable pdftex preview plugin I've some error messages (see
below)

Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/optionsmanager/
optionsmanager.py", line 138, in on_service_combo__content_changed
    if not svc.servicename in self._service_pages:
AttributeError: 'NoneType' object has no attribute 'servicename'
Error: Couldn't open file '/home/tobias/studium/9.semester_ws_07_08/
parallele_verteilte_Dateisysteme/Ceph/ceph.pdf'
Traceback (most recent call last):
  File "/home/beaubert/PIDA-0.5.1/pida/services/plugins/plugins.py",
line 249, in on_installed_list__cell_edited
    success = self.svc.start_plugin(item.directory)
  File "/home/beaubert/PIDA-0.5.1/pida/services/plugins/plugins.py",
line 404, in start_plugin
    plugin = self.boss.start_plugin(plugin_path)
  File "/home/beaubert/PIDA-0.5.1/pida/core/boss.py", line 98, in
start_plugin
    return self._sm.start_plugin(plugin_path)
  File "/home/beaubert/PIDA-0.5.1/pida/core/servicemanager.py", line
162, in start_plugin
    plugin.start()
  File "/home/beaubert/.pida2/plugins/pdftex_preview/
pdftex_preview.py", line 193, in start
    self._view = PdfTexPreviewView(self)
  File "/home/beaubert/PIDA-0.5.1/pida/ui/views.py", line 119, in
__init__
    self.create_ui()
  File "/home/beaubert/.pida2/plugins/pdftex_preview/
pdftex_preview.py", line 78, in create_ui
    self.load_document(PDF_Filename)
  File "/home/beaubert/.pida2/plugins/pdftex_preview/
pdftex_preview.py", line 83, in load_document
    self.document = poppler.document_new_from_file(uri, None)
gobject.GError: Failed to load document from data (error 1)'

Traceback (most recent call last):
  File "/home/beaubert/.pida2/plugins/pdftex_preview/
pdftex_preview.py", line 152, in on_show_pdftex_preview
    self.svc.show_pdftex_preview()
  File "/home/beaubert/.pida2/plugins/pdftex_preview/
pdftex_preview.py", line 196, in show_pdftex_preview
    self.boss.cmd('window', 'add_view', paned='Plugin',
view=self._view)
AttributeError: 'PdfTexPreview' object has no attribute '_view'


What's wrong wwith my config ?
if someone as an idea ...

Any thank you Ali and Tobias for your help
Francois


On Jan 19, 2:44 pm, Ali Afshar <[EMAIL PROTECTED]> wrote:
> Francois wrote:
> > Tanks for your help Tobias !
>
> > I've just download poppler-python-0.6-experimental but after the ./
> > autogen.sh
> > I've got the following error:
>
> > checking for python extension module directory... ${exec_prefix}/lib/
> > python2.5/site-packages
> > checking for headers required to compile python extensions... not
> > found
> > configure: error: could not find Python headers
>
> > I'm sorry but I don't know what to do now, some python headers are
> > missing but which ones ?
> > Anyway if sombody can help me ...
>
> > Thanks
> > Francois
>
> Hi, you need python-dev package.
>
> > On Jan 19, 12:18 am, Tobias Eberle <[EMAIL PROTECTED]> wrote:
>
> >> Hi,
>
> >>> oh, I forgot to mention it :)
>
> >> I also forgot to mention that the plugin uses "rubber" to compile the
> >> pdf. In Ubuntu you can install it as a package. Otherwise you can change
> >> the corresponding source line to use pdftex directly.
>
> >> Best wishes,
>
> >> Tobias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PIDA" group.
 To post to this group, send email to pida@googlegroups.com
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/pida?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to