k1dv5 / docal-tkinter Goto Github PK
View Code? Open in Web Editor NEWGUI for docal made with tkinter
License: MIT License
GUI for docal made with tkinter
License: MIT License
Traceback (most recent call last): File "C:\Users\user\anaconda3\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Users\user\anaconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\user\anaconda3\lib\site-packages\docal_tkinter\__main__.py", line 6, in <module> app = App() File "C:\Users\user\anaconda3\lib\site-packages\docal_tkinter\app.py", line 25, in __init__ self.worksheet = Worksheet(self) File "C:\Users\user\anaconda3\lib\site-packages\docal_tkinter\worksheet.py", line 63, in __init__ self.update_above(first) # to include the math functions File "C:\Users\user\anaconda3\lib\site-packages\docal_tkinter\worksheet.py", line 109, in update_above self.process('from math import *') # scientific math funcs File "C:\Users\user\anaconda3\lib\site-packages\docal\processing.py", line 92, in process for part in _get_parts(parts): File "C:\Users\user\anaconda3\lib\site-packages\docal\parsing.py", line 737, in _get_parts line = p.end_lineno + 1 AttributeError: 'ImportFrom' object has no attribute 'end_lineno'
I found in the GUI Chinese characters are supportted to display, but when output to a docx file, it bug.
Hello,
Tried to run docal-tkinter on Ubuntu and faced an issue:
ImportError: cannot import name 'startfile' from 'os' (/usr/lib/python3.7/os.py)
Checked in source code and found, the startfile
can be used in windows only:
if sys.platform == 'win32':
def startfile(path: AnyPath, operation: Optional[str] = ...) -> None: ...
My traceback is below:
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/user/PycharmProjects/docal-try/venv/lib/python3.7/site-packages/docal_tkinter/__main__.py", line 2, in <module>
from docal_tkinter.app import App
File "/home/user/PycharmProjects/docal-try/venv/lib/python3.7/site-packages/docal_tkinter/app.py", line 3, in <module>
from .sidebar import Sidebar
File "/home/user/PycharmProjects/docal-try/venv/lib/python3.7/site-packages/docal_tkinter/sidebar.py", line 4, in <module>
from os import startfile, path
ImportError: cannot import name 'startfile' from 'os' (/usr/lib/python3.7/os.py)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.