Hi @justinmayer !
I just installed pelican from the latest commit and found pelican -lr
to not be working on Windows. Either works, on the other hand (pelican -l
or pelican -r
).
I get the following output:
$ pelican -lrD
DEBUG: Pelican version: 3.7.2.dev0
DEBUG: Python version: 3.6.2
DEBUG: Adding current directory to system path
DEBUG: Temporarily adding PLUGIN_PATHS to system path
DEBUG: Restoring system path
CRITICAL: TypeError: can't pickle generator objects
Traceback (most recent call last):
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\runpy. py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\runpy. py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\Jonathan Hale\AppData\Local\Programs\Python\Python36\Scripts\pe lican.exe\__main__.py", line 9, in <module>
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\site-p ackages\pelican\__init__.py", line 563, in main
p1.start()
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\multip rocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\multip rocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\multip rocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\multip rocessing\popen_spawn_win32.py", line 65, in __init__
reduction.dump(process_obj, to_child)
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\multip rocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: can't pickle generator objects
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\multip rocessing\spawn.py", line 99, in spawn_main
new_handle = reduction.steal_handle(parent_pid, pipe_handle)
File "c:\users\jonathan hale\appdata\local\programs\python\python36\lib\multip rocessing\reduction.py", line 87, in steal_handle
_winapi.DUPLICATE_SAME_ACCESS | _winapi.DUPLICATE_CLOSE_SOURCE)
PermissionError: [WinError 5] Zugriff verweigert
("Zugriff verweigert" means "Access denied")
This is on a basic pelican-quickstart
project, no additional plugins, content or custom theme.
Though this may be important for #2162 .
Cheers, Jonathan.