Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
In Ui Under Execution Tab, I See That The Trains Has

in UI under execution tab, i see that the trains has script path listed as -m test.scripts

  
  
Posted 4 years ago
Votes Newest

Answers 12


test package is not installed but its in the current working directory

  
  
Posted 4 years ago

i can not check the working directory today due to vpn issues in accessing server but script path was -m test.scripts it was missing script from it

  
  
Posted 4 years ago

PompousParrot44 did you manage to get it working ?

  
  
Posted 4 years ago

PompousParrot44 What is the "working directory" on the experiment itself? and the "script path"?
Based on what you wrote above, in order for it work you should have:
working directory: "."
script path: "-m test.scripts.script"
notice no "--args" and working directory is "." (i.e. the root of the repository)

  
  
Posted 4 years ago

What's the "working directory" ?
What's the trains-agent version?
(yes this should have worked, as long as the package "test" is there)

  
  
Posted 4 years ago

trains-agent version as mentioned is 0.16.1 and server is 0.16.1 as well

  
  
Posted 4 years ago

PompousParrot44 please try to reply on the thread, so we do not create a mess in the main channel 🙂
What's the "working directory" in the execution section? Do you have package "test" in the installed packages?

  
  
Posted 4 years ago

AgitatedDove14 sorry having issues on my side to connect to server to test it.. but directory structure when i execute the command is like this
Directory layout: ~/test/scripts/script.py ~$ python -m test.scripts.script --args

  
  
Posted 4 years ago

👍

  
  
Posted 4 years ago

with this layout.. it didn't work earlier

  
  
Posted 4 years ago

Let me know if you managed to get it working, then we can see if we can detect it automatically.

  
  
Posted 4 years ago

PompousParrot44 I assume the folder structure is something like:
repo_root:
--> test
-----> scripts
If this is the case, make sure the ""working directory" is . which means repository root

  
  
Posted 4 years ago