New Install help

217 views
Skip to first unread message

Hi-Impact Studio

unread,
Aug 13, 2016, 6:42:26 AM8/13/16
to Bots Open Source EDI Translator
Hey Everyone, just getting in to trying to get Bots installed for the first time. Ive done a windows install and a macos install. Ill move forward on my mac since it is my developer machine. 
I ge the same error on either machine. But specs from my mac are. 

Python 2.7.12
Django 3.2.0

on both machines I get this error when trying to read in a plugin.

Server Error (500)

        Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/Library/Python/2.7/site-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/Users/rnewberger/botsa/bots/views.py", line 447, in plugin
    notification = -(u'Error reading plugin: "%s".')%unicode(msg)
TypeError: bad operand type for unary -: 'unicode'

        
Ive searched a bit and tried a few things that I found.. upgrading downgrading django.. but I still am getting this error. 

Any help or point in the right direction would be great. 


Thanks much... 

Rich


henk-jan ebbers

unread,
Aug 13, 2016, 6:45:05 AM8/13/16
to bots...@googlegroups.com
> --
> You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com <mailto:botsmail+u...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

hjebbers

unread,
Aug 13, 2016, 8:14:24 AM8/13/16
to Bots Open Source EDI Translator
hi hi-impact
use django 1.6 or 1.7

kind regards,
henk-jan

Hi-Impact Studio

unread,
Aug 14, 2016, 1:00:50 PM8/14/16
to Bots Open Source EDI Translator
thanks... 

tried 1.6.10 and 1.7 still the same error..

Server Error (500)

        Traceback (most recent call last):
  File "/Library/Python/2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Library/Python/2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/Users/rnewberger/botsa/bots/views.py", line 447, in plugin
    notification = -(u'Error reading plugin: "%s".')%unicode(msg)
TypeError: bad operand type for unary -: 'unicode'

        

henk-jan ebbers

unread,
Aug 14, 2016, 1:12:41 PM8/14/16
to bots...@googlegroups.com
looking better:
this is indeed bug.
(reported before on mailing list).
code should be:

notification = _(u'Error reading plugin: "%s".')%unicode(msg)

(replace minus-sing with underscore.

this is because of error in plugin.
where does plugin come from?
(note that eg x12 grammrs or edifact grammrs are not in a plugin).

kind regards,
henk-jan

Hi-Impact Studio

unread,
Aug 15, 2016, 11:48:04 AM8/15/16
to Bots Open Source EDI Translator
Thanks much for the help.. a bit further now. 

  • Backup plugin "/botsa/bots/botssys/backup_plugin_20160815174520.zip" is written successful.
  • Error reading plugin: "Error in plugin. Nothing is written. Error: ZipImportError: can't find module 'botsindex' ".
Im trying to get my_first_plugin in to get started. I unzipped the file and I do see botsindex.py in there.. 

Ill dig around and see if I can find related info now. 

-Rich




On Saturday, August 13, 2016 at 6:42:26 AM UTC-4, Hi-Impact Studio wrote:

Alvin Das

unread,
Oct 2, 2018, 4:47:20 PM10/2/18
to Bots Open Source EDI Translator
Hi Guys,

I just started with Bots EDI and got stuck here also. Appreciate if anyone can help me move past this:
  • Error reading plugin: "Error in plugin. Nothing is written. Error: ZipImportError: can't find module 'botsindex' ".
Windows 8
Python 2.7.13
Bots     3.2.0
Django 1.6.2
plugin: my_first_plugin_20141204.zip

Thank you,

Alvin Das

Eppye Bots

unread,
Oct 2, 2018, 4:53:04 PM10/2/18
to 'Chuck Turco' via Bots Open Source EDI Translator
I just checked.
it does work.

note:
- save the zip file as is.
- read the zip file itself in in bots GUI

(do not unzip or something like that)

kind regards, Henk-Jan Ebbers


--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/botsmail.
Reply all
Reply to author
Forward
0 new messages