![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
First:
I am totally stupid on electronics
Second:
Papywizrd / Merlin runs fine when connected with a 2m cable with 2 220Ohm resistors at the BT-Module end
Third:
Papywizard / Merlin does connect but then neverending miniwindow "Please wait" when connected with a 20cm cable with 2 220Ohm resistors at the BT-Module end
Fourth:
What is going wrong? I quadruple checked the correct wiring.
Last edited by Paul (2008-12-21 18:37:29)
Offline
What you are saying is that it works fine with a 2m cable, and fails with a 20cm one? With exactly the same config?
Which plateform?
Offline
yes exactly the same components: on long cable OK, on short cable connect and neverending wait
platforms tested:
- WinXP SP3 Papywizard 1.4.0
- N770 Papywizard last dev. version
Offline
And it freezes on both plateforms? No error message after a few seconds?
On the Nokia, try to launch papywizard from the console (osso-xterm):
$ papywizard.sh
You should see the log on the console...
Offline
Thats is the log connected to the short cable - BT-Module shows connect LED
--------------------------------------------------------------------------------
BusyBox v1.4.1 (2007-03-12 19:00:25 EET) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ papywizard.sh
2008-12-21 23:08:54,220::MainThread::DEBUG::Papywizard.l10n(): default locale=de_DE
2008-12-21 23:08:54,268::MainThread::DEBUG::Papywizard.l10n(): LANGUAGE=None
2008-12-21 23:08:54,280::MainThread::DEBUG::Papywizard.l10n(): langs=['de_DE', 'en_US', 'fr_FR', 'pl_PL']
2008-12-21 23:08:54,395::MainThread::DEBUG::Papywizard.l10n(): localeDir=/usr/share/locale/de/LC_MESSAGES/../..
2008-12-21 23:08:54,982::MainThread::INFO::Starting Papywizard...
2008-12-21 23:08:55,104::MainThread::INFO::Loading default presets
2008-12-21 23:08:55,522::MainThread::DEBUG::Preset.__init__(): loading name='4@0 + Z + N'
2008-12-21 23:08:55,636::MainThread::DEBUG::Preset.__init__(): loading name='3@-15 + Z'
2008-12-21 23:08:55,655::MainThread::DEBUG::Preset.__init__(): loading name='6@30 + 6@-15 + N'
2008-12-21 23:08:55,869::MainThread::DEBUG::Preset.__init__(): loading name='4@30 + 4@-30'
2008-12-21 23:08:55,983::MainThread::DEBUG::Preset.__init__(): loading name='3 + 6 + 12 + 6 + 3 (28mm)'
2008-12-21 23:08:56,121::MainThread::INFO::Loading user presets
2008-12-21 23:08:56,133::MainThread::WARNING::No user presets found
2008-12-21 23:08:56,330::MainThread::DEBUG::Spy.__init__(): yaw=0.0, pitch=0.0
2008-12-21 23:08:59,405::MainThread::DEBUG::ConfigManager.__init__(): versions: dist=['1', '5', '3'], user=['1', '5', '3']
2008-12-21 23:08:59,418::MainThread::DEBUG::ConfigManager.__init__(): user config. is up-to-date
2008-12-21 23:08:59,845::Spy::INFO::Starting Spy...
2008-12-21 23:08:59,858::Publisher::INFO::Starting Publisher...
2008-12-21 23:09:08,093::MainThread::INFO::Connecting to real hardware...
2008-12-21 23:09:18,881::Dummy-5::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
answer = self.__driver.sendCmd(cmd)
File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
c = self._sock.recv(1)
File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:18,896::Dummy-5::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:20,234::Dummy-5::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
answer = self.__driver.sendCmd(cmd)
File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
c = self._sock.recv(1)
File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:20,248::Dummy-5::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:21,421::Dummy-5::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
answer = self.__driver.sendCmd(cmd)
File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
c = self._sock.recv(1)
File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:21,435::Dummy-5::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:21,799::Dummy-5::EXCEPTION::Shooting.switchToRealHardware()
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/papywizard/model/shooting.py", line 282, in switchToRealHardware
self.realHardware.init()
File "/usr/lib/python2.5/site-packages/papywizard/hardware/head.py", line 93, in init
self.yawAxis.init()
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 251, in init
self._sendCmd("L")
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 242, in _sendCmd
raise HardwareError("Axis %d can't send command" % self._num)
HardwareError: Axis 1 can't send command
2008-12-21 23:09:21,822::MainThread::ERROR::Can't connect to hardware
Axis 1 can't send command
2008-12-21 23:09:27,173::MainThread::INFO::Go to simulation mode
2008-12-21 23:09:28,368::MainThread::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
answer = self.__driver.sendCmd(cmd)
File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
c = self._sock.recv(1)
File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:28,379::MainThread::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:29,701::MainThread::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
answer = self.__driver.sendCmd(cmd)
File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
c = self._sock.recv(1)
File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:29,717::MainThread::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:30,905::MainThread::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
answer = self.__driver.sendCmd(cmd)
File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
c = self._sock.recv(1)
File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:30,918::MainThread::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:30,944::MainThread::EXCEPTION::Shooting.switchToSimulatedHardware()
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/papywizard/model/shooting.py", line 295, in switchToSimulatedHardware
self.realHardware.shutdown() # Test if init first
File "/usr/lib/python2.5/site-packages/papywizard/hardware/head.py", line 109, in shutdown
self.yawAxis.stop()
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 371, in stop
self._sendCmd("L")
File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 242, in _sendCmd
raise HardwareError("Axis %d can't send command" % self._num)
HardwareError: Axis 1 can't send command
%
--------------------------------------------------------------------------------
Thats is the log connected to the long cable
--------------------------------------------------------------------------------
BusyBox v1.4.1 (2007-03-12 19:00:25 EET) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ papywizard.sh
2008-12-21 23:18:32,017::MainThread::DEBUG::Papywizard.l10n(): default locale=de_DE
2008-12-21 23:18:32,065::MainThread::DEBUG::Papywizard.l10n(): LANGUAGE=None
2008-12-21 23:18:32,076::MainThread::DEBUG::Papywizard.l10n(): langs=['de_DE', 'en_US', 'fr_FR', 'pl_PL']
2008-12-21 23:18:32,169::MainThread::DEBUG::Papywizard.l10n(): localeDir=/usr/share/locale/de/LC_MESSAGES/../..
2008-12-21 23:18:32,788::MainThread::INFO::Starting Papywizard...
2008-12-21 23:18:32,928::MainThread::INFO::Loading default presets
2008-12-21 23:18:33,353::MainThread::DEBUG::Preset.__init__(): loading name='4@0 + Z + N'
2008-12-21 23:18:33,472::MainThread::DEBUG::Preset.__init__(): loading name='3@-15 + Z'
2008-12-21 23:18:33,592::MainThread::DEBUG::Preset.__init__(): loading name='6@30 + 6@-15 + N'
2008-12-21 23:18:33,713::MainThread::DEBUG::Preset.__init__(): loading name='4@30 + 4@-30'
2008-12-21 23:18:33,827::MainThread::DEBUG::Preset.__init__(): loading name='3 + 6 + 12 + 6 + 3 (28mm)'
2008-12-21 23:18:33,964::MainThread::INFO::Loading user presets
2008-12-21 23:18:33,976::MainThread::WARNING::No user presets found
2008-12-21 23:18:34,085::MainThread::DEBUG::Spy.__init__(): yaw=0.0, pitch=0.0
2008-12-21 23:18:37,346::MainThread::DEBUG::ConfigManager.__init__(): versions: dist=['1', '5', '3'], user=['1', '5', '3']
2008-12-21 23:18:37,357::MainThread::DEBUG::ConfigManager.__init__(): user config. is up-to-date
2008-12-21 23:18:37,792::Spy::INFO::Starting Spy...
2008-12-21 23:18:37,959::Publisher::INFO::Starting Publisher...
2008-12-21 23:18:48,839::MainThread::INFO::Connecting to real hardware...
2008-12-21 23:19:01,770::MainThread::INFO::Now connected to real hardware
2008-12-21 23:19:31,829::MainThread::INFO::Set hardware originSegmentation fault
--------------------------------------------------------------------------------
Trying to quit Papywizard crashes with segmentation fault
~ $
Last edited by Paul (2008-12-21 23:25:39)
Offline
Short cable: Bluetooth connection is OK; the problem occurs when Papywizard try to get the answer from the Merlin head... It is either because the command never reached the head, or because the answer can't reach Papywizard. Could you try this:
http://www.autopano.net/forum/p33669-20 … -01#p33669
Long cable: seg. fault is never good, especially with python as something occured in a C library (which I don't have any control on)... Does it works fine when launched from maemo menus, and only crashes when started from shell? Well, in fact, if it crashes when you quit, you may don't see the problem, as the program exits in any case...
Offline
Hi Paul,
Long/short cable ...
Is you problem solved now ?![]()
Offline
claudevh wrote:
Hi Paul,
Long/short cable ...
Is you problem solved now ?
only partly solved:
BT works fine with short cable when I plugin the Handcontroller too
without HC BT does connect, but PW shows neverending the little "please wait"-window
Offline
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
