Home Download Buy Blog Forum Support

Dev Build 3046

Re: Dev Build 3046

Postby schlamar on Fri Jun 28, 2013 6:31 am

jps wrote:With regards to LaTeXing, the .sublime-package file contains .pyc files, which aren't supported by Sublime Text's custom importer

Maybe you should clarify that *.pyc just don't work within a .sublime-package, extracted everything is fine...
schlamar
 
Posts: 102
Joined: Tue Feb 19, 2013 2:11 pm

Re: Dev Build 3046

Postby sublimator on Fri Jun 28, 2013 6:44 am

No `pyc` is a pretty shitty limitation for commercial plugins

I think @wbond releases some of his plugins in that form?
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 648
Joined: Thu Mar 20, 2008 5:41 am

Re: Dev Build 3046

Postby schlamar on Fri Jun 28, 2013 7:50 am

castles_made_of_sand wrote:No `pyc` is a pretty shitty limitation for commercial plugins

They work, see my post above.
schlamar
 
Posts: 102
Joined: Tue Feb 19, 2013 2:11 pm

Re: Dev Build 3046

Postby schlamar on Fri Jun 28, 2013 7:52 am

The importer still has issues, a plugin with a SyntaxError (e.g. just `print 'x'` without braces) results in

Code: Select all
reloading plugin User.analyse
  File "C:\Users\schlaich\Sublime Text 3\sublime_plugin.py", line 71, in reload_plugin
    m = imp.reload(m)
  File "X/imp.py", line 252, in reload
  File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1023, in load_module
  File "<frozen importlib._bootstrap>", line 1004, in load_module
  File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 854, in _load_module
  File "<frozen importlib._bootstrap>", line 981, in get_code
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
None
schlamar
 
Posts: 102
Joined: Tue Feb 19, 2013 2:11 pm

Re: Dev Build 3046

Postby schlamar on Fri Jun 28, 2013 7:58 am

Plus there is really strange behavior for function call argument mismatch on embedded console:

Code: Select all
>>> from User.preferences import _set_font_size
>>> _set_font_size(1)
  File "<string>", line 1, in <module>
None


Expected is TypeError: _set_font_size() takes no arguments (1 given)
schlamar
 
Posts: 102
Joined: Tue Feb 19, 2013 2:11 pm

Re: Dev Build 3046

Postby schlamar on Fri Jun 28, 2013 10:38 am

Ah sorry, the exception issues are introduced by LaTeXing: https://bitbucket.org/LaTeXing/latexing ... -for-every

(Note to myself: check all issues with plain ST without plugins)
schlamar
 
Posts: 102
Joined: Tue Feb 19, 2013 2:11 pm

Re: Dev Build 3046

Postby sublimator on Fri Jun 28, 2013 11:01 am

They work, see my post above.


Just not with .sublime-package zips ?
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 648
Joined: Thu Mar 20, 2008 5:41 am

Re: Dev Build 3046

Postby jps on Fri Jun 28, 2013 11:32 am

castles_made_of_sand wrote:No `pyc` is a pretty shitty limitation for commercial plugins


I've got nothing against pyc files, the code just hasn't been written. I'm happy to accept patches against sublime_plugin.py if anyone needs support.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 3046

Postby sublimator on Fri Jun 28, 2013 11:36 am

lol, love how you added a `?` to the quote, subtle :)
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 648
Joined: Thu Mar 20, 2008 5:41 am

Re: Dev Build 3046

Postby jps on Fri Jun 28, 2013 11:52 am

castles_made_of_sand wrote:lol, love how you added a `?` to the quote, subtle :)

Typo, fixed now :)
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 24 guests

cron