hoo added a comment.
I tried addressing this by changing the output in analyzer.py to:
parser.add_argument("output",
help="The CSV output file (default=sys.stdout)",
default=sys.stdout, nargs='?',
type=CompressedFileType('wt'))TASK DETAIL
hoo added a comment.
Now I encountered:
+ python3 ./build/lib/scripts/analyzer.py /home/hoo/dumpconvert.csv /home/hoo/analyzed-out
INFO:root:computing table
INFO:root:processed 10 entities
…
INFO:root:processed 4220 entities
INFO:root:writing csv
Traceback (most recent call last):
File "
gerritbot added a comment.
Change 413260 merged by jenkins-bot:
[wikibase/property-suggester-scripts@master] Include analyzer.ini when installing the library
https://gerrit.wikimedia.org/r/413260TASK DETAILhttps://phabricator.wikimedia.org/T185598EMAIL PREFERENCEShttps://phabricator.wikimedia.org/
gerritbot added a comment.
Change 413260 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[wikibase/property-suggester-scripts@master] Include analyzer.ini when installing the library
https://gerrit.wikimedia.org/r/413260TASK DETAILhttps://phabricator.wikimedia.org/T185598E
Ladsgroup added a comment.
Oh, That's easily fixable. Let me get that worked out.TASK DETAILhttps://phabricator.wikimedia.org/T185598EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: Aklapper, hoo, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer
hoo added a comment.
I installed it using a virtualenv now… but I then manually had to: cp propertysuggester/analyzer/analyzer.ini lib/python3.4/site-packages/propertysuggester-3.0.0-py3.4.egg/propertysuggester/analyzer/ :/TASK DETAILhttps://phabricator.wikimedia.org/T185598EMAIL PREFERENCEShttps:/
Ladsgroup added a comment.
Overall, I'm a huge fan of getting the whole thing more productionized, like getting a dedicated vm, puppetize it, etc.TASK DETAILhttps://phabricator.wikimedia.org/T185598EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: A
hoo added a comment.
In T185598#3920782, @Ladsgroup wrote:
I haven't changed anything recently, have you tried virtualenv?
I haven't… probably I should.
This was updated on Fri Nov 17 12:33:06 2017 +0100, apparently I didn't update my tool forge checkout of this since.TASK DETAILhttps://phabric
Ladsgroup added a comment.
let me try virtualenv and let you knowTASK DETAILhttps://phabricator.wikimedia.org/T185598EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: Aklapper, hoo, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs,
Ladsgroup added a comment.
I haven't changed anything recently, have you tried virtualenv?TASK DETAILhttps://phabricator.wikimedia.org/T185598EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: Aklapper, hoo, Lahi, Gq86, GoranSMilovanovic, QZanden, La
10 matches
Mail list logo