Comments (9)
Hmm yes, this does sound like a bug.
from irclog2html.
Ah, I missed all the existing file checks while reviewing #20.
I have a fix, and a unit test that doesn't fail when it should, so uhh this will take a little bit.
from irclog2html.
Can you test whether the fix in git master works for you? I'm planning to publish a new release soon, and it would be good to have verification.
from irclog2html.
Thanks for fixing it so quickly.
Can you test whether the fix in git master works for you?
Sure. I'll try to do later tonight.
from irclog2html.
I'm sorry, I tried to test from Git, but didn't manage to build the script following instructions in HACKING.rst. When I run make, I get
python/bin/pip install -U setuptools
Requirement already up-to-date: setuptools in ./python/lib/python3.8/site-packages (57.1.0)
python/bin/python bootstrap.py
ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it's the last version that supports setuptools self upgrade/installation, check https://github.com/pypa/setuptools/issues/581 for more info; use pip to install setuptools
Downloading https://pypi.io/packages/source/s/setuptools/setuptools-33.1.1.zip
Extracting in /tmp/tmpud6k2sp1
Now working in /tmp/tmpud6k2sp1/setuptools-33.1.1
Building a Setuptools egg in /tmp/bootstrap-0rw3jcuw
warning: no files found matching '*' under directory 'setuptools/_vendor'
/tmp/bootstrap-0rw3jcuw/setuptools-33.1.1-py3.8.egg
Couldn't find index page for 'zc.buildout' (maybe misspelled?)
Couldn't find index page for 'zc.buildout' (maybe misspelled?)
No local packages or working download links found for zc.buildout
error: Could not find suitable distribution for Requirement.parse('zc.buildout')
Traceback (most recent call last):
File "bootstrap.py", line 192, in <module>
raise Exception(
Exception: Failed to execute command:
'/tmp/irclog2html/python/bin/python', '-c', "import sys; sys.path[0:0] = ['/tmp/bootstrap-0rw3jcuw/setuptools-33.1.1-py3.8.egg']; from setuptools.command.easy_install import main; main()", '-mZqNxd', '/tmp/bootstrap-0rw3jcuw', 'zc.buildout'
make: *** [Makefile:63: bin/buildout] Error 1
I don't know how to fix that.
from irclog2html.
Ah, sorry about that, the zc.buildout-based development setup is rather obsolete and I should probably rip it out entirely to avoid confusion.
It should be enough to try pip install -e .
the source checkout into some virtualenv (or pip install --user -e .
, whatever you prefer for installing scripts with pip -- I like pipx).
Or I could just publish the new release and hope the unit test I wrote matches your problem sufficiently well.
from irclog2html.
2.17.3 released to PyPI.
from irclog2html.
Thanks for the hint with pip -e
option, I was not aware of it (I'm not much of a Python expert).
Setup worked perfectly with pip install --user -e .
(once I figured out that the files were stored in ~/.local/bin :-/)
I (somewhat belatedly) confirm that your fix addresses the problem. Many thanks !
from irclog2html.
Yeah, Python packaging is a whole thing.
(I've started using pipx myself for installable Python command-line tools, which makes it easier to install/remove/upgrade them than installing everything into one bucket with pip install --user
.)
from irclog2html.
Related Issues (16)
- `AttributeError: readable` in irclogsearch 2.12.0 on Python 2.7 HOT 1
- Dynamic HTML rendering HOT 1
- Make calender view HOT 2
- 2015/2016 release? HOT 2
- Anchors with low-res timestamps
- license clarification HOT 7
- parts of log message missing HOT 3
- Perform search on the client side HOT 3
- Question: Using with data other than files HOT 1
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 8: ordinal not in range(128) HOT 1
- Tell me the complete configuration HOT 1
- Github releases not matching those on PyPI HOT 5
- Use date in anchors where available HOT 4
- Automatically handle gzipped files HOT 6
- Option to show copyright status of the logs themselves
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.
from irclog2html.