puhitaku / mfpy Goto Github PK
View Code? Open in Web Editor NEWMoneyForward クラウド勤怠といい感じに通信していい感じに打刻するやつ
License: MIT License
MoneyForward クラウド勤怠といい感じに通信していい感じに打刻するやつ
License: MIT License
startjobの実行が失敗しました。
おそらくfinishjobも失敗しそうです。
原因としてはMF勤怠の設定により休憩関連のボタンがないので、そこでこけていそうです。
就業ルール: 裁量労働制
休憩打刻: 受け付けない
python -m mfpy -c {会社ID} -u {ユーザーID} -p {パスワード} startjob
Traceback (most recent call last):
File "/Users/hikoy/.pyenv/versions/3.8.1/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/hikoy/.pyenv/versions/3.8.1/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/hikoy/project/src/github.com/puhitaku/mfpy/mfpy/__main__.py", line 105, in <module>
cmd()
File "/Users/hikoy/.pyenv/versions/3.8.1/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/Users/hikoy/.pyenv/versions/3.8.1/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/hikoy/.pyenv/versions/3.8.1/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/hikoy/.pyenv/versions/3.8.1/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/hikoy/.pyenv/versions/3.8.1/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/hikoy/.pyenv/versions/3.8.1/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/hikoy/project/src/github.com/puhitaku/mfpy/mfpy/__main__.py", line 28, in startjob
ok, status = client.start_job()
File "/Users/hikoy/project/src/github.com/puhitaku/mfpy/mfpy/mf.py", line 128, in start_job
return self._record(_Ops.clock_in)
File "/Users/hikoy/project/src/github.com/puhitaku/mfpy/mfpy/mf.py", line 169, in _record
start_break = mbs.find('input', attrs={'value': 'start_break'}).parent
AttributeError: 'NoneType' object has no attribute 'parent'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.