LeassTaTT / zscreen

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

Can't upload SS to FTP server #615

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ttttWhat steps will reproduce the problem?
1. Alt+Print Screen
2.
3.

What is the expected output? What do you see instead?
The file to be uploaded to the FTP server and URL to be copied to clipboard

What version of the product are you using? On what operating system?
2011-09-29 20:29:20.837 - ZScreen 4.4.1 r2600 started
2011-09-29 20:29:20.837 - Operating system: Microsoft Windows NT 6.1.7600.0
2011-09-29 20:29:20.839 - Core file: 
C:\Users\JoeyLau\AppData\Local\ZScreen\AppSettings.xml
2011-09-29 20:29:20.839 - Root Folder: C:\Users\JoeyLau\Documents\ZScreen
2011-09-29 20:29:20.839 - Initializing Default folder paths...
2011-09-29 20:29:24.412 - LoadSettings started
2011-09-29 20:29:24.414 - Settings load started: 
C:\Users\JoeyLau\Documents\ZScreen\Settings\GoogleTranslateConfig.xml
2011-09-29 20:29:24.417 - Settings load started: 
C:\Users\JoeyLau\Documents\ZScreen\Settings\ZScreen-4.4.1-Settings.xml
2011-09-29 20:29:24.419 - Settings load started: 
C:\Users\JoeyLau\Documents\ZScreen\Settings\WorkflowConfig.xml
2011-09-29 20:29:24.563 - Settings load finished: 
C:\Users\JoeyLau\Documents\ZScreen\Settings\GoogleTranslateConfig.xml
2011-09-29 20:29:25.667 - Settings load finished: 
C:\Users\JoeyLau\Documents\ZScreen\Settings\WorkflowConfig.xml
2011-09-29 20:29:26.602 - ZScreen_Load started
2011-09-29 20:29:27.637 - ZScreen_Load finished - 1035ms
2011-09-29 20:29:30.559 - Settings load finished: 
C:\Users\JoeyLau\Documents\ZScreen\Settings\ZScreen-4.4.1-Settings.xml
2011-09-29 20:29:30.559 - LoadSettings finished - 6146ms
2011-09-29 20:29:30.565 - bwConfig_RunWorkerCompleted started
2011-09-29 20:29:30.568 - Proxy Config: NoProxy called by 
bwConfig_RunWorkerCompleted
2011-09-29 20:29:30.570 - Configuring ZScreen GUI via 
bwConfig_RunWorkerCompleted
2011-09-29 20:29:31.209 - Registered Clipboard Monitor via 
bwConfig_RunWorkerCompleted
2011-09-29 20:29:31.223 - Proxy Config: NoProxy called by updateThread_DoWork
2011-09-29 20:29:31.248 - Registered hotkey for Capture Entire Screen
2011-09-29 20:29:31.251 - Registered hotkey for Capture Active Window
2011-09-29 20:29:31.251 - Registered hotkey for Capture Rectangular Region
2011-09-29 20:29:31.251 - Registered hotkey for Capture Selected Window
2011-09-29 20:29:31.252 - Registered hotkey for Capture Shape
2011-09-29 20:29:31.253 - Registered hotkey for Clipboard Upload
2011-09-29 20:29:31.254 - Keyboard Hook initiated
2011-09-29 20:29:31.264 - bwConfig_RunWorkerCompleted finished - 698ms
2011-09-29 20:29:31.264 - ZScreen startup time: 10433 ms
2011-09-29 20:29:31.282 - ZScreen_Windows7onlyTasks
2011-09-29 20:29:34.684 - Tested /i/2011/09/ sub-folder path in JoeyLau.com - 
ftp.joeylau.com:21
2011-09-29 20:30:58.254 - Capturing with DWM
2011-09-29 20:30:58.744 - Clean transparent corners
2011-09-29 20:30:58.810 - Setting Image 1322x799 to WorkerTask
2011-09-29 20:31:17.314 - Unregistered Clipboard Monitor via 
RunWorkerAsync_Screenshots
2011-09-29 20:31:17.326 - Job started: CaptureActiveWindow
2011-09-29 20:31:17.390 - Writing image 1322x799 to 
C:\Users\JoeyLau\Documents\ZScreen\Images\2011-09\httptwitter.com_is_not_availab
le_-_Google_Chrome-2011-09-29_20.30.58.png
2011-09-29 20:31:17.528 - Unhandled exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be 
non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at ZScreenLib.WorkerTask.UploadFile(FileUploaderType fileUploaderType, Stream data)
   at ZScreenLib.WorkerTask.UploadImage(ImageUploaderType imageUploaderType, Stream data)
   at ZScreenLib.WorkerTask.UploadImage()
   at ZScreenLib.WorkerTask.PublishData()
   at ZScreenGUI.ZScreen.BwApp_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
2011-09-29 20:32:59.718 - ZSS.HelpersLib continue.

Please provide any additional information below.

Original issue reported on code.google.com by Meg...@gmail.com on 29 Sep 2011 at 10:35

