|
#1
|
|||
|
|||
![]()
Hi All
After last update 27/11, Folder watcher does not work anymore??:confused: It only moves the .jobcrawler files instantly to added folder without grabbing the links! |
#2
|
|||
|
|||
![]()
I can reproduce that here. The crawljobs are shifted to the added directory, but no links are inserted in the linkcrawler. My crawljobs are the same as usual, because I create them with a python script, so no parameter or "how the link looks like" is changed.
More info I have seen at a test right now: The crawljobs will popup in the downside of the window at the right, (in german: Untere Leiste) where all processes are shown in lighter color and than disapear after the files are moved. Hope that helps.... Bye, Christian P.S.: For that one thing, I don't know the correct english name, sorry... |
#3
|
||||
|
||||
![]()
Can you please attach an example folderwatch file that fails?
@Amiganer: Ich verstehe schon was meinst ![]()
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
![]()
Example file (I think you will have a short one ):
Code:
chunks=0 autoConfirm=true autoStart=true deepAnalyseEnabled=true enabled=true extractAfterDownload=true forcedStart=true packageName=XXXGames_SERENITY CIRCLE text=**External links are only visible to Support Staff** Code:
#! python3 # import os # # ROOT = os.path.abspath(os.path.dirname(__file__)) # # def walk_files(dirpathname :str, recursive=False): """ walk on Disk, Only yield Files """ for item in os.listdir(dirpathname): entry = os.path.join(dirpathname, item) if os.path.isfile(entry): yield entry elif recursive: yield from walk_files(entry, True) def main(savefilename): linklist = dict() package = "" for filename in walk_files(ROOT): if "crawljob" in filename: with open(filename, "rt", encoding="utf-8") as readfp: for line in readfp: if "packageName=" in line: package = line.replace("\n", "").replace("packageName=", "").strip() linklist[package] = list() if "text=" in line: linklist[package].append(line.replace("text=", "")) with open(savefilename, "wt", encoding="utf-8") as writefp: for key, value in linklist.items(): string = "" for line in value: string += "\n"+line writefp.write(key+string+"\n") if __name__=='__main__': main(os.path.join(ROOT, "save.txt")) Bye, Christian Last edited by Amiganer; 28.11.2020 at 13:08. |
#5
|
||||
|
||||
![]()
Looking into it right now
__________________
JD-Dev & Server-Admin |
#6
|
||||
|
||||
![]()
found the cause, update is on the way
__________________
JD-Dev & Server-Admin |
#7
|
||||
|
||||
![]()
Update is live
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
![]()
Thx for your work...
|
![]() |
Thread Tools | |
Display Modes | |
|
|