[Bug 656382] Re: "EOF marker not found" prevents saving document

2018-07-11 Thread venoel
Hi. Have the same problem with "EOF marker not found" (it is first time
for some years of PDF Shuffle using)

Patch ofAndrew Lundin (galundin) exists in (for my case)
/usr/lib/python2.7/dist-packages/PyPDF2/pdf.py

Row 1692

last1K = stream.tell() - 1024 + 1 # offset of last 1024 bytes of stream 

   
line = b_('')   

   
while line[:5] != b_("%%EOF"):  

   
if stream.tell() < last1K:  

   
raise utils.PdfReadError("EOF marker not found")

   
line = self.readNextEndLine(stream) 

   
if debug: print("  line:",line)   


But error still appears as it seems EOF not in 1024 bytes range.

So I increase it to 8024 bytes and things become fine.


last1K = stream.tell() - 8024 + 1 # offset of last 1024 bytes of stream 

   
line = b_('')   

   
while line[:5] != b_("%%EOF"):  

   
if stream.tell() < last1K:  

   
raise utils.PdfReadError("EOF marker not found")

   
line = self.readNextEndLine(stream) 

   
if debug: print("  line:",line)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/656382

Title:
  "EOF marker not found" prevents saving document

To manage notifications about this bug go to:
https://bugs.launchpad.net/pdf/+bug/656382/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1756676] [NEW] package friendly-recovery 0.2.36ubuntu1 failed to install/upgrade: subprocess installed post-installation script was killed by signal (Killed)

2018-03-18 Thread venoel
Public bug reported:

hang up while update from ubuntu 16.04 to ubuntu 17.10.

Killing os-probe and friendly-... allow continue updating.

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: friendly-recovery 0.2.36ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-116.140-generic 4.4.98
Uname: Linux 4.4.0-116-generic i686
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: i386
Date: Sun Mar 18 14:38:12 2018
ErrorMessage: subprocess installed post-installation script was killed by 
signal (Killed)
InstallationDate: Installed on 2013-09-07 (1652 days ago)
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release i386 
(20130213)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 
3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 
2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt  1.5.1
SourcePackage: friendly-recovery
Title: package friendly-recovery 0.2.36ubuntu1 failed to install/upgrade: 
subprocess installed post-installation script was killed by signal (Killed)
UpgradeStatus: Upgraded to artful on 2018-03-18 (0 days ago)

** Affects: friendly-recovery (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-package artful i386

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1756676

Title:
  package friendly-recovery 0.2.36ubuntu1 failed to install/upgrade:
  subprocess installed post-installation script was killed by signal
  (Killed)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1756676/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1512365] [NEW] Desktop crashes and login window appears

2015-11-02 Thread venoel
Public bug reported:

It happens randomly

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu8.1
ProcVersionSignature: Ubuntu 3.19.0-31.36~14.04.1-generic 3.19.8-ckt7
Uname: Linux 3.19.0-31-generic i686
.tmp.unity.support.test.0:
 
ApportVersion: 2.14.1-0ubuntu3.18
Architecture: i386
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Mon Nov  2 16:09:54 2015
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 
09) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:183e]
 Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] 
[1002:6840] (rev ff) (prog-if ff)
InstallationDate: Installed on 2015-10-20 (13 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta i386 (20150805)
MachineType: Hewlett-Packard HP Pavilion g6 Notebook PC
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-31-generic 
root=UUID=bd55f751-d5aa-4354-8ce8-a12402a8c4b3 ro
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/01/2012
dmi.bios.vendor: Insyde
dmi.bios.version: F.17
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 183E
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 56.2D
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: 
dmi:bvnInsyde:bvrF.17:bd11/01/2012:svnHewlett-Packard:pnHPPaviliong6NotebookPC:pvr0889110859160:rvnHewlett-Packard:rn183E:rvr56.2D:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP Pavilion g6 Notebook PC
dmi.product.version: 0889110859160
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.11.3+14.04.20150313-0ubuntu1
version.libdrm2: libdrm2 2.4.60-2~ubuntu14.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri N/A
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Mon Nov  2 15:56:41 2015
xserver.configfile: default
xserver.errors: RADEON(G0): [XvMC] Failed to initialize extension.
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 900 
 vendor LGD
xserver.version: 2:1.17.1-0ubuntu3~trusty1

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug compiz-0.9 i386 trusty ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512365

Title:
  Desktop crashes and login window appears

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1512365/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs