Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: not enough values to unpack (expected 2, got 1) #35

Open
be4 opened this issue Jun 10, 2018 · 0 comments
Open

ValueError: not enough values to unpack (expected 2, got 1) #35

be4 opened this issue Jun 10, 2018 · 0 comments

Comments

@be4
Copy link

be4 commented Jun 10, 2018

OS: Win10 Pro 64 bit
FLaP version: 0.5.0
I used a normal TeXlive 2018 installation and then installed flap and click (both via pip).

The Source-Code of main.tex and lit.bib was in a directory C:\temp\1 and below there were the directories C:\temp\1\pics and C:\temp\1\sections witj further source files.

I tried:
C:\temp>flap 1/main.tex 1-flapped/output
and
C:\temp>flap 1/main.tex output1

In both cases I got:

FLaP 0.5.0
Traceback (most recent call last):
File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\Scripts\flap-script.py", line 11, in
load_entry_point('FLaP==0.5.0', 'console_scripts', 'flap')()
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\click\core.py", line 722, in call
return self.main(*args, **kwargs)
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\ui.py", line 102, in main
Controller(OSFileSystem(), Display(sys.stdout, verbose)).run(tex_file, output)
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\ui.py", line 43, in run
request.execute()
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\engine.py", line 79, in execute
flattened = self._rewrite(self.read_root_tex, str(self.root_tex_file.resource()))
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\engine.py", line 88, in _rewrite
return parser.rewrite()
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\latex\parser.py", line 78, in rewrite
result += self._rewrite_one()
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\latex\parser.py", line 86, in _rewrite_one
return self._evaluate_one()
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\latex\parser.py", line 138, in _evaluate_one
return self.evaluate_command(str(self._next_token))
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\latex\parser.py", line 164, in evaluate_command
return macro.invoke(self)
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\latex\macros.py", line 124, in invoke
return self._execute(parser, invocation)
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\latex\macros.py", line 288, in _execute
style_file = self._fetch_style_file(parser, invocation)
File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\flap\latex\macros.py", line 296, in _fetch_style_file
_, value = each.split("=")
ValueError: not enough values to unpack (expected 2, got 1)

Any help is really appreciated.

Best regards, Bernhard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant