scan-manager -- python app for controlling tethered cameras

General discussion about software packages and releases, new software you've found, and threads by programmers and script writers.

Re: scan-manager -- python app for controlling tethered came

Postby og200 » 16 Apr 2012, 13:11

Thanks for the initial feedback. I'm surprised it's hanging on the dummy API -- maybe some of the extra logging I added to try to solve the calibration issues is breaking it. I'll try to get a fix out ASAP and thanks for PMing me the logs.

It would be GREAT if you wanted to have a peek at the code and I think you'd like Python. I have a slightly odd way of using Qt (I like to mix declarative and procedural styles when I write GUIs) but it should be clear enough how it works. The rest is pretty standard object oriented code.

Dependencies are:
  • Python 2.7;
  • Pythonwin (if you want WIA);
  • OpenCV 2.3's Python bindings;
  • and Numpy (used with OpenCV)

You can download Windows installers or binaries for all those and they should be easy to set up except OpenCV where you may need to copy cv.py and cv2.pyd manually into your \Python27\lib\site-packages. I can help you if you have trouble getting started.

Re. subversion on Windows: Tortoise SVN is very nice. Also, if you want a real development environment for Python, Eclipse is the way to go -- just get the plain Eclipse binaries and use their 'Add software' option (I think) to install PyDev. It's an incredibly slick and productive environment.
og200
 
Posts: 62
Joined: 26 Mar 2012, 15:38
Location: Oxford, United Kingdom

Re: scan-manager -- python app for controlling tethered came

Postby Fab52 » 16 Apr 2012, 22:53

Hi og200,

Thank for your answer. I download the libusb-32 and the gphoto2 and uninstall the V.0.4 and install the V.0.4.1.

On the setting up screen everything seems normal... I saw my d90 in the "choose camera" field... When I hit "continue" at the bottom of the Setting box I get a small box, work in progress " WIA may take some time" message... The app. take control of my D90, playing with the zoom, and release the shutter... After that the setting box close and nothing else append....

What I have done wrong ???? :mrgreen:

See You!!!

FAb
Fab52
 
Posts: 63
Joined: 21 Feb 2012, 21:10
Location: Montreal South Shore, Quebec, Canada

Re: scan-manager -- python app for controlling tethered came

Postby og200 » 17 Apr 2012, 03:14

Hi Fab,

That's sounding better; obviously not quite there yet though!

With libgphoto2 the app starts off by opening a connection to the camera and taking a dummy shot (clumsy, but the only way to get some cameras to activate so they're ready for live view using gphoto's api). If it's getting to this stage that's a good start.

Did you delete your scanmanager.settings file? And could you send me your scanmanger.log file (and scanmanager.exe.stdout/scanmanager.exe.stderr if they exist)?
og200
 
Posts: 62
Joined: 26 Mar 2012, 15:38
Location: Oxford, United Kingdom

Re: scan-manager -- python app for controlling tethered came

Postby Fab52 » 17 Apr 2012, 08:01

Hi og200,

When I uninstall v.0.4 the only file left under ScanManager programm folder was "backend" so I delete the complete ScanManager folder. After that I re-install the V.0.4.1 with Gphoto2 and libusb-win32.

And could you send me your scanmanger.log file


I can't find any .log file in the ScanManager folder...

....scanmanager.exe.stdout/scanmanager.exe.stderr if they exist)?


I don't see any???

I still have a .zip folder call library in the ScanManager programm folder is it ok ???? or do I have to unzip this library folder ????

Thanks for your help !!!

FAb
Fab52
 
Posts: 63
Joined: 21 Feb 2012, 21:10
Location: Montreal South Shore, Quebec, Canada

Re: scan-manager -- python app for controlling tethered came

Postby og200 » 17 Apr 2012, 10:13

Ah, OK -- your settings file, logs, etc. are all stored in your \users\<your user name>\scanmanager folder, never under program files. (On Windows 7 storing user data under program files is a big no-no and requires admin rights.)

Try deleting everything in that folder and running the program again -- if it goes wrong send me everyting in that folder and I'll try to sort it out.
og200
 
Posts: 62
Joined: 26 Mar 2012, 15:38
Location: Oxford, United Kingdom

Re: scan-manager -- python app for controlling tethered came

Postby Fab52 » 17 Apr 2012, 12:49

Hi og200,

Okkkkkk.... I found the files and delete it and run ScanManager again.... Same problem different day. :oops:

I PM you everything in that folder.

Sorry to crash your work. :mrgreen:

Fab
Fab52
 
Posts: 63
Joined: 21 Feb 2012, 21:10
Location: Montreal South Shore, Quebec, Canada

Re: scan-manager -- python app for controlling tethered came

Postby og200 » 17 Apr 2012, 13:53

Please crash away! It tries to dynamically create user interfaces for different cameras so new bugs may show up when it's tested with new cameras -- it needs lots of testing.

I've put up a new build (0.4.2) which should solve your current problem, though I'm sure there will be others. Delete your settings file again before starting this one (it now checks to make sure the settings file is compatible.)
og200
 
Posts: 62
Joined: 26 Mar 2012, 15:38
Location: Oxford, United Kingdom

Re: scan-manager -- python app for controlling tethered came

Postby Fab52 » 17 Apr 2012, 17:51

Hi Oren,

No problem, I know end user are the best to crash app. :lol:

New bugs are not a problem it is a chance to improved our work... I offer to test this app. from the start, so I have no problem with the fact that the app are not fully tested...

This app will saved us process time down the road for sure, we just have to be patient during the testing.

I will install v.0.4.2 later on tonight and report here after.

Keep the good work!!!

FAb
Fab52
 
Posts: 63
Joined: 21 Feb 2012, 21:10
Location: Montreal South Shore, Quebec, Canada

Re: scan-manager -- python app for controlling tethered came

Postby tkr » 18 Apr 2012, 00:04

Hi OG,
0.4.2 crashing again during load -

Traceback (most recent call last):
File "scanmanager.py", line 12, in <module>
File "gui\main.pyc", line 2, in <module>
File "gui\shooting.pyc", line 7, in <module>
File "gui\cameraui.pyc", line 10, in <module>
File "log.pyc", line 72, in logException
File "log.pyc", line 77, in log
NameError: global name 'logger' is not defined
tkr
 
Posts: 30
Joined: 29 Jan 2012, 21:53

Re: scan-manager -- python app for controlling tethered came

Postby tkr » 18 Apr 2012, 00:13

OG
I think your idea of providing liveview support using a composite video source, as well as using a eyeFi card to acquire the images is an excellent one.
It would provide a lot of flexibility, especially to those diy'ers who are not using canon and Nikon.
I have already ordered the Cvideo=>USB converter online and am waiting for it to arrive. Have also ordered a eye-Fi card.
TKR
tkr
 
Posts: 30
Joined: 29 Jan 2012, 21:53

PreviousNext

Return to Programs, Software releases, and more.

Who is online

Users browsing this forum: No registered users and 2 guests