google-code-export / zscreen

Automatically exported from code.google.com/p/zscreen
1 stars 0 forks source link

Value cannot be null in Parameter name: encoder #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. press hot key for full screenshot
2. error
3.

What is the expected output? What do you see instead?
i want it to auto copy to clipboard when uploaded to twitpic

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: encoder
   at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder,
EncoderParameters encoderParams)
   at UploadersLib.Uploader.UploadImage(Image image, String fileName,
String url, String fileFormName, Dictionary`2 arguments)
   at UploadersLib.ImageUploaders.FlickrUploader.UploadImage(Image image,
String fileName)
   at ZScreenLib.TaskManager.UploadImage()
   at ZScreenLib.TaskManager.PublishImage()
   at ZScreenLib.TaskManager.PublishData()
   at ZScreenLib.TaskManager.CaptureScreen()
   at ZScreenGUI.WorkerPrimary.BwApp_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
ZScreen
    Assembly Version: 3.0.0.0
    Win32 Version: 3.4.4.0
    CodeBase: file:///C:/Program%20Files/ZScreen/ZScreen.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.Drawing.dll
----------------------------------------
ZScreenLib
    Assembly Version: 3.0.0.1169
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/ZScreen/ZScreenLib.DLL
----------------------------------------
UploadersLib
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/ZScreen/UploadersLib.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System
.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50
a3a/System.Configuration.dll
----------------------------------------
4-w_lbza
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml.Linq
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.4926 built by: NetFXw7
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/S
ystem.Xml.Linq.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.4926 built by: NetFXw7
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/Syste
m.Core.dll
----------------------------------------
ZSS.IndexersLib
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.0.0
    CodeBase: file:///C:/Program%20Files/ZScreen/ZSS.IndexersLib.DLL
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/Sys
tem.Design.dll
----------------------------------------
gy3l4ek9
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.WindowsAPICodePack
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase:
file:///C:/Program%20Files/ZScreen/Microsoft.WindowsAPICodePack.DLL
----------------------------------------
ZSS.UpdateCheckerLib
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/ZScreen/ZSS.UpdateCheckerLib.DLL
----------------------------------------
pyshmwsw
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_64/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.W
eb.dll
----------------------------------------
Microsoft.WindowsAPICodePack.Shell
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase:
file:///C:/Program%20Files/ZScreen/Microsoft.WindowsAPICodePack.Shell.DLL
----------------------------------------
WindowsBase
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.4902 built by: NetFXw7
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/Windo
wsBase.dll
----------------------------------------
PresentationCore
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.4902 built by: NetFXw7
    CodeBase:
file:///C:/Windows/assembly/GAC_64/PresentationCore/3.0.0.0__31bf3856ad364e35/Pr
esentationCore.dll
----------------------------------------
PresentationFramework
    Assembly Version: 3.0.0.0
    Win32 Version: 3.0.6920.4902 built by: NetFXw7
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad36
4e35/PresentationFramework.dll
----------------------------------------
1ww8dslx
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
tbavtktl
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
5ln_9evo
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
njhsusdi
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
pllz3evk
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
yvgwpmaf
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ld2nj-_y
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
lst_e7px
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
v6hpju_b
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
v0coend6
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
uuaspqmz
    Assembly Version: 3.0.0.1169
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

What version of the product are you using? On what operating system?
3440

Please provide any additional information below.

Original issue reported on code.google.com by djleg...@gmail.com on 10 Sep 2009 at 5:50

GoogleCodeExporter commented 9 years ago
Hi, 

Have you configured Flickr account settings: http://i25.tinypic.com/vp88de.png
It looked like you attempted to upload to Flickr instead of TwitPic.

Could you update to 3.5.0.0 and retry http://3.ly/DCG ? 

Cheers. 

Original comment by mcored on 10 Sep 2009 at 10:26

GoogleCodeExporter commented 9 years ago
Neither twitpic or flickr will work. and yes i did configure it.

Original comment by djleg...@gmail.com on 10 Sep 2009 at 11:05

GoogleCodeExporter commented 9 years ago
http://twitpic.com/h989h/full
http://www.flickr.com/photos/41776293@N03/3908435050/sizes/o

DJ Ligeon, 

Are you behind proxy? Any debug information you can give us?
Options > Debug 
http://img17.imageshack.us/img17/3627/zscreen3500beta20090911.png

Running since: 2009-09-11 08:39:41

Up Time: 00:01:41

  Start memory usage: 65,688 KiB
Current memory usage: 65,708 KiB
Minimum memory usage: 65,688 KiB
Maximum memory usage: 65,708 KiB

Running from:
E:\MRWA\ZScreen-trunk\ZScreen\bin\Debug\ZScreen.exe

Settings file:
E:\MRWA\PortableApps\ZScreen\Settings\ZScreen-3.5.0.0-Settings.xml

2009-09-11 08:39:37 - Operating System: Microsoft Windows NT 5.1.2600 Service 
Pack 3
2009-09-11 08:39:37 - Product Version: ZScreen 3.5.0.0 Beta
2009-09-11 08:39:37 - Root Folder: E:\MRWA\PortableApps\ZScreen
2009-09-11 08:39:37 - Initializing Default folder paths...
2009-09-11 08:39:37 - Reading ZScreen-3.5.0.0-Settings.xml
2009-09-11 08:39:39 - Configuring ZScreen GUI..
2009-09-11 08:39:40 - Reading History file...
2009-09-11 08:39:40 - Proxy Enabled: True
2009-09-11 08:39:41 - Loaded ZScreen GUI...
2009-09-11 08:39:41 - Keyboard Hook initiated
2009-09-11 08:39:41 - Proxy Enabled: True
2009-09-11 08:39:41 - Proxy Settings: e80655 - dacproxy.mrwa.wa.gov.au:8080 
(SOCKS5)
2009-09-11 08:40:25 - .
2009-09-11 08:40:25 - Job started: TAKE_SCREENSHOT_WINDOW_ACTIVE
2009-09-11 08:40:25 - Setting Image 825x500 to WorkerTask
2009-09-11 08:40:26 - Writing image 825x500 to
E:\MRWA\PortableApps\ZScreen\Images\2009-09\ZScreen_3.5.0.0_Beta-2009.09.11-08.4
0.25.png
2009-09-11 08:40:34 - Uploading Image:
E:\MRWA\PortableApps\ZScreen\Images\2009-09\ZScreen_3.5.0.0_Beta-2009.09.11-08.4
0.25.png
2009-09-11 08:40:34 - Uploading ZScreen_3.5.0.0_Beta-2009.09.11-08.40.25.png to 
FTP:
ftp.powweb.net
2009-09-11 08:40:36 - .
2009-09-11 08:40:36 - Job started: TAKE_SCREENSHOT_WINDOW_ACTIVE
2009-09-11 08:40:36 - Setting Image 825x500 to WorkerTask
2009-09-11 08:40:36 - Writing image 825x500 to
E:\MRWA\PortableApps\ZScreen\Images\2009-09\ZScreen_3.5.0.0_Beta-2009.09.11-08.4
0.36.png
2009-09-11 08:40:38 - Uploading Image:
E:\MRWA\PortableApps\ZScreen\Images\2009-09\ZScreen_3.5.0.0_Beta-2009.09.11-08.4
0.36.png
2009-09-11 08:40:38 - Initialized TwitPic
2009-09-11 08:40:38 - Proxy Settings called by UploadData
2009-09-11 08:40:42 - URL: http://twitpic.com/h989h/full
2009-09-11 08:40:43 - URL Length: 29; Shortening after 100
2009-09-11 08:40:43 - Shortened URLhttp://twitpic.com/h989h/full
2009-09-11 08:40:43 - Job completed: TAKE_SCREENSHOT_WINDOW_ACTIVE
2009-09-11 08:41:07 - .
2009-09-11 08:41:07 - Job started: TAKE_SCREENSHOT_WINDOW_ACTIVE
2009-09-11 08:41:07 - Setting Image 825x500 to WorkerTask
2009-09-11 08:41:07 - Writing image 825x500 to
E:\MRWA\PortableApps\ZScreen\Images\2009-09\ZScreen_3.5.0.0_Beta-2009.09.11-08.4
1.07.png
2009-09-11 08:41:07 - Uploading Image:
E:\MRWA\PortableApps\ZScreen\Images\2009-09\ZScreen_3.5.0.0_Beta-2009.09.11-08.4
1.07.png
2009-09-11 08:41:07 - Initialized Flickr
2009-09-11 08:41:07 - Proxy Settings called by UploadData
2009-09-11 08:41:13 - URL: 
http://www.flickr.com/photos/41776293@N03/3908435050/sizes/o
2009-09-11 08:41:14 - URL Length: 60; Shortening after 100
2009-09-11 08:41:14 - Shortened
URLhttp://www.flickr.com/photos/41776293@N03/3908435050/sizes/o
2009-09-11 08:41:14 - Job completed: TAKE_SCREENSHOT_WINDOW_ACTIVE

Original comment by mcored on 11 Sep 2009 at 12:42

GoogleCodeExporter commented 9 years ago
Not behind any proxy. These settings worked before. 

http://www.twitpic.com/h9h3d

Original comment by djleg...@gmail.com on 11 Sep 2009 at 1:45

GoogleCodeExporter commented 9 years ago
Im on windows 7 ultimate x64 RTM btw.

Original comment by djleg...@gmail.com on 11 Sep 2009 at 1:51

GoogleCodeExporter commented 9 years ago
I uninstalled the latest version and installed 2.3 and all works good

Original comment by djleg...@gmail.com on 11 Sep 2009 at 2:04

GoogleCodeExporter commented 9 years ago
Released another update just then djlegion. :) 

My only hope is that it will work now. I wonder what old setting that makes it 
stop
working like this. Are you using output type other than PNG?

Original comment by mcored on 12 Sep 2009 at 11:04