-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi team, and thanks a lot for developing this plugin!
Bug description
I just tried to install the plugin with lektor plugins add lektor-disqus-comments
, but this raises NameError: name 'long' is not defined
. Do you happen to have an idea of where it's coming from?
Thanks in advance for the help, and happy holidays 🎄 🎁 🍾
Packages
- flask: 1.1.2
- lektor: 3.1.3
- python: 3.9.0
Full traceback
Traceback (most recent call last):
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/bin/lektor", line 10, in <module>
sys.exit(main())
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/lektor/cli.py", line 627, in main
cli.main(args=args, prog_name=name)
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/click/decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/lektor/cli.py", line 505, in plugins_add_cmd
info = add_package_to_project(project, name)
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/lektor/packages.py", line 62, in add_package_to_project
cfg['packages.%s' % canonical_name] = version
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/inifile.py", line 463, in __setitem__
self._changes[name] = self.dialect.to_string(value)
File "/Users/alex_andorra/opt/anaconda3/envs/wedding/lib/python3.9/site-packages/inifile.py", line 172, in to_string
if isinstance(value, (int, long, float)):
NameError: name 'long' is not defined
Metadata
Metadata
Assignees
Labels
No labels