2009-11-23 15:08:31,227::Shooting::INFO::Start shooting process...
2009-11-23 15:08:31,227::Shooting::DEBUG::Shooting.start(): create mosaic data object
2009-11-23 15:08:31,227::Shooting::DEBUG::Data.__init__(): create xml tree
2009-11-23 15:08:31,227::Shooting::DEBUG::Data.createHeader(): values={'comment': u'Generated by Papywizard 2.1.13', 'cameraOrientation': u'portrait', 'yawNbPicts': '1', 'pitchNbPicts': '1', 'title': u'Here goes the title', 'bracketingNbPicts': '1', 'timeValue': '-1.0', 'stabilizationDelay': '0.5', 'overlap': '0.25', 'headOrientation': 'up', 'lensType': u'rectilinear', 'yawRealOverlap': '1.00', 'pitchRealOverlap': '1.00', 'sensorCoef': '1.6', 'sensorRatio': u'3:2', 'roll': '90.0', 'focal': '17.0', 'gps': u'Here goes the location'}
2009-11-23 15:08:31,227::Shooting::DEBUG::Data._addNode(): parent=header, tag=general, value=None, attr={}
2009-11-23 15:08:31,227::Shooting::DEBUG::Data._addNode(): parent=general, tag=title, value=Here goes the title, attr={}
2009-11-23 15:08:31,227::Shooting::DEBUG::Data._addNode(): parent=general, tag=gps, value=Here goes the location, attr={}
2009-11-23 15:08:31,227::Shooting::DEBUG::Data._addNode(): parent=general, tag=comment, value=Generated by Papywizard 2.1.13, attr={}
2009-11-23 15:08:31,227::Shooting::DEBUG::Data._addNode(): parent=header, tag=shooting, value=None, attr={'mode': 'mosaic'}
2009-11-23 15:08:31,227::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=headOrientation, value=up, attr={}
2009-11-23 15:08:31,227::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=cameraOrientation, value=portrait, attr={}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=stabilizationDelay, value=0.5, attr={}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=startTime, value=2009-11-23_15h08m31s, attr={}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=endTime, value=2009-11-23_15h08m31s, attr={}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=header, tag=camera, value=None, attr={}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=camera, tag=timeValue, value=-1.0, attr={}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=camera, tag=bracketing, value=None, attr={'nbPicts': '1'}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=camera, tag=sensor, value=None, attr={'ratio': u'3:2', 'coef': '1.6'}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=header, tag=lens, value=None, attr={'type': u'rectilinear'}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=lens, tag=focal, value=17.0, attr={}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=header, tag=mosaic, value=None, attr={}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=mosaic, tag=nbPicts, value=None, attr={'yaw': '1', 'pitch': '1'}
2009-11-23 15:08:31,243::Shooting::DEBUG::Data._addNode(): parent=mosaic, tag=overlap, value=None, attr={'yaw': '1.00', 'minimum': '0.25', 'pitch': '1.00'}
2009-11-23 15:08:31,243::Shooting::DEBUG::Shooting.start(): repeat 1/1
2009-11-23 15:08:31,259::Shooting::DEBUG::Shooting.start(): pict #1 of 1, index=(1, 1, 1), yaw=0.0, pitch=0.0
2009-11-23 15:08:31,259::Main::DEBUG::ShootController.__onShootingUpdate(): index=(1, 1, 1), yaw=0.0, pitch=0.0, state=None, next=True
2009-11-23 15:08:31,259::Shooting::INFO::Moving
2009-11-23 15:08:31,259::Main::DEBUG::ShootController.__onShootingSequence(): sequence=moving
2009-11-23 15:08:31,259::Shooting::DEBUG::SimulationAxis.drive(): 'yawAxis' drive to 0.0
2009-11-23 15:08:31,259::Shooting::DEBUG::SimulationAxis.drive(): 'pitchAxis' drive to 0.0
2009-11-23 15:08:31,259::Shooting::INFO::Stabilization
2009-11-23 15:08:31,259::Main::DEBUG::ShootController.__onShootingSequence(): sequence=stabilization
2009-11-23 15:08:31,773::Shooting::INFO::Shutter cycle
2009-11-23 15:08:31,773::Shooting::DEBUG::Shooting.start(): bracket #1 of 1
2009-11-23 15:08:31,773::Main::DEBUG::ShootController.__onShootingSequence(): sequence=shutter
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): bracketNumber=1
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Program Path=C:/Program Files (x86)/Papywizard/EOSBracket.exe
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): EOS Utility version=new
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Bracketing stops=1
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Bracketing type=0-+
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Bracketing nb pict=1
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Dry run=False
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Bulb enable=False
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Bulb base exposure 1 s
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Focus enable=False
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Focus direction=far
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Focus step=medium
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Focus step count=1
2009-11-23 15:08:31,773::Shooting::DEBUG::EOSUtilityShutter.shoot(): Focus nb picts=1
2009-11-23 15:08:31,773::Shooting::EXCEPTION::Shooting.start()
Traceback (most recent call last):
File "papywizard\model\shooting.pyo", line 562, in start
File "papywizard\plugins\eosUtilityPlugins.pyo", line 181, in shoot
TypeError: sequence item 10: expected string or Unicode, QString found
2009-11-23 15:08:31,773::Shooting::ERROR::Shoot process failed
2009-11-23 15:08:31,773::Main::DEBUG::ShootController.__onShootingStopped(): status=fail
plagarto wrote:Hi guys,
I'm using PW 2.1.13 in Windows 7 x64 but I'm having some trouble with the EOS plugin.
mediavets wrote:Perhaps it's not compatible with Windows 7 x64?:
http://www.usa.canon.com/app/pdf/Windows7_compatibility.pdf
# -*- coding: utf-8 -*-
""" Panohead remote control.
License
=======
- B{Papywizard} (U{http://www.papywizard.org}) is Copyright:
- (C) 2007-2009 Frédéric Mantegazza
This software is governed by the B{CeCILL} license under French law and
abiding by the rules of distribution of free software. You can use,
modify and/or redistribute the software under the terms of the CeCILL
license as circulated by CEA, CNRS and INRIA at the following URL
U{http://www.cecill.info}.
As a counterpart to the access to the source code and rights to copy,
modify and redistribute granted by the license, users are provided only
with a limited warranty and the software's author, the holder of the
economic rights, and the successive licensors have only limited
liability.
In this respect, the user's attention is drawn to the risks associated
with loading, using, modifying and/or developing or reproducing the
software by the user in light of its specific status of free software,
that may mean that it is complicated to manipulate, and that also
therefore means that it is reserved for developers and experienced
professionals having in-depth computer knowledge. Users are therefore
encouraged to load and test the software's suitability as regards their
requirements in conditions enabling the security of their systems and/or
data to be ensured and, more generally, to use and operate it in the
same conditions as regards security.
The fact that you are presently reading this means that you have had
knowledge of the CeCILL license and that you accept its terms.
Module purpose
==============
Plugins
Implements
==========
- EOSUtilityShutter
- EOSUtilityShutterController
@author: Jones Henry Subbiah
@author: Frédéric Mantegazza
@copyright: (C) 2009 Jones Henry Subbiah
@copyright: (C) 2007-2009 Frédéric Mantegazza
@license: CeCILL
"""
__revision__ = "$Id: eosUtilityPlugins.py 2197 2009-11-23 18:19:30Z fma $"
import time
import subprocess
from PyQt4 import QtCore, QtGui
from papywizard.common.loggingServices import Logger
from papywizard.plugins.pluginsManager import PluginsManager
from papywizard.plugins.abstractShutterPlugin import AbstractShutterPlugin
from papywizard.plugins.shutterPluginController import ShutterPluginController
from papywizard.view.pluginFields import ComboBoxField, LineEditField, SpinBoxField, CheckBoxField, FileSelectorField
NAME = "EOS Utility 2"
DEFAULT_PROGRAM_PATH = "C:\\Program Files\\Papywizard\\EOSBracket.exe"
DEFAULT_EOS_UTILITY_VERSION = unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'new'))
DEFAULT_BRACKETING_STOPS = '1'
DEFAULT_BRACKETING_TYPE = '0-+'
DEFAULT_BRACKETING_NB_PICTS = 1
DEFAULT_DRY_RUN = True
DEFAULT_BULB_ENABLE = False
DEFAULT_BULB_BASE_EXPOSURE = 1
DEFAULT_FOCUS_ENABLE = False
DEFAULT_FOCUS_DIRECTION = unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'far'))
DEFAULT_FOCUS_STEP = unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'medium'))
DEFAULT_FOCUS_STEP_COUNT = 1
DEFAULT_FOCUS_NB_PICTS = 1
BRACKETING_TYPE_INDEX = {'0--': '1',
'0++': '2',
'0-+': '3'}
EOS_UTILITY_VERSION_TABLE = {'old': unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'old')),
'new': unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'new')),
unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'old')): 'old',
unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'new')): 'new'}
FOCUS_DIRECTION_TABLE = {'far': unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'far')),
'near': unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'near')),
unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'far')): 'far',
unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'near')): 'near'}
FOCUS_STEP_MODE_TABLE = {'small': unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'small')),
'medium': unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'medium')),
'large': unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'large')),
unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'small')): 'small',
unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'medium')): 'medium',
unicode(QtGui.QApplication.translate("eosUtilityPlugins", 'large')): 'large'}
class EOSUtilityShutter(AbstractShutterPlugin):
""" Plugin for the EOS Utility triggering program.
"""
def _init(self):
pass
def _getTimeValue(self):
return -1
def _getMirrorLockup(self):
return False
def _getBracketingNbPicts(self):
return 1
def _getBracketingIntent(self):
return 'exposure'
def _defineConfig(self):
Logger().trace("EOSUtilityShutter._defineConfig()")
#AbstractShutterPlugin._defineConfig(self)
self._addConfigKey('_programPath', 'PROGRAM_PATH', default=DEFAULT_PROGRAM_PATH)
self._addConfigKey('_eosUtilityVersion', 'EOS_UTILITY_VERSION', default=DEFAULT_EOS_UTILITY_VERSION)
self._addConfigKey('_bracketingStops', 'BRACKETING_STOPS', default=DEFAULT_BRACKETING_STOPS)
self._addConfigKey('_bracketingType', 'BRACKETING_TYPE', default=DEFAULT_BRACKETING_TYPE)
self._addConfigKey('_bracketingNbPicts', 'BRACKETING_NB_PICTS', default=DEFAULT_BRACKETING_NB_PICTS)
self._addConfigKey('_dryRun', 'DRY_RUN', default=DEFAULT_DRY_RUN)
self._addConfigKey('_bulbEnable', 'BULB_ENABLE', default=DEFAULT_BULB_ENABLE)
self._addConfigKey('_bulbBseExposure', 'BULB_BASE_EXPOSURE', default=DEFAULT_BULB_BASE_EXPOSURE)
self._addConfigKey('_focusEnable', 'FOCUS_ENABLE', default=DEFAULT_FOCUS_ENABLE)
self._addConfigKey('_focusDirection', 'FOCUS_DIRECTION', default=DEFAULT_FOCUS_DIRECTION)
self._addConfigKey('_focusStep', 'FOCUS_STEP', default=DEFAULT_FOCUS_STEP)
self._addConfigKey('_focusStepCount', 'FOCUS_STEP_COUNT', default=DEFAULT_FOCUS_STEP_COUNT)
self._addConfigKey('_focusNbPicts', 'FOCUS_NB_PICTS', default=DEFAULT_FOCUS_NB_PICTS)
def lockupMirror(self):
Logger().warning("EOSUtilityShutter.lockupMirror(): Not possible with EOS Utility")
return 0
def shoot(self, bracketNumber):
Logger().debug("EOSUtilityShutter.shoot(): bracketNumber=%d" % bracketNumber)
Logger().debug("EOSUtilityShutter.shoot(): Program Path=%s" % self._config['PROGRAM_PATH'])
Logger().debug("EOSUtilityShutter.shoot(): EOS Utility version=%s" % self._config['EOS_UTILITY_VERSION'])
Logger().debug("EOSUtilityShutter.shoot(): Bracketing stops=%s" % self._config['BRACKETING_STOPS'])
Logger().debug("EOSUtilityShutter.shoot(): Bracketing type=%s" % self._config['BRACKETING_TYPE'])
Logger().debug("EOSUtilityShutter.shoot(): Bracketing nb pict=%d" % self._config['BRACKETING_NB_PICTS'])
Logger().debug("EOSUtilityShutter.shoot(): Dry run=%s" % self._config['DRY_RUN'])
Logger().debug("EOSUtilityShutter.shoot(): Bulb enable=%s" % self._config['BULB_ENABLE'])
Logger().debug("EOSUtilityShutter.shoot(): Bulb base exposure %d s" % self._config['BULB_BASE_EXPOSURE'])
Logger().debug("EOSUtilityShutter.shoot(): Focus enable=%s" % self._config['FOCUS_ENABLE'])
Logger().debug("EOSUtilityShutter.shoot(): Focus direction=%s" % self._config['FOCUS_DIRECTION'])
Logger().debug("EOSUtilityShutter.shoot(): Focus step=%s" % self._config['FOCUS_STEP'])
Logger().debug("EOSUtilityShutter.shoot(): Focus step count=%d" % self._config['FOCUS_STEP_COUNT'])
Logger().debug("EOSUtilityShutter.shoot(): Focus nb picts=%d" % self._config['FOCUS_NB_PICTS'])
args = []
args.append(self._config['PROGRAM_PATH'])
args.append("CL")
args.append(EOS_UTILITY_VERSION_TABLE[self._config['EOS_UTILITY_VERSION']])
args.append(self._config['BRACKETING_STOPS'])
args.append(BRACKETING_TYPE_INDEX[self._config['BRACKETING_TYPE']])
args.append(str(self._config['BRACKETING_NB_PICTS']))
if self._config['DRY_RUN']:
args.append("n")
else:
args.append("y")
if self._config['BULB_ENABLE']:
args.append("y")
else:
args.append("n")
args.append(str(self._config['BULB_BASE_EXPOSURE']))
if self._config['FOCUS_ENABLE']:
args.append("y")
else:
args.append("n")
args.append(FOCUS_DIRECTION_TABLE[self._config['FOCUS_DIRECTION']])
args.append(FOCUS_STEP_MODE_TABLE[self._config['FOCUS_STEP']])
args.append(str(self._config['FOCUS_STEP_COUNT']))
args.append(str(self._config['FOCUS_NB_PICTS']))
Logger().debug("EOSUtilityShutter.shoot(): cmdLineArgs '%s'..." % ' '.join(args))
# Launch external command
p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# Wait end of execution
stdout, stderr = p.communicate()
if stderr:
Logger().debug("EOSUtilityShutter.shoot(): stderr:\n%s" % stderr)
Logger().debug("EOSUtilityShutter.shoot(): stdout:\n%s" % stdout)
return p.returncode
class EOSUtilityShutterController(ShutterPluginController):
def _defineGui(self):
Logger().trace("EOSUtilityShutterController._defineGui()")
ShutterPluginController._defineGui(self)
self._addWidget('Main', QtGui.QApplication.translate("eosUtilityPlugins", "Program path"),
FileSelectorField, (QtGui.QApplication.translate("TimelordShutterController", "Choose program path..."),
QtGui.QApplication.translate("TimelordShutterController", "EXE files (*.exe);;All files (*)")),
'PROGRAM_PATH')
types = [EOS_UTILITY_VERSION_TABLE['old'], EOS_UTILITY_VERSION_TABLE['new']]
self._addWidget('Main', QtGui.QApplication.translate("eosUtilityPlugins", "EOS Utility version"),
ComboBoxField, (types,), 'EOS_UTILITY_VERSION')
self._addWidget('Main', QtGui.QApplication.translate("eosUtilityPlugins", "Bracketing nb picts"),
SpinBoxField, (1, 99), 'BRACKETING_NB_PICTS')
stops = ['1/3', '2/3', '1', '1 1/3', '1 2/3', '2', '2 1/3', '2 2/3','3',
'3 1/3', '3 2/3', '4', '4 1/3', '4 2/3', '5', '5 1/3', '5 2/3', '6']
self._addWidget('Main', QtGui.QApplication.translate("eosUtilityPlugins", "Bracketing stops"),
ComboBoxField, (stops,), 'BRACKETING_STOPS')
self._addWidget('Main', QtGui.QApplication.translate("eosUtilityPlugins", "Bracketing type"),
ComboBoxField, (BRACKETING_TYPE_INDEX.keys(),), 'BRACKETING_TYPE')
self._addWidget('Main', QtGui.QApplication.translate("eosUtilityPlugins", "Dry run"),
CheckBoxField, (), 'DRY_RUN')
self._addTab('Bulb', QtGui.QApplication.translate("eosUtilityPlugins", 'Bulb'))
self._addWidget('Bulb', QtGui.QApplication.translate("eosUtilityPlugins", "Enable"),
CheckBoxField, (), 'BULB_ENABLE')
self._addWidget('Bulb', QtGui.QApplication.translate("eosUtilityPlugins", "Base exposure"),
SpinBoxField, (1, 99, "", " s"), 'BULB_BASE_EXPOSURE')
self._addTab('Focus', QtGui.QApplication.translate("eosUtilityPlugins", 'Focus'))
self._addWidget('Focus', QtGui.QApplication.translate("eosUtilityPlugins", "Enable"),
CheckBoxField, (), 'FOCUS_ENABLE')
focusDir = [FOCUS_DIRECTION_TABLE['far'], FOCUS_DIRECTION_TABLE['near']]
self._addWidget('Focus', QtGui.QApplication.translate("eosUtilityPlugins", "Direction"),
ComboBoxField, (focusDir,), 'FOCUS_DIRECTION')
stepMode = [FOCUS_STEP_MODE_TABLE['small'], FOCUS_STEP_MODE_TABLE['medium'], FOCUS_STEP_MODE_TABLE['large']]
self._addWidget('Focus', QtGui.QApplication.translate("eosUtilityPlugins", "Step"),
ComboBoxField, (stepMode,), 'FOCUS_STEP')
self._addWidget('Focus', QtGui.QApplication.translate("eosUtilityPlugins", "Step count"),
SpinBoxField, (1, 99), 'FOCUS_STEP_COUNT')
self._addWidget('Focus', QtGui.QApplication.translate("eosUtilityPlugins", "Nb picts"),
SpinBoxField, (1, 99), 'FOCUS_NB_PICTS')
def register():
""" Register plugins.
"""
PluginsManager().register(EOSUtilityShutter, EOSUtilityShutterController, capacity='shutter', name=NAME)
fma38 wrote:Ok, I think I found and fixed the bug.
tarnis wrote:The good news is I don't seem to have to tether to use the 50D, it doesn't skip pictures with the built in port like the 20D does. My merlin is a fickel beast.
; Wait for a second
Sleep, 1000
Castillonis wrote:sjhenry, thanks for posting the concise directions along with the screenshots. I appreciate it. I purchased a Merlin and I am reviewing different netbooks. I am glad that you mentioned the minimum screen resolution of 1024 x 768 for the Canon utility to install / or work. I have noticed that almost all of the netbooks have a screen resolution of 1024 x 600 and that some of the netbooks with 1024 x 768 or 800 have glossy screens. Which netbook are you using?
Users browsing this forum: No registered users and 1 guest