• April 18, 2024, 01:55:05 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Python error when launching D-ViewCam  (Read 3942 times)

billsey

  • Level 1 Member
  • *
  • Posts: 7
Python error when launching D-ViewCam
« on: August 31, 2017, 09:01:04 AM »

I just installed the latest version, and when I launch it I get a "python.exe has stopped working' error. The Problem Details show:
Quote
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   python.exe
  Application Version:   0.0.0.0
  Application Timestamp:   5432f851
  Fault Module Name:   MSVCR100.dll
  Fault Module Version:   10.0.40219.1
  Fault Module Timestamp:   4d5f0c22
  Exception Code:   40000015
  Exception Offset:   0008d6fd
  OS Version:   6.1.7601.2.1.0.274.10
  Locale ID:   1033
  Additional Information 1:   417e
  Additional Information 2:   417e4db2a69005ac7d17011a09433969
  Additional Information 3:   a2eb
  Additional Information 4:   a2ebcf05b55c966f324519c1f312edbf

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Any idea on how to get around the error? I get it twice each time D-ViewCam is launched, and the camera display stays blank. I no longer get any recording on motion detection. :(
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Python error when launching D-ViewCam
« Reply #1 on: August 31, 2017, 09:11:42 AM »

Link>Welcome!

What region are you located?
What Windows platform and version are you using?

Was the prior version of DVC fully removed then installed the new version?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

billsey

  • Level 1 Member
  • *
  • Posts: 7
Re: Python error when launching D-ViewCam
« Reply #2 on: August 31, 2017, 09:20:58 AM »

USA
Windows Server 2008 R2 Enterprise
Nope, the prior version was upgraded by installing over it. Prior version was (I think) 3.6.4.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Python error when launching D-ViewCam
« Reply #3 on: August 31, 2017, 09:34:48 AM »

I'd try a full uninstall clean, reboot then reinstall with Admin privileges.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

billsey

  • Level 1 Member
  • *
  • Posts: 7
Re: Python error when launching D-ViewCam
« Reply #4 on: August 31, 2017, 10:27:03 AM »

Did a full uninstall, rebooted server (surprising not too many complaints from the users) and reinstalled. Same error. Any chance it's a version mismatch? When I launch python from a command prompt it says it's version 2.7.1. I see on Python's website that the latest releases for Windows are 2.7.13 and 3.6.2.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Python error when launching D-ViewCam
« Reply #5 on: August 31, 2017, 11:25:18 AM »

Possible. Can you try to install a downgraded version of Python and see?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

billsey

  • Level 1 Member
  • *
  • Posts: 7
Re: Python error when launching D-ViewCam
« Reply #6 on: August 31, 2017, 12:29:03 PM »

Can you give me a hint of which version might be the norm? If I downgrade it might affect other apps on the server, that also use python. Better would be for D-ViewCam to use a local version instead of the global one.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Python error when launching D-ViewCam
« Reply #7 on: August 31, 2017, 01:07:36 PM »

Well I installed this version on my Windows 7x32 PC and it's working. I presume since you have a more up to date version of Python that there maybe some incompatibility. I searched my drive for python.exe I found what DVC installed and running that app reported the following:
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] on win32
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

billsey

  • Level 1 Member
  • *
  • Posts: 7
Re: Python error when launching D-ViewCam
« Reply #8 on: August 31, 2017, 01:58:56 PM »

OK, so maybe I have more than one problem... :(

I installed 3.6.2, the oldest version I had an install image for, and it launched without the python error. The camera didn't display though. So I removed the 3.6.2 install and also got rid of any environment variables pointing at different installations (PYTHONHOME and PATH both had references) and relaunched. Again, no python errors and no displayed image. (I'll likely have to tweak some python settings to allow the other packages that use it to have access to the versions they want.)

So, though python version mismatches were the most visible of the errors I have something else going on as well. I'm connecting to a DCS-910 using DNS on port 80, Auto Detect correctly decides the camera is a DCS-910, using video channel 1. The User Name and Password are correct. I can view the camera from the web interface, but in D-ViewCam is stays blank.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: Python error when launching D-ViewCam
« Reply #9 on: October 11, 2017, 10:39:17 AM »

Any progress on this?
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.