Quantcast Error: IndexedDictionary.lua:1: '=' expected near '' - LoTROInterface
VGInterface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 07-27-2014, 11:36 PM
Stever1388 Stever1388 is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Nov 2010
Posts: 30
Error: IndexedDictionary.lua:1: '=' expected near ''

I'm trying to update the Travel plugin to include the new maps, but whenever I change the IndexDictionary file, I get this error:

Code:
IndexedDictionary.lua:1: '=' expected near ''
It's odd because even if the only thing I change is adding a comment to the top of the file, I still get this error. Not really sure what is going on but it would be nice to see the new maps placed into the Travel plugin.
Reply With Quote
  #2  
Unread 07-28-2014, 12:08 AM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 243
Sounds like the file has special characters (non-ascii) and you aren't saving the file with UTF-8 encoding.
Reply With Quote
  #3  
Unread 07-28-2014, 07:09 AM
Equendil Equendil is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2011
Posts: 52
You need to use a text editor that can save files using the UTF-8 character encoding without adding a 'byte order mark' in the file, otherwise the lua interpreter thinks the mark is code and fails.

Most devs use Notepad++ (Windows...). Use "UTF-8 without BOM" as encoding. http://notepad-plus-plus.org/
__________________
Author of LIP, Bootstrap and Baruk

Last edited by Equendil : 07-28-2014 at 07:12 AM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error log? Elenil Interface Help (L) 5 02-10-2012 08:55 PM
ChalyInv error vedwed Interface Help (L) 0 11-15-2011 11:21 AM
Help with SortPack Options... get an error?? Bzufa Interface Help (L) 14 06-08-2011 11:11 AM
Loading creates Error Heta Lua Programming Help (L) 0 11-13-2010 09:38 AM
SVN error The Old One Site help, bugs, suggestions/questions 5 09-28-2010 03:46 PM


All times are GMT -5. The time now is 05:48 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui