Git Product home page Git Product logo

texteditor's Introduction

๐Ÿช Hi! I'm Juan Pablo

I develop open-source software, primarily Python tools and libraries, to satisfy my own needs, curiosity, and interests, but maybe you will find them useful too ๐Ÿ˜‰

I am open to work, reach me out by email at [email protected] ๐Ÿ“ซ and on LinkedIn or Twitter/X

texteditor's People

Contributors

jpsca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

fra589

texteditor's Issues

Entry point not found error with texteditor module

I am running windows 10 and have installed the texteditor module with 'pip install texteditor'

when importing via 'import texteditor' i received the attached error message.

I have uninstalled and reinstalled but with the same results.

texteditor-error

open() does not wait for text editor to close

While using the open() function to open an existing file on macOS, the file will be opened but its changes will not be returned by the function.

When not opening an existing file, the text editor application will open but no document appears. Once again the function does not return any changes.

PermissionError

When I run the texteditor.open("Some text") I get the following error:

PermissionError: [Errno 13] Permission denied: 'C:\Users\...\AppData\Local\Temp\tmpp_f8wv34.txt'

How to solve it?

texteditor module not compiling withi PyInstaller

I can compile a simple program (see below) which calls the texteditor module succesfully. but upon launching the executable I get the error shown although the source runs with no issues before compile.

`#!/usr/bin/python3

import texteditor
text = texteditor.open(filename = 'readme.md')`

When running the executable on my windows 10 machine the below errors are displayed:

Traceback (most recent call last):
File "texted.py", line 3, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in load_unlocked
File "c:\users\cvsch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
exec(bytecode, module.dict)
File "texteditor_init
.py", line 2, in
File "", line 1007, in _find_and_load
File "", line 986, in find_and_load_unlocked
File "", line 680, in load_unlocked
File "c:\users\cvsch\appdata\local\programs\python\python39\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 493, in exec_module
exec(bytecode, module.dict)
File "texteditor\version.py", line 4, in
File "pkg_resources_init
.py", line 899, in require
File "pkg_resources_init
.py", line 785, in resolve
pkg_resources.DistributionNotFound: The 'text-editor' distribution was not found and is required by the application
[21060] Failed to execute script texted

a 'pip list' does show the required package is installed.

C:\Users\cvsch\Documents\pyqtprojects\oog4b201018-2200\dist\texted>pip list
Package Version


altgraph 0.17
beautifulsoup4 4.9.3
bs4 0.0.1
desktop-file 1.2
future 0.18.2
iso8601 0.1.13
pefile 2019.4.18
pip 20.2.4
py2exe 0.9.2.2
pyinstaller 4.0
pyinstaller-hooks-contrib 2020.9
pypiwin32 223
PyQt5 5.15.1
PyQt5-sip 12.8.1
PyQt5Designer 5.14.1
pyserial 3.4
pywin32 228
pywin32-ctypes 0.2.0
PyYAML 5.3.1
serial 0.0.97
setuptools 49.2.1
soupsieve 2.0.1
text-editor 1.0.5

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.