Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventdesert committed May 1, 2019
1 parent d41e732 commit 0ae832c
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
4 changes: 3 additions & 1 deletion Docs/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,8 @@ http://www.qnsb.com/fzepaper/site1/qnsb/page/1/2012-01/01/A03/20120101A03_pdf.pd
CREATE TABLE DFDSF (diggit_diggnum text,digg_diggit_onclick text,digg_digg_tip_id text,titlelnk text,属性4 text,pfs_src text,a_href text,属性7 text,post_item_foot_lightblue text,属性9 text,article_comment_gray text,article_view_gray text)
# 2019年4月28日
2. 加载市场的单个任务时,会提示找不到任务 ok
2. 当加载单个任务时,发现与当前名称重复时应当提示
2. 当加载单个任务时,发现与当前名称重复时应当提示 pass
3. topic_supplier 不存在 ok
4. 弹出的数据对话框窗口太小 ok
5. 回补数据即使勾选执行器,也无法执行原有执行器
6. 提取测试时,无法将数据表写入 ok
4 changes: 2 additions & 2 deletions Hawk.ETL/Managements/Analyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using Hawk.ETL.Interfaces;
using Hawk.ETL.Plugins.Transformers;
using Hawk.Core.Utils.MVVM;
using Hawk.ETL.Process;

namespace Hawk.ETL.Managements
{
Expand Down Expand Up @@ -116,8 +117,7 @@ public AnalyzeItem Set(IColumnProcess process)
return item;
}
public List<AnalyzeItem> Items { get; set; }


public SmartETLTool Container { get; set; }
}

}
2 changes: 1 addition & 1 deletion Hawk.ETL/Plugins/Generators/EtlGE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public override bool Init(IEnumerable<IFreeDocument> datas)
{
base.Init(datas);
var process = GetProcesses().ToList();
func = process.Aggregate(isexecute: true);
func = process.Aggregate(isexecute: true,analyzer: this.Father.Analyzer); //TODO: BUG
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion Hawk.ETL/Process/SmartCrawler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public SmartCrawler()

var rootPath =
XPath.GetMaxCompareXPath(CrawlItems.Select(d => d.XPath));
if (datas.Count > 0&& MessageBox.Show(GlobalHelper.Get("is_save_to_tables"),GlobalHelper.Get("key_99"),MessageBoxButton.YesNo )==MessageBoxResult.OK)
if (datas.Count > 0&& MessageBox.Show(GlobalHelper.Get("is_save_to_tables"),GlobalHelper.Get("key_99"),MessageBoxButton.YesNo )==MessageBoxResult.Yes)
{
SysDataManager.AddDataCollection(datas,
GlobalHelper.Get("key_624")+"_" + DateTime.Now.ToShortTimeString());
Expand Down
2 changes: 1 addition & 1 deletion Hawk.ETL/Process/SmartETLTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ public void ExecuteDatas(List<TemporaryTask<IFreeDocument>> lastRunningTasks = n
SysProcessManager.CurrentProject.Build();

Analyzer.Start(Name);

Analyzer.Container = this;
var timer = new DispatcherTimer();
if (GenerateMode == GenerateMode.SerialMode && DelayTime > 0)
etls = etls.AddModule(d => d.GetType() == typeof(CrawlerTF),
Expand Down
2 changes: 1 addition & 1 deletion Hawk/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
using System.Windows;
using Hawk.Core.Connectors;
using Hawk.Core.Utils;
using Microsoft.HockeyApp;
using Hawk.ETL.Interfaces;
using Microsoft.HockeyApp;
namespace Hawk
{
/// <summary>
Expand Down
11 changes: 8 additions & 3 deletions Hawk/Lang/zh-CN.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3093,9 +3093,14 @@ X 十六进制 255.ToString("X") FF
6. [数据清洗(2)]() 抓取新闻网页: 列表+详情页, 子任务的简单使用
7. [数据清洗(3)]() 如何下载文件 下载报纸PDF和图片,
8. [数据清洗(4)]() 如何读写数据表/数据库/文件
9. 子任务专辑
10. 抓取手机app应用
11. 答疑和高级操作
8. [数据清洗(5)]() 错误重试
9. [子任务专辑]()
10. [代理和反反爬虫专辑]()
11. [抓取手机app专辑]() 以喜马拉雅为例,浅尝辄止
12. [命令行脚本专辑]() 如何在无界面情况下使用Hawk
12. 答疑和高级操作
13. [编译和二次开发]() 增加新组件,编译时的坑
13. 完整案例1:


友情提示:由于软件更新频繁,界面有较大变化。但Hawk1到Hawk3在操作思路上基本一致,只是文案和布局上有少许区别,因此老版本的视频同样可做重要的参考资料。视频地址如下:
Expand Down

0 comments on commit 0ae832c

Please sign in to comment.