GoogleCodeExporter commented 9 years ago
In v4.4.1 I am also unable to select the FTP Server I've added to send 
screenshots to in the menu option, "Upload Image to:"

In fact I have both Dropbox AND my FTP Server added, and "File Uploader" is a 
greyed out option under "Upload Image to:"

Original comment by zath...@gmail.com on 3 Oct 2011 at 5:30

GoogleCodeExporter commented 9 years ago
Try re-adding the FTP Server?

But i plan to uninstall ZScreen and install an older release...
At least the previous version were working perfectly...

Original comment by Meg...@gmail.com on 4 Oct 2011 at 6:06

GoogleCodeExporter commented 9 years ago
Meg... thanks for the bug report, how many FTP accounts do you have set up in 
Output configurations.. > File Uploaders > FTP ? 

Original comment by mcored on 4 Oct 2011 at 9:58

GoogleCodeExporter commented 9 years ago
I think you need add same tab "FTP" to Image Uploaders too... Thanks! :)

Original comment by dmitry.m...@gmail.com on 12 Oct 2011 at 10:35

GoogleCodeExporter commented 9 years ago
I try to add 1 FTP account, test it and got error:

System.NullReferenceException: В экземпляре объекта не 
задана ссылка на объект.
   в Starksoft.Net.Ftp.FtpClient.Close()
   в UploadersLib.FTP.Dispose()
   в UploadersLib.UploadersConfigForm.TestFTPAccount(FTPAccount account, Boolean silent)
   в System.Windows.Forms.Control.OnClick(EventArgs e)
   в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в System.Windows.Forms.ButtonBase.WndProc(Message& m)
   в System.Windows.Forms.Button.WndProc(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Original comment by dmitry.m...@gmail.com on 12 Oct 2011 at 10:37

GoogleCodeExporter commented 9 years ago
Tested in stable 4.4.1 ver.
updated to beta version 4.5.0 rev. 2654 - same error.
updated to dev version 4.7.1 rev. 2729 - same error.

Original comment by dmitry.m...@gmail.com on 12 Oct 2011 at 10:44

GoogleCodeExporter commented 9 years ago
Issue 635 has been merged into this issue.

Original comment by TheDeat...@gmail.com on 12 Oct 2011 at 9:41

GoogleCodeExporter commented 9 years ago
Updated to ver. ZScreen-4.7.2.2766 - same bug :(

Original comment by dmitry.m...@gmail.com on 16 Oct 2011 at 11:09

GoogleCodeExporter commented 9 years ago
Can you please provide a screenshot of the FTP tab with the aid of tinypic or 
imageshack? http://i53.tinypic.com/tasjz6.png

Original comment by mcored on 16 Oct 2011 at 11:35

GoogleCodeExporter commented 9 years ago
http://img11.imageshack.us/img11/9863/ftpsettings.gif

Original comment by dmitry.m...@gmail.com on 16 Oct 2011 at 12:18

GoogleCodeExporter commented 9 years ago
Click "Test" and got error:
http://img194.imageshack.us/img194/6421/ftp2.gif

Original comment by dmitry.m...@gmail.com on 16 Oct 2011 at 12:20

GoogleCodeExporter commented 9 years ago
Downloaded latest dev-version 4.7.3.2820 got other error then try to test FTP:
http://img542.imageshack.us/img542/1237/bug1e.png
I have no proxy...

And more: Got error when try to upload to imageshack:
http://img69.imageshack.us/img69/448/bug2g.png

Original comment by dmitry.m...@gmail.com on 23 Oct 2011 at 8:09

GoogleCodeExporter commented 9 years ago
Hi this is a very troubling issue. Do you have "No Proxy" here in ZScreen 4.7.3 
r2820 http://goo.gl/DStBl 51 KiB ? 

Original comment by mcored on 23 Oct 2011 at 10:28

GoogleCodeExporter commented 9 years ago
Yes, no proxy at this tab:
http://img215.imageshack.us/img215/2455/noproxy.png

You can contact with me by Google Talk, I'll can test your soft in real time, I 
very want that ZScreen will be without bugs :)

Original comment by dmitry.m...@gmail.com on 23 Oct 2011 at 10:33

GoogleCodeExporter commented 9 years ago
It says "Manual configuration" dmitry! 
Change it to "No Proxy"
I will make sure if there are not proxy, it will work even if "Manual Proxy" is 
set. 
Thanks. 

Original comment by mcored on 23 Oct 2011 at 10:36

GoogleCodeExporter commented 9 years ago
I checked and ZScreen still managed to upload okay with "Manual Proxy". 
Time to try http://zscreen.googlecode.com/files/ZUploader-4.7.1.2809-setup.exe 
:)
Please let me know how it goes. 
I have already added you in Google Talk. 

Original comment by mcored on 23 Oct 2011 at 11:37

GoogleCodeExporter commented 9 years ago
Last dev ZScreen version without this bug. You can close Issue :)

Original comment by dmitry.m...@gmail.com on 24 Oct 2011 at 9:14

GoogleCodeExporter commented 9 years ago
Thanks  dmitry.m...

Original comment by mcored on 24 Oct 2011 at 9:16