Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
__sipath__, why are you so useless :/
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alan Fregtman  
View profile   Translate to Translated (View Original)
 More options May 18 2012, 5:57 pm
From: Alan Fregtman <alan.fregt...@gmail.com>
Date: Fri, 18 May 2012 17:57:49 -0400
Local: Fri, May 18 2012 5:57 pm
Subject: __sipath__, why are you so useless :/

Why is it that __sipath__ isn't set most of the time?

Docs say:

import siutils
# Add this plug-in path to python path
siutils.add_to_syspath(__sipath__)

but it errors! :(

#   File "<Script Block >", line 29, in <module>
#     siutils.add_to_syspath(__sipath__)
# NameError: name '__sipath__' is not defined
#

I'm trying to load a Python module in the same folder as the plugin. I
can't use Application.Plugins(PLUGIN_NAME).OriginPath until the plugin is
registered, and __sipath__ doesn't really work, so what else can I try?

Any help appreciated.
Cheers,

  -- Alan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »