question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setup.py is missing out package 'admin'

See original GitHub issue

I’ve installed papermerge through setup.py but the resulting package is missing out ‘admin’ and isn’t starting.

A workaround to for this is to copy papermerge/contrib into build/lib/papermerge before running python setup.py build and python setup.py install --root="$pkgdir" --optimize=1 --skip-build later.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
Luckicommented, Sep 23, 2020

I actually did create all necessary PKGBUILDs for Arch Linux but currently I’m not happy with Papermerge after some fiddling around so I think I’m not going to push them into the AUR.

2reactions
Luckicommented, Sep 27, 2020

I’m coming from Paperwork and while I’m still happy with it I wanted to look into similar project with multi user capability.

So here’s a list with things which aren’t ideal IMHO:

  • In contrast to Paperwork or Docspell this uses a folder base approach and is really bad at it:
    • It’s missing drag and drop or a context menu which adds five extra steps to every process. Automation helps here but you can’t automate all of them in advance.
      • While cutting and moving pages also has the same problem it’s nice to have it and I don’t see another good way to do this. You don’t see this feature that often.
    • Modal popup input fields don’t get automatic text focus.
  • Having a multi user setup is pointless if only the superuser inbox is usable.
    • Fetching emails has to be a user setting.
    • Maybe watch subdirs for users?
  • Lack of feedback everywhere
    • Nothing happens when uploading finished.
    • Reloading the page and looking in the document is missing selectable text. Has processing failed or is it still on it? Do I have to retry? How do I let it process the document again? (It’s possible to get some of the information in the log section but only if it was somewhat successful)
  • Scrolling documents to the bottom is a pain. The site has 4 (!) vertical and 3 horizontal scroll bars which activate one after another until you’re finally at the bottom.
  • No fuzzy search. OCR often falsely recognizes characters or words or both and having a fuzzy search is crucial. A bit less than for Paperwork or Docspell because Papermerge uses folders but still important. (Search you demo for “Gesamtbetrag”, which it indexed as “Gesantbetrag”)
  • The right side menu (meta) is ugly compared to the other elements.
  • Automation based on pages will probably bite me later by ripping documents apart. Haven’t tried that feature yet though.
  • Minor thing: No dark theme.
Read more comments on GitHub >

github_iconTop Results From Across the Web

"pip install unroll": "python setup.py egg_info" failed with error ...
Open a command prompt in elevated mode (run as administrator) · Firstly do pip install ez_setup · Then do pip install unroll (It...
Read more >
Why you shouldn't invoke setup.py directly - Paul Ganssle
There are undoubtedly many ways that your setup. py-based system is broken today, even if it's not failing loudly or obviously.
Read more >
2. Writing the Setup Script — Python 3.11.1 documentation
The setup script is the centre of all activity in building, distributing, and installing modules using the Distutils. The main purpose of the...
Read more >
Django settings - Django documentation
A settings file is just a Python module with module-level variables. ... export DJANGO_SETTINGS_MODULE=mysite.settings django-admin runserver.
Read more >
Knowledge Bits — Common Python Packaging Mistakes
You're using find_packages() to autolocate your project's packages, but you failed to add an __init__.py file to the top-level package (and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found