Blender action error

Bug #538711 reported by Nadia Alramli
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
High
Stani

Bug Description

If you run any image from tests/input with any of the blender actionlists or even the default blender action you get an error dialog:

Can not apply action Blender
'dict' object has no attribute 'rfind'

It doesn't show in the logs at all, that's why the acceptance test didn't catch it. No output is produced as well.

A test case is attached.

Revision history for this message
Nadia Alramli (nadiana) wrote :
Changed in phatch:
importance: Undecided → High
milestone: none → 0.2.8
Revision history for this message
Stani (stani) wrote :

$ bzr diff
=== modified file 'phatch/actions/blender.py'
--- phatch/actions/blender.py 2010-03-11 23:13:48 +0000
+++ phatch/actions/blender.py 2010-03-18 00:11:48 +0000
@@ -336,7 +336,7 @@
         global imtools
         from lib import imtools
         self.find_exe('blender')
- out, err = system.shell((self.exe, '-v'))
+ out, err = system.shell((self.exe['blender'], '-v'))
         if not RE_BLENDER_VERSION.search(out):
             raise Exception(
                 _('Sorry, you have the wrong version of Blender installed.') +

$ bzr commit -m "fix blender action"
Committing to: /home/stani/sync/python/phatch/repo/trunk/
modified phatch/actions/blender.py

Ran 156 license tests in 0.374s
----------------------------------------------------------------------
Ran 61 tests in 0.334s

OK
----------------------------------------------------------------------
Ran 154 PEP8 tests in 0.289s

Ran precommit tests in 3.224s

Committed revision 1868.

Changed in phatch:
assignee: nobody → Stani (stani)
status: New → Fix Released
Revision history for this message
Benjamin Guy-Williams (ben2talk-gmail) wrote :

Still not working - blender 2.69 and phatch 0.2.7

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.