PDF-shuffler does'nt work

Non-LTS (non-Marathon) related topics
Ответить
GiuX
Сообщения: 68
Зарегистрирован: 29 окт 2012, 01:31
Operating system: RM2012.0lts

PDF-shuffler does'nt work

Сообщение GiuX » 05 фев 2013, 21:13

Hello,
I've seen that PDF-shuffler pachet doesn't work, may you correct it???

d_uragan
Сообщения: 505
Зарегистрирован: 23 ноя 2011, 21:27

Re: PDF-shuffler does'nt work

Сообщение d_uragan » 08 фев 2013, 16:07

Hm, what articular problems do you face? And what system do you use - Desktop Fresh 2012?

GiuX
Сообщения: 68
Зарегистрирован: 29 окт 2012, 01:31
Operating system: RM2012.0lts

Re: PDF-shuffler does'nt work

Сообщение GiuX » 08 фев 2013, 16:17

I've resolved installing http://abf.rosalinux.ru/downloads/mib_t ... x86_64.rpm because i've done a double request of packet...
I'm so sorry but it needed for a exam...

Аватара пользователя
dareksmok
Сообщения: 301
Зарегистрирован: 27 июн 2013, 23:08
Operating system: ROSA Fresh R10 MATE - 64 bit
i5-4570 CPU @ 3.20GHz
NVIDIA GeForce GT 1030
8 GB RAM

Re: PDF-shuffler does'nt work

Сообщение dareksmok » 15 июл 2013, 01:23

ROSA 2012 MARATHON GNOME i586

installation of repositories ROSA

[daro@localhost ~]$ su
Password:
[root@localhost daro]# urpmi pdfshuffler
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Dist DEpoch Arch
(medium "contrib (LTS2012.0-3)")
pdfshuffler 0.5.1 2 rosa> 2012.0 noarch

(medium "contrib updates (LTS2012.0-4)")
python-pypdf 1.13 1 rosa> 2012.0 noarch
python-pypoppler 0.12.1 4 rosa> 2012.0 i586
360KB of additional disk space will be used.
187KB of packages will be retrieved.
Proceed with the installation of the 3 packages? (Y/n) y


$MIRRORLIST: media/contrib/release/pdfshuffler-0.5.1-2-rosa.lts2012.0.noarch.rpm
$MIRRORLIST: media/contrib/updates/python-pypoppler-0.12.1-4-rosa.lts2012.0.i586.rpm
$MIRRORLIST: media/contrib/updates/python-pypdf-1.13-1-rosa.lts2012.0.noarch.rpm
installing python-pypoppler-0.12.1-4-rosa.lts2012.0.i586.rpm python-pypdf-1.13-1-rosa.lts2012.0.noarch.rpm pdfshuffler-0.5.1-2-rosa.lts2012.0.noarch.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/3: pdfshuffler #############################################
2/3: python-pypoppler #############################################
3/3: python-pypdf #############################################
[root@localhost daro]#
START
[daro@localhost ~]$ pdfshuffler %F

** (process:18904): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:18904): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:18904): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
File "/usr/bin/pdfshuffler", line 1027, in <module>
PDFshuffler()
File "/usr/bin/pdfshuffler", line 276, in __init__
self.add_pdf_pages(filename)
File "/usr/bin/pdfshuffler", line 349, in add_pdf_pages
pdfdoc = PDF_Doc(filename, self.nfile, self.tmp_dir)
File "/usr/bin/pdfshuffler", line 922, in __init__
mime_type = f.query_info('standard::content-type').get_content_type()
gio.Error: Error when getting information for file '/home/daro/%F': No such file or directory
edited: 2013.07.23
Screenshot-1.png
It seems that the package "pdfshuffler-0.5.1-2-rosa.lts 2012.0.noarch.rpm" is broken - because when you run the program does not contain a control panel.
============================================================================================

installation of "pdfshuffler-0.6.0-1-mdv2011.0.noarch.rpm"- (Mandriva 2011) http://rpm.pbone.net/index.php3/stat/4/ ... h.rpm.html
[root@localhost daro]# urpmi /home/daro/Destop/pdfshuffler-0.6.0-1-mdv2011.0.noarch.rpm
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Dist DEpoch Arch
(medium "contrib updates (LTS2012.0-4)")
python-pypdf 1.13 1 rosa> 2012.0 noarch
python-pypoppler 0.12.1 4 rosa> 2012.0 i586
(command line)
pdfshuffler 0.6.0 1 mdv 2011.0 noarch
393KB of additional disk space will be used.
107KB of packages will be retrieved.
Proceed with the installation of the 3 packages? (Y/n) y


$MIRRORLIST: media/contrib/updates/python-pypoppler-0.12.1-4-rosa.lts2012.0.i586.rpm
$MIRRORLIST: media/contrib/updates/python-pypdf-1.13-1-rosa.lts2012.0.noarch.rpm
warning: /home/daro/Pulpit/pdfshuffler-0.6.0-1-mdv2011.0.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 26752624
The following package has bad signature:
/home/daro/Pulpit/pdfshuffler-0.6.0-1-mdv2011.0.noarch.rpm: Invalid signature (NOT OK (no key): /home/daro/Pulpit/pdfshuffler-0.6.0-1-mdv2011.0.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 26752624)
Do you want to continue installation ? (y/N) y
installing /var/cache/urpmi/rpms/python-pypoppler-0.12.1-4-rosa.lts2012.0.i586.rpm
/var/cache/urpmi/rpms/python-pypdf-1.13-1-rosa.lts2012.0.noarch.rpm
/home/daro/Pulpit/pdfshuffler-0.6.0-1-mdv2011.0.noarch.rpm
Preparing... #############################################
1/3: pdfshuffler #############################################
2/3: python-pypoppler #############################################
3/3: python-pypdf #############################################
[root@localhost daro]#
START
[daro@localhost ~]$ pdfshuffler %F

** (process:19136): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:19136): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:19136): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
File "/usr/bin/pdfshuffler", line 31, in <module>
main()
File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 1084, in main
PdfShuffler()
File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 273, in __init__
self.add_pdf_pages(filename)
File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 418, in add_pdf_pages
pdfdoc = PDF_Doc(filename, self.nfile, self.tmp_dir)
File "/usr/lib/python2.7/site-packages/pdfshuffler/pdfshuffler.py", line 1027, in __init__
mime_type = f.query_info('standard::content-type').get_content_type()
gio.Error: Error when getting information for file '/home/daro/%F': No such file or directory
[daro@localhost ~]$
Screenshot-3.png
The program works OK.
Последний раз редактировалось dareksmok 08 авг 2013, 23:30, всего редактировалось 2 раза.
ROSA Fresh R10 MATE - 64 bit

d_uragan
Сообщения: 505
Зарегистрирован: 23 ноя 2011, 21:27

Re: PDF-shuffler does'nt work

Сообщение d_uragan » 23 июл 2013, 18:07

Ah, I see. Indeed, ROSA Marathon contained too old pdfshuffler.

I've build a new version (0.6.0) for Marathon. It should appear on mirrors during the day.

Аватара пользователя
dareksmok
Сообщения: 301
Зарегистрирован: 27 июн 2013, 23:08
Operating system: ROSA Fresh R10 MATE - 64 bit
i5-4570 CPU @ 3.20GHz
NVIDIA GeForce GT 1030
8 GB RAM

Re: PDF-shuffler does'nt work

Сообщение dareksmok » 24 июл 2013, 21:35

d_uragan писал(а):Ah, I see. Indeed, ROSA Marathon contained too old pdfshuffler.

I've build a new version (0.6.0) for Marathon. It should appear on mirrors during the day.

Thanks for the new verse :beer:
ROSA Fresh R10 MATE - 64 bit

d_uragan
Сообщения: 505
Зарегистрирован: 23 ноя 2011, 21:27

Re: PDF-shuffler does'nt work

Сообщение d_uragan » 25 июл 2013, 16:51

Hm, today or tomorrow I will also update python-pypoppler package for Marathon and then rebuild pdfshuffler. Maybe this will allow to bring it to a better shape.

In general, the underlying problem may lie in poppler. It changes very frequently, while python-poppler (used by pdfshuffler) is actually abandoned. so some combinations of package versions/patches may work, some may not...

Ответить

Вернуться в «ROSA Fresh R1-R3 (2012.1)»