Git Product home page Git Product logo

meld3's Introduction

Supervisor

Supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems.

Supported Platforms

Supervisor has been tested and is known to run on Linux (Ubuntu), Mac OS X (10.4, 10.5, 10.6), and Solaris (10 for Intel) and FreeBSD 6.1. It will likely work fine on most UNIX systems.

Supervisor will not run at all under any version of Windows.

Supervisor is intended to work on Python 3 version 3.4 or later and on Python 2 version 2.7.

Documentation

You can view the current Supervisor documentation online in HTML format . This is where you should go for detailed installation and configuration documentation.

Reporting Bugs and Viewing the Source Repository

Please report bugs in the GitHub issue tracker.

You can view the source repository for supervisor via https://github.com/Supervisor/supervisor.

Contributing

We'll review contributions from the community in pull requests on GitHub.

meld3's People

Contributors

alex avatar avdn avatar mcdonc avatar mnaberez avatar msabramo avatar puentesarrin avatar tseaver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

meld3's Issues

meld3.c is missing from tarball

$TITLE says it all, really.

Either you need to add it to MANIFEST.in or make sure USE_MELD3_EXTENSION_MODULES=1 is set when you run "setup.py sdist" to create the release tarball.

Python 3

  • Fix running tests on Python 3 AttributeError: 'module' object has no attribute 'test_meld3'
  • Fix the package so that we can change the imports from from .meld3 back to from meld3 in a way that works on both Python 2 and 3.
  • Fix test failures on Python 2.7 FAIL: test_escape_attrib_unicodeerror and FAIL: test_escape_cdata_unicodeerror
  • Find why the except cause for import fixtag was changed from except ImportError: to except: and change it back if possible.
  • Add tests for example.py and melddiff.py.
  • Fix test failure on Python 3.3 FAIL: test_fillmeldhtmlform
  • Fix test failure on Python 3.3 FAIL: test_dupe_meldids_fails_parse_xml
  • Fix implementation of _encode_entity on Python 3.
  • Fix test failure on Python 3.3 FAIL: test_escape_attrib_unicodeerror (related to _encode_entity)
  • Fix test failure on Python 3.3 FAIL: test_escape_cdata_unicodeerror (related to _encode_entity)
  • Fix warning on Python 3.3 DeprecationWarning: This method of XMLParser is deprecated...
  • Update classifiers in setup.py

Deprecation warning due to invalid escape sequences

Using raw strings or escaping them will fix the issue.

find . -iname '*.py'  | xargs -P 4 -I{} python3.8 -Wall -m py_compile {}

./meld3/__init__.py:1101: DeprecationWarning: invalid escape sequence \w
  _NONENTITY_RE = re.compile(_b('&(?!([#\w]*;))')) # negative lookahead assertion

meld 1.0.1 breaks supervisor 3.1.3

As soon as the release was cut, this broke supervisor for me.

Traceback (most recent call last):
  File "/usr/local/bin/supervisorctl", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 2603, in <module>
    working_set.require(__requires__)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 666, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 565, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: meld3>=0.6.5

Fix warning on Python 3.4

Blocks #17

py34 runtests: commands[0] | python setup.py test -q
running test
running egg_info
writing top-level names to meld3.egg-info/top_level.txt
writing dependency_links to meld3.egg-info/dependency_links.txt
writing meld3.egg-info/PKG-INFO
reading manifest file 'meld3.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'meld3.egg-info/SOURCES.txt'
running build_ext
.../meld3/meld3/__init__.py:778: DeprecationWarning: The value of convert_charrefs will become True in 3.5. You are encouraged to set the value explicitly.
  HTMLParser.__init__(self)
.................................................................................
----------------------------------------------------------------------
Ran 84 tests in 0.028s

OK

pkg_resources.DistributionNotFound: meld3>=0.6.5

just got this on a fresh supervisor install on ubuntu 12.04. Fixed it with meld3==1.0.0

Error: /Stage[main]/Supervisord::Service/Service[supervisord]/ensure: change from stopped to running failed: Could not start Service[supervisord]: Execution of '/etc/init.d/supervisord start' returned 1: Starting supervisor: Traceback (most recent call last):
  File "/usr/local/bin/supervisord", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line
 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: meld3>=0.6.5

meld3 1.0.2 is breaking supervisor

Hi the latest meld3 is breaking supervisor. If we downgrade meld3 to 1.0.1 supervisor works.

:# /etc/init.d/supervisor start
Starting supervisor: /usr/bin/dirname: extra operand .pid' Try/usr/bin/dirname --help' for more information.
Traceback (most recent call last):
File "/usr/bin/supervisord", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in
working_set.require(requires)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: meld3>=0.6.5
[FAILED]
:
# pip list | grep meld3
meld3 (1.0.2)

supervisor (3.1.3)

The URL of xmlns definition does not reply

The domain 'plope.com' does not reply so the example of html provides a link for the xml namespace which can not reply correctly:

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:meld="http://www.plope.com/software/meld3"
      xmlns:bar="http://foo/bar">

This definition is used in Supervisor (in ui/status.html and ui/tail.html).

$ wget http://www.plope.com/software/meld3
--2019-07-25 17:51:10--  http://www.plope.com/software/meld3
Resolving www.plope.com (www.plope.com)... 64.34.174.146
Connecting to www.plope.com (www.plope.com)|64.34.174.146|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

I don't know what is the best solution:

  • fix the webservice (if you can)?
  • provide the xml file in the repository?
  • remove the xmlns definition in html example?

I can send an e-mail to the tech e-mail address provided by the whois if you want.

Implement _encode_entity for Python 2.7

Pull request #4 fixed a bug where _encode_entity was used by the code but not being imported.

On Python 2.7, this method was removed (we also had this problem with fixtag). The patch in #4 defines it as a no-op but we should put in an actual implementation.

meld3-0.6.8: fails tests

* Testing of dev-python/meld3-0.6.8 with CPython 2.7...
....................................................E.............................
======================================================================
ERROR: test_unknown_entity (__main__.WriterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_meld3.py", line 1677, in test_unknown_entity
    '<html><head></head><body>&fleeb;</body></html>')
  File "/usr/lib64/python2.7/unittest/case.py", line 471, in assertRaises
    callableObj(*args, **kwargs)
  File "test_meld3.py", line 1297, in _parse
    root = parse_xmlstring(xml)
  File "/mnt/gen2/TmpDir/portage/dev-python/meld3-0.6.8/work/meld3-0.6.8/meld3/meld3.py", line 937, in parse_xmlstring
    return parse_xml(source)
  File "/mnt/gen2/TmpDir/portage/dev-python/meld3-0.6.8/work/meld3-0.6.8/meld3/meld3.py", line 928, in parse_xml
    return do_parse(source, parser)
  File "/mnt/gen2/TmpDir/portage/dev-python/meld3-0.6.8/work/meld3-0.6.8/meld3/meld3.py", line 915, in do_parse
    root = et_parse(source, parser=parser).getroot()
  File "/usr/lib64/python2.7/site-packages/elementtree/ElementTree.py", line 859, in parse
    tree.parse(source, parser)
  File "/usr/lib64/python2.7/site-packages/elementtree/ElementTree.py", line 583, in parse
    parser.feed(data)
  File "/usr/lib64/python2.7/site-packages/elementtree/ElementTree.py", line 1242, in feed
    self._parser.Parse(data, 0)
ExpatError: undefined entity: line 1, column 25

----------------------------------------------------------------------
Ran 82 tests in 0.177s

I have no idea what file the unidentified entity is referring to. You can sort.

test_unknown_entity (main.WriterTests).
hmm. Is it intended to read content from a main ??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.