[Ubuntustudio-bugs] [Bug 912964] Re: videos are completely loaded into memory on import

2017-03-10 Thread Bug Watch Updater
** Changed in: shotwell
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to shotwell in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/912964

Title:
  videos are completely loaded into memory on import

Status in Shotwell:
  Fix Released
Status in shotwell package in Ubuntu:
  Triaged

Bug description:
  These days, more and more digicams ship with video capabilities. These videos 
can become huge, multiple gigabytes for one video is not an exception.
  However, Shotwell seems to be loading the *entire* video into memory before 
writing it to disk, which completely 'freezes' the import process (there's no 
indication of the fact that a video is being copied and nothing appears to be 
happening), slows down the computer since most of the internal memory is being 
consumed and it potentially crashes machines which are low on memory.

  What should happen is that:
  a) the user gets informed by Shotwell that a video is being imported (text 
feedback with i.e. file name/size + ETA, progress bar, thumbnail of the video)
  b) instead of loading the entire file into memory, Shotwell should load 
'reasonable' chunks at a time and write those to disk sequentially.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: shotwell 0.11.6-0ubuntu0.1 [modified: 
usr/share/glib-2.0/schemas/gschemas.compiled]
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Mon Jan  2 21:42:16 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: shotwell
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~ubuntustudio-bugs
Post to : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp


[Ubuntustudio-bugs] [Bug 1567827] Re: on ubuntu 16.04, phatch freezes at startup

2017-03-10 Thread Confusatron
For those (like me) who aren't familiar with applying a diff/patch, the
command line context is:

sudo patch /usr/share/phatch/phatch/lib/pyWx/wxPil.py < phatch.diff

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to phatch in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1567827

Title:
  on ubuntu 16.04, phatch freezes at startup

Status in phatch package in Ubuntu:
  Fix Released
Status in phatch package in Debian:
  Fix Released

Bug description:
  ~$ phatch
  /usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py:8196: GtkWarning: 
gtk_disable_setlocale() must be called before gtk_init()
return _core_.PyApp__BootstrapApp(*args, **kwargs)
  Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 
16765, in 
  lambda event: event.callable(*event.args, **event.kw) )
File "/usr/share/phatch/phatch/pyWx/gui.py", line 1218, in show_frame
  frame = Frame(self.filename, None, -1, ct.TITLE)
File "/usr/share/phatch/phatch/pyWx/gui.py", line 327, in __init__
  frame.Frame.__init__(self, *args, **keyw)
File "/usr/share/phatch/phatch/pyWx/wxGlade/frame.py", line 141, in __init__
  self.tree = Tree(self, -1, 
style=wx.TR_HAS_BUTTONS|wx.TR_NO_LINES|wx.TR_FULL_ROW_HIGHLIGHT|wx.TR_HIDE_ROOT|wx.TR_DEFAULT_STYLE|wx.SUNKEN_BORDER)
File "/usr/share/phatch/phatch/pyWx/wxGlade/frame.py", line 26, in __init__
  set_dirty   = parent.set_dirty,
File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 96, in __init__
  self.CreateImageList(icon_size)
File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 111, in 
CreateImageList
  self._AddFormToImageList(form, icon_size, icon_disabled)
File "/usr/share/phatch/phatch/lib/pyWx/treeEdit.py", line 120, in 
_AddFormToImageList
  wx_image = pil_wxImage(wxImage_pil(wx_image).resize(icon_size,\
File "/usr/share/phatch/phatch/lib/pyWx/wxPil.py", line 46, in wxImage_pil
  image.fromstring(wx_image.GetData())
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 746, in 
fromstring
  "Please call frombytes() instead.")
  Exception: fromstring() has been removed. Please call frombytes() instead.

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

-- 
Mailing list: https://launchpad.net/~ubuntustudio-bugs
Post to : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp