fahrgastrechte-autofill's People
fahrgastrechte-autofill's Issues
Is the project is still alive?
Hi folks ๐
I just wanted to ask if the project is still alive. ;)
Traceback (most recent call last):
File "fahrgastrechte.py", line 75, in <module>
print(main())
File "fahrgastrechte.py", line 20, in main
args, defaults = functions.get_args()
File "/Users/steinbrueckri/Projects/steinbrueckri/fahrgastrechte-autofill/functions.py", line 59, in get_args
livedata = get_livedata(**vars(args))
File "/Users/steinbrueckri/Projects/steinbrueckri/fahrgastrechte-autofill/functions.py", line 203, in get_livedata
return trip_info.json()
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 892, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)
It doesn't work for me at the moment because of the following error message. The only question is, is it possible to fix this or is the "API" no longer available?
cheers ๐ป Richard
Example defaults.json // docu missing
How can I fill in the fileds json, if i do not know which filed belongs to which field on the pdf.
Either add a example defaults.json or a docu, which is explanin the field numbers.
addwstr() error
If I want to test your program using this commands:
pip3 install -r requirements.txt
python3 fahrgastrechte.py
I got the following error:
Traceback (most recent call last):
File "fahrgastrechte.py", line 177, in <module>
print(main())
File "fahrgastrechte.py", line 50, in main
return npyscreen.wrapper_basic(functools.partial(run_menu, defaults, args))
File "/home/user/.local/lib/python3.6/site-packages/npyscreen/npyssafewrapper.py", line 19, in wrapper_basic
return curses.wrapper(call_function)
File "/usr/lib/python3.6/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "fahrgastrechte.py", line 73, in run_menu
npyscreen.TitleMultiLine, values=fields[n]['FieldStateOption'], name=title, value=i)))
File "/home/user/.local/lib/python3.6/site-packages/npyscreen/fmFormMultiPage.py", line 74, in add_widget_intelligent
return self.add_widget(*args, **keywords)
File "/home/user/.local/lib/python3.6/site-packages/npyscreen/fmForm.py", line 384, in add_widget
*args, **keywords)
File "/home/user/.local/lib/python3.6/site-packages/npyscreen/wgtitlefield.py", line 69, in __init__
self.make_contained_widgets()
File "/home/user/.local/lib/python3.6/site-packages/npyscreen/wgtitlefield.py", line 86, in make_contained_widgets
self.label_widget = textbox.Textfield(self.parent, relx=self.relx, rely=self.rely, width=len(self.name)+1, value=self.name, color=self.labelColor)
File "/home/user/.local/lib/python3.6/site-packages/npyscreen/wgtextbox.py", line 44, in __init__
self.update()
File "/home/user/.local/lib/python3.6/site-packages/npyscreen/wgtextbox.py", line 132, in update
self._print()
File "/home/user/.local/lib/python3.6/site-packages/npyscreen/wgtextbox.py", line 299, in _print
color
_curses.error: addwstr() returned ERR
Commands like python3 fahrgastrechte.py -h
work as intended. The pip3
command worked like I expected.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.